Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 109.2 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 187.4 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 279 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9654/0.9654, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 91.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4483, allocations: 86.98 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02105/0.4694, allocations: 15.99 MB / 0.7827 GB, free: 3.848 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009414/0.4789, allocations: 4.82 MB / 0.7874 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.4807, allocations: 71.62 kB / 0.7874 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003287/0.484, allocations: 1.038 MB / 0.7885 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.4866, allocations: 0.7815 MB / 0.7892 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002785/0.4894, allocations: 0.9221 MB / 0.7901 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004485/0.4939, allocations: 3.626 MB / 0.7937 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005747/0.4997, allocations: 4.761 MB / 0.7983 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/0.5025, allocations: 1.597 MB / 0.7999 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002549/0.5051, allocations: 1.784 MB / 0.8016 GB, free: 344 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005078/0.5056, allocations: 344 kB / 0.8019 GB, free: 0 / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.5071, allocations: 0.7919 MB / 0.8027 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.5084, allocations: 1.333 MB / 0.804 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001769/0.5102, allocations: 1.451 MB / 0.8054 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005544/0.5157, allocations: 5.129 MB / 0.8104 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.5158, allocations: 0 / 0.8104 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5158, allocations: 0 / 0.8104 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001363/0.5159, allocations: 0 / 0.8104 GB, free: 7.273 MB / 0.5762 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.005853/0.5218, allocations: 2.654 MB / 0.813 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.5218, allocations: 8.031 kB / 0.813 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004207/0.5261, allocations: 0.8368 MB / 0.8139 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/0.5294, allocations: 1.568 MB / 0.8154 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.5296, allocations: 181.1 kB / 0.8156 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006527/0.5302, allocations: 232.4 kB / 0.8158 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008128/0.5384, allocations: 4.161 MB / 0.8198 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.518e-05/0.5385, allocations: 7.938 kB / 0.8199 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/0.5387, allocations: 99.98 kB / 0.82 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/0.5389, allocations: 164.5 kB / 0.8201 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005872/0.5448, allocations: 3.636 MB / 0.8237 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01925/0.5641, allocations: 16.43 MB / 0.8397 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/0.5677, allocations: 2.296 MB / 0.8419 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009649/0.5687, allocations: 0.5741 MB / 0.8425 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.5689, allocations: 97.66 kB / 0.8426 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.569, allocations: 39.12 kB / 0.8426 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=72): time 3.276e-06/0.569, allocations: 0 / 0.8426 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.006258/0.5752, allocations: 3.428 MB / 0.846 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.5753, allocations: 115.4 kB / 0.8461 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.5767, allocations: 1.018 MB / 0.8471 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.802e-05/0.5768, allocations: 41.7 kB / 0.8471 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007428/0.5775, allocations: 1.103 MB / 0.8482 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.5777, allocations: 272.3 kB / 0.8485 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003664/0.5781, allocations: 283.2 kB / 0.8487 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.5783, allocations: 414.7 kB / 0.8491 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008683/0.5792, allocations: 0.6128 MB / 0.8497 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.5804, allocations: 1.193 MB / 0.8509 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/0.5826, allocations: 1.856 MB / 0.8527 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.5826, allocations: 8 kB / 0.8527 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003098/0.5857, allocations: 2.015 MB / 0.8547 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.5858, allocations: 16 kB / 0.8547 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/0.5858, allocations: 19.94 kB / 0.8547 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004313/0.5862, allocations: 159.3 kB / 0.8549 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.5873, allocations: 351.8 kB / 0.8552 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.28e-05/0.5874, allocations: 39.86 kB / 0.8552 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009361/0.5883, allocations: 127.6 kB / 0.8554 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.5884, allocations: 75.92 kB / 0.8554 GB, free: 6.5 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001376/0.5898, allocations: 0.9756 MB / 0.8564 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.59, allocations: 110.7 kB / 0.8565 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.5921, allocations: 1.226 MB / 0.8577 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.5921, allocations: 16.02 kB / 0.8577 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.5921, allocations: 4 kB / 0.8577 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.5921, allocations: 3.984 kB / 0.8577 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005228/0.5973, allocations: 3.798 MB / 0.8614 GB, free: 200 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.5974, allocations: 4 kB / 0.8614 GB, free: 196 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005903/0.598, allocations: 155.8 kB / 0.8616 GB, free: 40 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003643/0.5984, allocations: 139.3 kB / 0.8617 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/0.5984, allocations: 16.25 kB / 0.8617 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.385e-06/0.5984, allocations: 15.88 kB / 0.8617 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5984, allocations: 4 kB / 0.8617 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.6003, allocations: 1.465 MB / 0.8632 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.6008, allocations: 271.8 kB / 0.8634 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.6009, allocations: 23.94 kB / 0.8635 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.6015, allocations: 59.91 kB / 0.8635 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.6017, allocations: 60.42 kB / 0.8636 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.6017, allocations: 23.98 kB / 0.8636 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008859/0.6026, allocations: 0.6991 MB / 0.8643 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6026, allocations: 0 / 0.8643 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001367/0.604, allocations: 388 kB / 0.8646 GB, free: 12.79 MB / 0.6387 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000233/0.6042, allocations: 131 kB / 0.8648 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002386/0.6066, allocations: 1.722 MB / 0.8665 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6066, allocations: 0 / 0.8665 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.6078, allocations: 0.86 MB / 0.8673 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.6095, allocations: 277.3 kB / 0.8676 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006696/0.6162, allocations: 4.133 MB / 0.8716 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001864/0.6181, allocations: 1.963 MB / 0.8735 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/0.6186, allocations: 103.4 kB / 0.8736 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of SimCode: time 1.212e-06/0.6186, allocations: 0 / 0.8736 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of Templates: time 0.07348/0.6921, allocations: 73.44 MB / 0.9453 GB, free: 9.887 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)