Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.562/2.562, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 184.3 kB / 360.7 MB, free: 7.219 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.062, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001037, allocations: 98.22 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.779e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8214/0.8214, allocations: 115.2 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2664/1.088, allocations: 153.4 MB / 1.113 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/1.088, allocations: 87.94 kB / 1.113 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.08303/1.171, allocations: 20.29 MB / 1.133 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/1.171, allocations: 0 / 1.133 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.137e-05/1.171, allocations: 11.98 kB / 1.133 GB, free: 14.6 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001378/1.173, allocations: 0.6424 MB / 1.134 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/1.173, allocations: 9.906 kB / 1.134 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/1.174, allocations: 132.5 kB / 1.134 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009626/1.175, allocations: 382.6 kB / 1.134 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/1.175, allocations: 12 kB / 1.134 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/1.175, allocations: 16 kB / 1.134 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000832/1.176, allocations: 281.5 kB / 1.135 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/1.177, allocations: 0.5365 MB / 1.135 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/1.177, allocations: 3.938 kB / 1.135 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-05/1.177, allocations: 10.25 kB / 1.135 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-05/1.177, allocations: 32.53 kB / 1.135 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004322/1.182, allocations: 3.282 MB / 1.138 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008941/1.183, allocations: 294.8 kB / 1.139 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/1.183, allocations: 156.8 kB / 1.139 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/1.183, allocations: 11.92 kB / 1.139 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/1.183, allocations: 38.52 kB / 1.139 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 3.036e-06/1.183, allocations: 7.938 kB / 1.139 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.00173/1.185, allocations: 0.5611 MB / 1.139 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/1.185, allocations: 55.64 kB / 1.139 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/1.185, allocations: 250.3 kB / 1.14 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/1.185, allocations: 25.7 kB / 1.14 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/1.186, allocations: 239.8 kB / 1.14 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/1.186, allocations: 98.59 kB / 1.14 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/1.186, allocations: 4 kB / 1.14 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001576/1.186, allocations: 350.8 kB / 1.14 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/1.186, allocations: 120.7 kB / 1.14 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/1.187, allocations: 244.5 kB / 1.141 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/1.187, allocations: 162.6 kB / 1.141 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.187, allocations: 4 kB / 1.141 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001251/1.188, allocations: 471.6 kB / 1.141 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/1.188, allocations: 7.953 kB / 1.141 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.188, allocations: 4 kB / 1.141 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004652/1.189, allocations: 91.05 kB / 1.141 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/1.19, allocations: 87.81 kB / 1.141 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/1.19, allocations: 4 kB / 1.141 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004461/1.19, allocations: 23.97 kB / 1.141 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/1.19, allocations: 16 kB / 1.142 GB, free: 5.43 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000143/1.19, allocations: 124.9 kB / 1.142 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.68e-05/1.19, allocations: 43.52 kB / 1.142 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/1.192, allocations: 408.2 kB / 1.142 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.192, allocations: 4 kB / 1.142 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.192, allocations: 0 / 1.142 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/1.192, allocations: 3.984 kB / 1.142 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/1.194, allocations: 0.8711 MB / 1.143 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.194, allocations: 9.641 kB / 1.143 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004691/1.194, allocations: 47.95 kB / 1.143 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004153/1.195, allocations: 86.55 kB / 1.143 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/1.195, allocations: 0 / 1.143 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/1.195, allocations: 0 / 1.143 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.195, allocations: 4 kB / 1.143 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/1.196, allocations: 0.5207 MB / 1.144 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/1.196, allocations: 140.5 kB / 1.144 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/1.196, allocations: 7.938 kB / 1.144 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/1.197, allocations: 21.47 kB / 1.144 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/1.197, allocations: 23.97 kB / 1.144 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/1.197, allocations: 12 kB / 1.144 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002702/1.197, allocations: 188.6 kB / 1.144 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.71e-07/1.197, allocations: 0 / 1.144 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006386/1.198, allocations: 87.98 kB / 1.144 GB, free: 2.688 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001781/1.198, allocations: 105.2 kB / 1.144 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001052/1.199, allocations: 0.5718 MB / 1.145 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.199, allocations: 0 / 1.145 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005684/1.199, allocations: 413.6 kB / 1.145 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009789/1.2, allocations: 111.3 kB / 1.145 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/1.202, allocations: 0.4984 MB / 1.146 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/1.202, allocations: 0.8356 MB / 1.146 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004773/1.203, allocations: 75.22 kB / 1.147 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/1.203, allocations: 27.44 kB / 1.147 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of SimCode: time 1.132e-06/1.203, allocations: 2.906 kB / 1.147 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of Templates: time 0.01358/1.217, allocations: 3.999 MB / 1.15 GB, free: 12.01 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)