Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.57/1.57, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009898/0.0009897, allocations: 179.4 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.2 MB / 0.6626 GB, free: 4.348 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007745/0.0007746, allocations: 94.12 kB / 0.7808 GB, free: 50.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004012, allocations: 21.64 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5681/0.5685, allocations: 120.3 MB / 1.026 GB, free: 55.91 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.75, allocations: 171.1 MB / 1.193 GB, free: 6.676 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.7503, allocations: 96.59 kB / 1.193 GB, free: 6.582 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.2043/0.9546, allocations: 92.09 MB / 1.283 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9547, allocations: 3.938 kB / 1.283 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001294/0.9548, allocations: 55.98 kB / 1.283 GB, free: 10.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004723/0.9595, allocations: 2.215 MB / 1.286 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.9596, allocations: 11.97 kB / 1.286 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00365/0.9632, allocations: 0.755 MB / 1.286 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.9658, allocations: 1.564 MB / 1.288 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.9659, allocations: 177.1 kB / 1.288 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003435/0.9662, allocations: 236.3 kB / 1.288 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006031/0.9723, allocations: 3.888 MB / 1.292 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-05/0.9724, allocations: 8.125 kB / 1.292 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.9726, allocations: 111.9 kB / 1.292 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/0.9728, allocations: 156.5 kB / 1.292 GB, free: 0.6953 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004865/0.9777, allocations: 3.259 MB / 1.296 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01549/0.9932, allocations: 16.5 MB / 1.312 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.9961, allocations: 2.146 MB / 1.314 GB, free: 9.203 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008113/0.9969, allocations: 0.6144 MB / 1.314 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.9971, allocations: 89.66 kB / 1.314 GB, free: 8.473 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.9971, allocations: 47.06 kB / 1.314 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.9971, allocations: 0 / 1.314 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.004928/1.002, allocations: 3.444 MB / 1.318 GB, free: 4.867 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/1.002, allocations: 111.5 kB / 1.318 GB, free: 4.734 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/1.003, allocations: 1.01 MB / 1.319 GB, free: 3.699 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/1.003, allocations: 41.7 kB / 1.319 GB, free: 3.652 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005703/1.004, allocations: 1.095 MB / 1.32 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/1.004, allocations: 272.1 kB / 1.32 GB, free: 2.27 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/1.004, allocations: 28 kB / 1.32 GB, free: 2.242 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.004, allocations: 414.7 kB / 1.321 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008312/1.005, allocations: 0.6089 MB / 1.321 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/1.006, allocations: 1.157 MB / 1.322 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/1.008, allocations: 1.837 MB / 1.324 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/1.008, allocations: 8 kB / 1.324 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00278/1.011, allocations: 1.991 MB / 1.326 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.011, allocations: 15.98 kB / 1.326 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/1.011, allocations: 20 kB / 1.326 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/1.012, allocations: 159.8 kB / 1.326 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/1.013, allocations: 339.4 kB / 1.327 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.032e-05/1.013, allocations: 39.86 kB / 1.327 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008771/1.014, allocations: 135.7 kB / 1.327 GB, free: 11 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.16e-05/1.014, allocations: 69.62 kB / 1.327 GB, free: 10.93 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001376/1.015, allocations: 0.9732 MB / 1.328 GB, free: 9.945 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/1.015, allocations: 106.7 kB / 1.328 GB, free: 9.84 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/1.017, allocations: 1.245 MB / 1.329 GB, free: 8.574 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/1.017, allocations: 11.94 kB / 1.329 GB, free: 8.562 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.017, allocations: 4 kB / 1.329 GB, free: 8.559 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/1.017, allocations: 3.984 kB / 1.329 GB, free: 8.555 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005253/1.022, allocations: 3.819 MB / 1.333 GB, free: 4.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.022, allocations: 4 kB / 1.333 GB, free: 4.586 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/1.023, allocations: 155.8 kB / 1.333 GB, free: 4.434 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003194/1.023, allocations: 139.3 kB / 1.333 GB, free: 4.285 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/1.023, allocations: 12 kB / 1.333 GB, free: 4.273 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.537e-06/1.023, allocations: 11.94 kB / 1.333 GB, free: 4.262 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.023, allocations: 10.06 kB / 1.333 GB, free: 4.254 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/1.025, allocations: 1.472 MB / 1.335 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/1.026, allocations: 291.7 kB / 1.335 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/1.026, allocations: 16 kB / 1.335 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005467/1.026, allocations: 75.83 kB / 1.335 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/1.026, allocations: 64.42 kB / 1.335 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/1.026, allocations: 20 kB / 1.335 GB, free: 2.25 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000815/1.027, allocations: 0.6914 MB / 1.336 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/1.027, allocations: 0 / 1.336 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001296/1.029, allocations: 412.1 kB / 1.336 GB, free: 1.145 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(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.0001974/1.029, allocations: 127.1 kB / 1.336 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002091/1.031, allocations: 1.707 MB / 1.338 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.031, allocations: 4 kB / 1.338 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008606/1.032, allocations: 0.8619 MB / 1.339 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/1.033, allocations: 246.2 kB / 1.339 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006034/1.039, allocations: 4.626 MB / 1.344 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/1.041, allocations: 1.916 MB / 1.345 GB, free: 7.387 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001179/1.042, allocations: 435.6 kB / 1.346 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/1.042, allocations: 83.42 kB / 1.346 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/1.042, allocations: 0 / 1.346 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of Templates: time 0.02214/1.065, allocations: 12.77 MB / 1.358 GB, free: 10.33 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)