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.001327/0.001327, allocations: 108.3 kB / 16.41 MB, free: 6.492 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.001207/0.001207, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.317/1.317, 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.002267/0.002267, allocations: 294.6 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9437/0.9437, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 88.14 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4141, allocations: 86.99 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01952/0.4336, allocations: 16.68 MB / 0.7834 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01102/0.4447, allocations: 6.27 MB / 0.7895 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.4466, allocations: 51.81 kB / 0.7895 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003664/0.4503, allocations: 1.301 MB / 0.7908 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002572/0.4529, allocations: 0.848 MB / 0.7916 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004007/0.4569, allocations: 1.551 MB / 0.7931 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004181/0.4611, allocations: 3.843 MB / 0.7969 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005715/0.4668, allocations: 4.964 MB / 0.8017 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002387/0.4692, allocations: 1.664 MB / 0.8034 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003102/0.4723, allocations: 1.983 MB / 0.8053 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008688/0.4732, allocations: 384 kB / 0.8057 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.4751, allocations: 0.8231 MB / 0.8065 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001907/0.4771, allocations: 1.497 MB / 0.8079 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002629/0.4797, allocations: 1.529 MB / 0.8094 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006061/0.4858, allocations: 5.538 MB / 0.8148 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4858, allocations: 0 / 0.8148 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4858, allocations: 3.938 kB / 0.8148 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000153/0.486, allocations: 0 / 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.006111/0.4921, allocations: 2.726 MB / 0.8175 GB, free: 28 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4922, allocations: 8.031 kB / 0.8175 GB, free: 20 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003836/0.496, allocations: 0.7666 MB / 0.8183 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.4983, allocations: 1.438 MB / 0.8197 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.4984, allocations: 197.5 kB / 0.8198 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003967/0.4988, allocations: 252.4 kB / 0.8201 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006843/0.5057, allocations: 4.58 MB / 0.8246 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.728e-05/0.5057, allocations: 7.938 kB / 0.8246 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002949/0.506, allocations: 119.8 kB / 0.8247 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/0.5062, allocations: 184.2 kB / 0.8249 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005647/0.5119, allocations: 3.828 MB / 0.8286 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02028/0.5322, allocations: 21.26 MB / 0.8494 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00239/0.5346, allocations: 2.259 MB / 0.8516 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009854/0.5356, allocations: 0.7292 MB / 0.8523 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.5357, allocations: 4 kB / 0.8523 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.5357, allocations: 58.48 kB / 0.8523 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=62): time 2.624e-06/0.5357, allocations: 0 / 0.8523 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.005369/0.5411, allocations: 4.188 MB / 0.8564 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.5412, allocations: 251.3 kB / 0.8567 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.5426, allocations: 1.104 MB / 0.8577 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.5427, allocations: 41.7 kB / 0.8578 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007395/0.5434, allocations: 1.183 MB / 0.8589 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.5436, allocations: 256.6 kB / 0.8592 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004527/0.5441, allocations: 331 kB / 0.8595 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5442, allocations: 349.9 kB / 0.8598 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009731/0.5452, allocations: 0.7113 MB / 0.8605 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.5466, allocations: 1.407 MB / 0.8619 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00242/0.549, allocations: 2.159 MB / 0.864 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.5491, allocations: 8 kB / 0.864 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00306/0.5521, allocations: 2.184 MB / 0.8662 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.5522, allocations: 15.94 kB / 0.8662 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/0.5522, allocations: 27.98 kB / 0.8662 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.836e-05/0.5522, allocations: 36 kB / 0.8662 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.5537, allocations: 431.2 kB / 0.8666 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.925e-05/0.5537, allocations: 47.8 kB / 0.8667 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.5549, allocations: 199.5 kB / 0.8669 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.5551, allocations: 83.97 kB / 0.867 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002073/0.5571, allocations: 1.542 MB / 0.8685 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001225/0.5584, allocations: 1.322 MB / 0.8698 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002024/0.5604, allocations: 1.976 MB / 0.8717 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.066e-05/0.5604, allocations: 8 kB / 0.8717 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.002706/0.5631, allocations: 1.983 MB / 0.8736 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.5632, allocations: 16 kB / 0.8736 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.5632, allocations: 28 kB / 0.8737 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.5632, allocations: 43.92 kB / 0.8737 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.5645, allocations: 391.9 kB / 0.8741 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-05/0.5645, allocations: 51.78 kB / 0.8741 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.5656, allocations: 151.5 kB / 0.8743 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/0.5657, allocations: 83.98 kB / 0.8744 GB, free: 1.754 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.0003377/0.566, allocations: 287.6 kB / 0.8746 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.5663, allocations: 110.6 kB / 0.8747 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.5679, allocations: 1.092 MB / 0.8758 GB, free: 264 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.5679, allocations: 16 kB / 0.8758 GB, free: 248 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.5679, allocations: 0 / 0.8758 GB, free: 248 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.5679, allocations: 7.984 kB / 0.8758 GB, free: 240 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/0.5797, allocations: 10.18 MB / 0.8858 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.5798, allocations: 16 kB / 0.8858 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006411/0.5804, allocations: 187.7 kB / 0.886 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.05e-05/0.5805, allocations: 20 kB / 0.886 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.413e-05/0.5805, allocations: 28 kB / 0.886 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.496e-05/0.5806, allocations: 31.86 kB / 0.886 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.689e-05/0.5806, allocations: 28.34 kB / 0.8861 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.5825, allocations: 2.174 MB / 0.8882 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.583, allocations: 327.5 kB / 0.8885 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.5831, allocations: 35.98 kB / 0.8885 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009269/0.5841, allocations: 95.88 kB / 0.8886 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.5842, allocations: 99.55 kB / 0.8887 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/0.5843, allocations: 36 kB / 0.8888 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009361/0.5852, allocations: 0.7737 MB / 0.8895 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5852, allocations: 0 / 0.8895 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002632/0.5878, allocations: 0.7265 MB / 0.8902 GB, free: 0.9844 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.0002064/0.5881, allocations: 150.9 kB / 0.8904 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003248/0.5913, allocations: 2.511 MB / 0.8928 GB, free: 14.32 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.5913, allocations: 4 kB / 0.8928 GB, free: 14.32 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006826/0.592, allocations: 0.5732 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.001959/0.594, allocations: 265.3 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.006601/0.6006, allocations: 4.81 MB / 0.8983 GB, free: 8.453 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/0.6024, allocations: 2.07 MB / 0.9004 GB, free: 6.348 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/0.6029, allocations: 103.4 kB / 0.9005 GB, free: 6.246 MB / 0.67 GB Notification: Performance of SimCode: time 9.21e-07/0.6029, allocations: 0 / 0.9005 GB, free: 6.246 MB / 0.67 GB Notification: Performance of Templates: time 0.03067/0.6335, allocations: 25.23 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)