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.0009337/0.0009337, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001069/0.001069, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 274.5 kB / 291.4 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9691/0.9691, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004904, allocations: 18.12 kB / 0.598 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1944, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03672/0.2311, allocations: 33.88 MB / 0.7176 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.2536, allocations: 12.84 MB / 0.7301 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004454/0.2581, allocations: 99.62 kB / 0.7302 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.2604, allocations: 0.5816 MB / 0.7308 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004299/0.2647, allocations: 1.097 MB / 0.7319 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005967/0.2707, allocations: 1.508 MB / 0.7333 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009414/0.2801, allocations: 7.27 MB / 0.7404 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01603/0.2962, allocations: 10.06 MB / 0.7503 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003858/0.3001, allocations: 1.872 MB / 0.7521 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004495/0.3046, allocations: 2.64 MB / 0.7547 GB, free: 7.402 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000645/0.3052, allocations: 260 kB / 0.7549 GB, free: 7.148 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.3069, allocations: 0.5347 MB / 0.7554 GB, free: 6.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002018/0.3089, allocations: 1.988 MB / 0.7574 GB, free: 4.621 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.3101, allocations: 0.8161 MB / 0.7582 GB, free: 3.797 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.3336/0.6436, allocations: 7.65 MB / 0.7656 GB, free: 26.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.6437, allocations: 0 / 0.7656 GB, free: 26.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.965e-06/0.6437, allocations: 0 / 0.7656 GB, free: 26.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003268/0.644, allocations: 1.438 kB / 0.7656 GB, free: 26.77 MB / 0.545 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.009947/0.654, allocations: 3.441 MB / 0.769 GB, free: 25.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.654, allocations: 10.33 kB / 0.769 GB, free: 25.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005807/0.6598, allocations: 0.9443 MB / 0.7699 GB, free: 25.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006274/0.6661, allocations: 2.153 MB / 0.772 GB, free: 24.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003878/0.6665, allocations: 328.9 kB / 0.7724 GB, free: 24.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002244/0.6688, allocations: 427.1 kB / 0.7728 GB, free: 24.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02095/0.6898, allocations: 7.326 MB / 0.7799 GB, free: 24.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000167/0.69, allocations: 10.09 kB / 0.7799 GB, free: 24.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001113/0.6911, allocations: 184.9 kB / 0.7801 GB, free: 24.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003252/0.6914, allocations: 288.7 kB / 0.7804 GB, free: 24.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/0.706, allocations: 5.928 MB / 0.7862 GB, free: 24 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03968/0.7457, allocations: 32.64 MB / 0.818 GB, free: 19.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003282/0.7491, allocations: 2.106 MB / 0.8201 GB, free: 18.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.7507, allocations: 1.236 MB / 0.8213 GB, free: 18.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/0.7509, allocations: 102.4 kB / 0.8214 GB, free: 18.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.7509, allocations: 43.81 kB / 0.8214 GB, free: 18.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=98): time 3.025e-06/0.7509, allocations: 0 / 0.8214 GB, free: 18.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=101): time 0.007317/0.7582, allocations: 5.234 MB / 0.8265 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.262e-05/0.7584, allocations: 144.6 kB / 0.8267 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.76, allocations: 1.441 MB / 0.8281 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.7602, allocations: 49.52 kB / 0.8281 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.7613, allocations: 1.856 MB / 0.83 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004379/0.7618, allocations: 377.4 kB / 0.8303 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.7619, allocations: 44.88 kB / 0.8304 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.7621, allocations: 394.6 kB / 0.8307 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.7636, allocations: 1.104 MB / 0.8318 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.7659, allocations: 2.168 MB / 0.8339 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/0.7679, allocations: 1.525 MB / 0.8354 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.7679, allocations: 13.34 kB / 0.8354 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005051/0.7729, allocations: 3.293 MB / 0.8386 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008422/0.7738, allocations: 1.091 MB / 0.8397 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.48e-05/0.7739, allocations: 34.34 kB / 0.8397 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.838e-05/0.7739, allocations: 51.03 kB / 0.8398 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/0.7759, allocations: 0.6207 MB / 0.8404 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.664e-05/0.776, allocations: 65.81 kB / 0.8405 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.7779, allocations: 310.9 kB / 0.8408 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/0.7781, allocations: 113.4 kB / 0.8409 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.7781, allocations: 3.844 kB / 0.8409 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004159/0.7823, allocations: 2.737 MB / 0.8435 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.974e-05/0.7824, allocations: 34.09 kB / 0.8436 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.754e-05/0.7824, allocations: 56.38 kB / 0.8436 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.7842, allocations: 0.5545 MB / 0.8442 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.148e-05/0.7843, allocations: 70.12 kB / 0.8442 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.786, allocations: 227.3 kB / 0.8445 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.7862, allocations: 112 kB / 0.8446 GB, free: 2.766 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004681/0.7909, allocations: 1.713 MB / 0.8462 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007502/0.7916, allocations: 158 kB / 0.8464 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003869/0.7955, allocations: 2.226 MB / 0.8486 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.7956, allocations: 19.97 kB / 0.8486 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.7956, allocations: 4 kB / 0.8486 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.7956, allocations: 3.984 kB / 0.8486 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0187/0.8143, allocations: 10.98 MB / 0.8593 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/0.8144, allocations: 8 kB / 0.8593 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.8158, allocations: 385.7 kB / 0.8597 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-05/0.8158, allocations: 16 kB / 0.8597 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-05/0.8159, allocations: 35.98 kB / 0.8597 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.847e-05/0.816, allocations: 22.38 kB / 0.8597 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/0.816, allocations: 24.33 kB / 0.8598 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003575/0.8196, allocations: 2.749 MB / 0.8625 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009054/0.8205, allocations: 467 kB / 0.8629 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.8207, allocations: 36 kB / 0.8629 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.8218, allocations: 167.7 kB / 0.8631 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.822, allocations: 101.7 kB / 0.8632 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.237e-05/0.8221, allocations: 40 kB / 0.8632 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001433/0.8235, allocations: 0.9625 MB / 0.8642 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8235, allocations: 0 / 0.8642 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00464/0.8281, allocations: 1.129 MB / 0.8653 GB, free: 13.28 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003063/0.8285, allocations: 145.5 kB / 0.8654 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006258/0.8347, allocations: 3.96 MB / 0.8693 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.8348, allocations: 2 kB / 0.8693 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.8364, allocations: 1.057 MB / 0.8703 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/0.8389, allocations: 409.2 kB / 0.8707 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.8526, allocations: 8.493 MB / 0.879 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003516/0.8561, allocations: 2.871 MB / 0.8818 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003251/0.8594, allocations: 1.211 MB / 0.883 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/0.8599, allocations: 119.4 kB / 0.8831 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of SimCode: time 9.42e-07/0.8599, allocations: 0 / 0.8831 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of Templates: time 0.04202/0.902, allocations: 22.92 MB / 0.9055 GB, free: 4.535 MB / 0.6231 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)