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.001443/0.001443, allocations: 105 kB / 16.41 MB, free: 6.465 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.00163/0.00163, allocations: 187 kB / 17.34 MB, free: 5.719 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002207/0.002207, allocations: 286.7 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 1.013/1.013, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003285/0.003285, allocations: 99.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.436, allocations: 86.97 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02078/0.4569, allocations: 16.7 MB / 0.7833 GB, free: 3.164 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01081/0.4677, allocations: 6.266 MB / 0.7895 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.4695, allocations: 55.81 kB / 0.7895 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003863/0.4734, allocations: 1.294 MB / 0.7908 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.4759, allocations: 0.844 MB / 0.7916 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004133/0.48, allocations: 1.546 MB / 0.7931 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005015/0.485, allocations: 3.847 MB / 0.7969 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007262/0.4923, allocations: 4.96 MB / 0.8017 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.4953, allocations: 1.66 MB / 0.8033 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00379/0.4991, allocations: 1.99 MB / 0.8053 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001282/0.5004, allocations: 380 kB / 0.8056 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/0.5033, allocations: 0.8231 MB / 0.8064 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002692/0.506, allocations: 1.489 MB / 0.8079 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00293/0.509, allocations: 1.533 MB / 0.8094 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005975/0.515, allocations: 5.534 MB / 0.8148 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.515, allocations: 0 / 0.8148 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/0.515, allocations: 3.938 kB / 0.8148 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001146/0.5151, allocations: 4 kB / 0.8148 GB, free: 2.812 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.005624/0.5208, allocations: 2.725 MB / 0.8175 GB, free: 32 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.5208, allocations: 12.03 kB / 0.8175 GB, free: 20 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003789/0.5246, allocations: 0.7745 MB / 0.8182 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/0.527, allocations: 1.438 MB / 0.8196 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.5271, allocations: 193.5 kB / 0.8198 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004218/0.5276, allocations: 252.4 kB / 0.8201 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007476/0.535, allocations: 4.588 MB / 0.8246 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/0.5351, allocations: 11.94 kB / 0.8246 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003159/0.5355, allocations: 107.9 kB / 0.8247 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002218/0.5357, allocations: 180.3 kB / 0.8248 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006505/0.5422, allocations: 3.829 MB / 0.8286 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02342/0.5656, allocations: 21.27 MB / 0.8493 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.5682, allocations: 2.258 MB / 0.8516 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009507/0.5692, allocations: 0.7253 MB / 0.8523 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.5692, allocations: 19.92 kB / 0.8523 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.5693, allocations: 46.5 kB / 0.8523 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=62): time 2.635e-06/0.5693, allocations: 0 / 0.8523 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.00548/0.5748, allocations: 4.195 MB / 0.8564 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.5749, allocations: 243.3 kB / 0.8567 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.5763, allocations: 1.112 MB / 0.8577 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.5764, allocations: 37.7 kB / 0.8578 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006839/0.5771, allocations: 1.187 MB / 0.8589 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.5773, allocations: 257.1 kB / 0.8592 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004317/0.5777, allocations: 331.1 kB / 0.8595 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5779, allocations: 345.9 kB / 0.8598 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009798/0.5789, allocations: 0.7113 MB / 0.8605 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/0.5803, allocations: 1.407 MB / 0.8619 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002364/0.5827, allocations: 2.159 MB / 0.864 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.5827, allocations: 8 kB / 0.864 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003035/0.5857, allocations: 2.183 MB / 0.8661 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.5858, allocations: 19.94 kB / 0.8662 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/0.5858, allocations: 24 kB / 0.8662 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.263e-05/0.5858, allocations: 32 kB / 0.8662 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.5873, allocations: 427.2 kB / 0.8666 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-05/0.5873, allocations: 55.78 kB / 0.8667 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.5885, allocations: 191.8 kB / 0.8669 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.5887, allocations: 87.97 kB / 0.8669 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002248/0.5909, allocations: 1.542 MB / 0.8684 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001306/0.5922, allocations: 1.322 MB / 0.8697 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002201/0.5945, allocations: 1.98 MB / 0.8717 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.157e-06/0.5945, allocations: 4 kB / 0.8717 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.002737/0.5972, allocations: 1.979 MB / 0.8736 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.5972, allocations: 16 kB / 0.8736 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.5973, allocations: 28.91 kB / 0.8737 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/0.5973, allocations: 35.94 kB / 0.8737 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.5985, allocations: 391.3 kB / 0.8741 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.075e-05/0.5985, allocations: 55.78 kB / 0.8741 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.5996, allocations: 147.5 kB / 0.8743 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.5997, allocations: 83.98 kB / 0.8743 GB, free: 1.758 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.0003778/0.6001, allocations: 283.6 kB / 0.8746 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/0.6004, allocations: 110.6 kB / 0.8747 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.602, allocations: 1.1 MB / 0.8758 GB, free: 264 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.602, allocations: 8.281 kB / 0.8758 GB, free: 256 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.602, allocations: 7.984 kB / 0.8758 GB, free: 248 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.6021, allocations: 3.984 kB / 0.8758 GB, free: 244 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.6145, allocations: 10.18 MB / 0.8857 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/0.6146, allocations: 16 kB / 0.8858 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006553/0.6152, allocations: 187.7 kB / 0.8859 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-05/0.6153, allocations: 20.75 kB / 0.886 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.339e-05/0.6153, allocations: 36 kB / 0.886 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-05/0.6154, allocations: 35.86 kB / 0.886 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.982e-05/0.6154, allocations: 23.88 kB / 0.8861 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.6176, allocations: 2.169 MB / 0.8882 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005191/0.6181, allocations: 331.5 kB / 0.8885 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.6183, allocations: 31.98 kB / 0.8885 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009474/0.6192, allocations: 99.86 kB / 0.8886 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.6194, allocations: 99.5 kB / 0.8887 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.6195, allocations: 40 kB / 0.8887 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001008/0.6205, allocations: 0.7697 MB / 0.8895 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6205, allocations: 0 / 0.8895 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003146/0.6236, allocations: 0.7227 MB / 0.8902 GB, free: 0.9883 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.0002686/0.6239, allocations: 158.9 kB / 0.8904 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00375/0.6277, allocations: 2.515 MB / 0.8928 GB, free: 14.32 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/0.6277, allocations: 4 kB / 0.8928 GB, free: 14.31 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007741/0.6285, allocations: 0.5693 MB / 0.8934 GB, free: 13.75 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.6306, allocations: 258.5 kB / 0.8936 GB, free: 13.51 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007813/0.6384, allocations: 4.806 MB / 0.8983 GB, free: 8.453 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002156/0.6406, allocations: 2.067 MB / 0.9003 GB, free: 6.352 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/0.6411, allocations: 99.41 kB / 0.9004 GB, free: 6.254 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/0.6411, allocations: 0 / 0.9004 GB, free: 6.254 MB / 0.67 GB Notification: Performance of Templates: time 0.03824/0.6794, allocations: 25.24 MB / 0.9251 GB, free: 13.12 MB / 0.7012 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)