Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001227, allocations: 104 kB / 16.41 MB, free: 6.504 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.001211/0.001211, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0022/0.0022, allocations: 288 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.96/0.96, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 95.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4427, allocations: 86.97 MB / 0.767 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03954/0.4822, allocations: 37.27 MB / 0.8034 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02277/0.505, allocations: 13.53 MB / 0.8167 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00425/0.5094, allocations: 107.7 kB / 0.8168 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006668/0.5161, allocations: 2.282 MB / 0.819 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004562/0.5206, allocations: 1.404 MB / 0.8204 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009565/0.5302, allocations: 3.525 MB / 0.8238 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009539/0.5398, allocations: 6.376 MB / 0.83 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01406/0.5539, allocations: 9.889 MB / 0.8397 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004587/0.5585, allocations: 2.766 MB / 0.8424 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005973/0.5645, allocations: 3.194 MB / 0.8455 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002116/0.5667, allocations: 0.625 MB / 0.8461 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00345/0.5701, allocations: 1.225 MB / 0.8473 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004043/0.5742, allocations: 2.476 MB / 0.8497 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005/0.5792, allocations: 2.556 MB / 0.8522 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.5902, allocations: 9.137 MB / 0.8612 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5902, allocations: 0 / 0.8612 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5902, allocations: 0 / 0.8612 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002995/0.5906, allocations: 3.938 kB / 0.8612 GB, free: 3.246 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.0112/0.6018, allocations: 4.306 MB / 0.8654 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.6018, allocations: 8.031 kB / 0.8654 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004216/0.606, allocations: 0.9403 MB / 0.8663 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003962/0.61, allocations: 2.226 MB / 0.8685 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002399/0.6103, allocations: 325 kB / 0.8688 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008895/0.6112, allocations: 436.2 kB / 0.8692 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.6242, allocations: 7.358 MB / 0.8764 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.025e-05/0.6244, allocations: 15.88 kB / 0.8764 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005132/0.6249, allocations: 188 kB / 0.8766 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003155/0.6252, allocations: 286.9 kB / 0.8768 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.6356, allocations: 5.952 MB / 0.8827 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03647/0.6721, allocations: 32.37 MB / 0.9143 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003253/0.6754, allocations: 2.107 MB / 0.9163 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.6769, allocations: 1.247 MB / 0.9175 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.6771, allocations: 98.08 kB / 0.9176 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.6772, allocations: 43.56 kB / 0.9177 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 2.735e-06/0.6772, allocations: 0 / 0.9177 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of matching and sorting (n=101): time 0.0078/0.685, allocations: 5.234 MB / 0.9228 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.6851, allocations: 141.5 kB / 0.9229 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.6869, allocations: 1.453 MB / 0.9243 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.6871, allocations: 45.7 kB / 0.9244 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.6881, allocations: 1.867 MB / 0.9262 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003563/0.6885, allocations: 375.4 kB / 0.9266 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006145/0.6891, allocations: 463.1 kB / 0.927 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.6892, allocations: 309.1 kB / 0.9273 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.6907, allocations: 1.114 MB / 0.9284 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.693, allocations: 2.18 MB / 0.9305 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003754/0.6967, allocations: 3.395 MB / 0.9338 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/0.6968, allocations: 12 kB / 0.9338 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00474/0.7015, allocations: 3.312 MB / 0.9371 GB, free: 1.051 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.7016, allocations: 24.03 kB / 0.9371 GB, free: 1.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.642e-05/0.7016, allocations: 36 kB / 0.9371 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.994e-05/0.7017, allocations: 44 kB / 0.9372 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.7037, allocations: 0.6277 MB / 0.9378 GB, free: 328 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.308e-05/0.7038, allocations: 67.72 kB / 0.9379 GB, free: 260 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.7056, allocations: 306.7 kB / 0.9382 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.7057, allocations: 116 kB / 0.9383 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003341/0.7091, allocations: 2.409 MB / 0.9406 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001989/0.7111, allocations: 2.011 MB / 0.9426 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003239/0.7143, allocations: 3.033 MB / 0.9455 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.462e-05/0.7144, allocations: 12 kB / 0.9456 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004142/0.7185, allocations: 2.925 MB / 0.9484 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.7186, allocations: 20 kB / 0.9484 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/0.7186, allocations: 36.06 kB / 0.9485 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.893e-05/0.7186, allocations: 52 kB / 0.9485 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.7203, allocations: 0.5498 MB / 0.949 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-05/0.7204, allocations: 75.66 kB / 0.9491 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.7221, allocations: 247.3 kB / 0.9494 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.7222, allocations: 112 kB / 0.9495 GB, free: 3.324 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005149/0.7227, allocations: 335.3 kB / 0.9498 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/0.7231, allocations: 162.1 kB / 0.9499 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003223/0.7263, allocations: 2.219 MB / 0.9521 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.7263, allocations: 19.92 kB / 0.9521 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.7263, allocations: 4 kB / 0.9521 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.7263, allocations: 7.984 kB / 0.9521 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.7403, allocations: 10.97 MB / 0.9628 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.7404, allocations: 12 kB / 0.9629 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/0.7418, allocations: 391.3 kB / 0.9632 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.847e-05/0.7418, allocations: 16 kB / 0.9632 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-05/0.7419, allocations: 32 kB / 0.9633 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-05/0.742, allocations: 23.92 kB / 0.9633 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/0.742, allocations: 15.94 kB / 0.9633 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003169/0.7451, allocations: 2.755 MB / 0.966 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006991/0.7459, allocations: 450.8 kB / 0.9664 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.7461, allocations: 39.89 kB / 0.9665 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.7472, allocations: 167.7 kB / 0.9666 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.7474, allocations: 100.1 kB / 0.9667 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/0.7475, allocations: 44 kB / 0.9668 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001258/0.7487, allocations: 0.9742 MB / 0.9677 GB, free: 172 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7487, allocations: 4 kB / 0.9677 GB, free: 168 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.3577/1.106, allocations: 1.126 MB / 0.9688 GB, free: 184 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003174/1.107, allocations: 145.8 kB / 0.969 GB, free: 183.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00622/1.113, allocations: 4.01 MB / 0.9729 GB, free: 183.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/1.113, allocations: 1.969 kB / 0.9729 GB, free: 183.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001556/1.115, allocations: 1.061 MB / 0.9739 GB, free: 182.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/1.117, allocations: 441.8 kB / 0.9743 GB, free: 182.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/1.128, allocations: 7.64 MB / 0.9818 GB, free: 179.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002375/1.13, allocations: 2.946 MB / 0.9847 GB, free: 178 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006831/1.131, allocations: 136 kB / 0.9848 GB, free: 178 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/1.131, allocations: 0 / 0.9848 GB, free: 178 MB / 0.7325 GB Notification: Performance of Templates: time 0.04736/1.178, allocations: 40.92 MB / 1.025 GB, free: 143 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)