Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.001341, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.00152/0.00152, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.384/1.384, allocations: 222.9 MB / 241.1 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.00225/0.002249, allocations: 301 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9554/0.9554, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 95.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4252, allocations: 86.98 MB / 0.7671 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01987/0.4451, allocations: 16.69 MB / 0.7834 GB, free: 3.391 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.4557, allocations: 6.27 MB / 0.7895 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.4578, allocations: 55.81 kB / 0.7895 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004042/0.4618, allocations: 1.302 MB / 0.7908 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.4645, allocations: 0.8441 MB / 0.7916 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004012/0.4685, allocations: 1.547 MB / 0.7931 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00454/0.4731, allocations: 3.851 MB / 0.7969 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006607/0.4797, allocations: 4.964 MB / 0.8017 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.4826, allocations: 1.656 MB / 0.8034 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003484/0.4861, allocations: 1.994 MB / 0.8053 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001111/0.4873, allocations: 380 kB / 0.8057 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.4895, allocations: 0.8153 MB / 0.8065 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002158/0.4916, allocations: 1.497 MB / 0.8079 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002912/0.4946, allocations: 1.529 MB / 0.8094 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005779/0.5004, allocations: 5.542 MB / 0.8148 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5004, allocations: 0 / 0.8148 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5004, allocations: 0 / 0.8148 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001461/0.5005, allocations: 4 kB / 0.8148 GB, free: 3.016 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006776/0.5073, allocations: 2.722 MB / 0.8175 GB, free: 240 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5074, allocations: 12.02 kB / 0.8175 GB, free: 228 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004215/0.5116, allocations: 0.7744 MB / 0.8183 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/0.5149, allocations: 1.438 MB / 0.8197 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.5151, allocations: 193.5 kB / 0.8199 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006669/0.5158, allocations: 252.4 kB / 0.8201 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008619/0.5244, allocations: 4.588 MB / 0.8246 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.021e-05/0.5245, allocations: 7.938 kB / 0.8246 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005456/0.5251, allocations: 112 kB / 0.8247 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002316/0.5253, allocations: 176.3 kB / 0.8249 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006782/0.5321, allocations: 3.831 MB / 0.8286 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0248/0.557, allocations: 21.27 MB / 0.8494 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/0.5597, allocations: 2.252 MB / 0.8516 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.5608, allocations: 0.7273 MB / 0.8523 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.219e-05/0.5609, allocations: 19.92 kB / 0.8523 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.561, allocations: 42.56 kB / 0.8523 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=62): time 3.657e-06/0.561, allocations: 0 / 0.8523 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.00652/0.5675, allocations: 4.199 MB / 0.8564 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.5676, allocations: 239.3 kB / 0.8567 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.5692, allocations: 1.112 MB / 0.8578 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.152e-05/0.5693, allocations: 38.7 kB / 0.8578 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008572/0.5701, allocations: 1.191 MB / 0.859 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.5704, allocations: 256.6 kB / 0.8592 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005131/0.5709, allocations: 331 kB / 0.8595 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5711, allocations: 345.9 kB / 0.8598 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009997/0.5721, allocations: 0.7074 MB / 0.8605 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.5735, allocations: 1.403 MB / 0.8619 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/0.576, allocations: 2.163 MB / 0.864 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/0.576, allocations: 11.94 kB / 0.864 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003223/0.5792, allocations: 2.18 MB / 0.8662 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.5793, allocations: 16 kB / 0.8662 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.2e-05/0.5793, allocations: 27.94 kB / 0.8662 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.521e-05/0.5794, allocations: 32 kB / 0.8662 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.5809, allocations: 435.9 kB / 0.8666 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.814e-05/0.5809, allocations: 47.86 kB / 0.8667 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.5823, allocations: 195.3 kB / 0.8669 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.5824, allocations: 87.97 kB / 0.867 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002117/0.5846, allocations: 1.55 MB / 0.8685 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001316/0.5859, allocations: 1.325 MB / 0.8698 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002074/0.588, allocations: 1.972 MB / 0.8717 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-05/0.588, allocations: 8 kB / 0.8717 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.00297/0.591, allocations: 1.98 MB / 0.8736 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.591, allocations: 16 kB / 0.8737 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.966e-05/0.5911, allocations: 32.09 kB / 0.8737 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.022e-05/0.5911, allocations: 35.94 kB / 0.8737 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.5924, allocations: 391.3 kB / 0.8741 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-05/0.5925, allocations: 51.8 kB / 0.8741 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.5938, allocations: 151.5 kB / 0.8743 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.594, allocations: 83.98 kB / 0.8744 GB, free: 1.953 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.000453/0.5944, allocations: 279.6 kB / 0.8746 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/0.5948, allocations: 110.7 kB / 0.8747 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.5965, allocations: 1.096 MB / 0.8758 GB, free: 468 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.5965, allocations: 3.984 kB / 0.8758 GB, free: 464 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5965, allocations: 4 kB / 0.8758 GB, free: 460 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006223/0.5972, allocations: 303.6 kB / 0.8761 GB, free: 136 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.5974, allocations: 12 kB / 0.8761 GB, free: 124 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.5986, allocations: 163.7 kB / 0.8763 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.5987, allocations: 55.81 kB / 0.8763 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001977/0.6007, allocations: 1.733 MB / 0.878 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001737/0.6025, allocations: 1.81 MB / 0.8798 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005869/0.6031, allocations: 0.4985 MB / 0.8803 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001171/0.6043, allocations: 0.7659 MB / 0.881 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of Backend: time 2.134e-06/0.6043, allocations: 7.938 kB / 0.881 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005248/0.6095, allocations: 2.329 MB / 0.8833 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of SimCode: time 0.007955/0.6175, allocations: 4.059 MB / 0.8873 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of Templates: time 0.03938/0.6569, allocations: 24.12 MB / 0.9108 GB, free: 12.66 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)