Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009935/0.0009936, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009886/0.0009889, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.66/1.66, allocations: 251.9 MB / 0.51 GB, free: 4.793 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009055/0.0009058, allocations: 15.98 kB / 0.6241 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6558/0.6567, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01221/0.669, allocations: 10.37 MB / 0.7381 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008877/0.6779, allocations: 4.94 MB / 0.7429 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.6793, allocations: 31.88 kB / 0.743 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.6805, allocations: 322.2 kB / 0.7433 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.6825, allocations: 0.5257 MB / 0.7438 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.6843, allocations: 0.573 MB / 0.7443 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00185/0.6862, allocations: 1.13 MB / 0.7454 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005175/0.6914, allocations: 3.627 MB / 0.749 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.693, allocations: 0.6074 MB / 0.7496 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.6944, allocations: 0.6696 MB / 0.7502 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.6947, allocations: 92 kB / 0.7503 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.6959, allocations: 303.7 kB / 0.7506 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007708/0.6967, allocations: 0.6704 MB / 0.7513 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005209/0.6973, allocations: 341 kB / 0.7516 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003561/0.7008, allocations: 3 MB / 0.7545 GB, free: 128 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.7009, allocations: 0 / 0.7545 GB, free: 128 kB / 0.5606 GB Notification: Performance of FrontEnd: time 5.12e-06/0.7009, allocations: 0 / 0.7545 GB, free: 128 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.898e-05/0.701, allocations: 3.938 kB / 0.7545 GB, free: 124 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003815/0.7048, allocations: 1.628 MB / 0.7561 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.7049, allocations: 15.97 kB / 0.7561 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/0.7075, allocations: 0.5014 MB / 0.7566 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/0.7101, allocations: 1.119 MB / 0.7577 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-05/0.7102, allocations: 119.1 kB / 0.7578 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/0.7105, allocations: 155.9 kB / 0.758 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004547/0.715, allocations: 2.719 MB / 0.7606 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.807e-05/0.7151, allocations: 15.84 kB / 0.7606 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.7153, allocations: 59.98 kB / 0.7607 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003625/0.7157, allocations: 174.9 kB / 0.7609 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003828/0.7195, allocations: 2.284 MB / 0.7631 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.7334, allocations: 10.52 MB / 0.7734 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.7344, allocations: 0.5842 MB / 0.7739 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.7346, allocations: 89.09 kB / 0.774 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.7346, allocations: 34.56 kB / 0.7741 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.615e-06/0.7346, allocations: 4 kB / 0.7741 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52): time 0.02031/0.7549, allocations: 6.295 MB / 0.7802 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/0.7551, allocations: 85.55 kB / 0.7803 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.7566, allocations: 0.8906 MB / 0.7812 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.7567, allocations: 37.7 kB / 0.7812 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005031/0.7572, allocations: 0.7538 MB / 0.7819 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.7574, allocations: 185.4 kB / 0.7821 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.7575, allocations: 23.94 kB / 0.7821 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.7577, allocations: 386.8 kB / 0.7825 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009806/0.7587, allocations: 0.6421 MB / 0.7831 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.7599, allocations: 1.015 MB / 0.7841 GB, free: 432 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.7611, allocations: 0.818 MB / 0.7849 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.7611, allocations: 4 kB / 0.7849 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008687/0.7698, allocations: 3.221 MB / 0.7881 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.001703/0.7715, allocations: 4.533 MB / 0.7925 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.7716, allocations: 16 kB / 0.7925 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007911/0.7795, allocations: 1.852 MB / 0.7943 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009648/0.7805, allocations: 227.6 kB / 0.7945 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/0.795, allocations: 10.5 MB / 0.8048 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.7965, allocations: 183.6 kB / 0.805 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.7967, allocations: 43.94 kB / 0.805 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.7967, allocations: 4 kB / 0.805 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007398/0.8041, allocations: 2.626 MB / 0.8076 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.056e-05/0.8042, allocations: 12 kB / 0.8076 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005167/0.8094, allocations: 1.2 MB / 0.8088 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.8106, allocations: 259.5 kB / 0.809 GB, free: 6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008102/0.8187, allocations: 5.695 MB / 0.8146 GB, free: 44 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.8201, allocations: 151.8 kB / 0.8147 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/0.8203, allocations: 47.98 kB / 0.8148 GB, free: 15.85 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001712/0.822, allocations: 0.8362 MB / 0.8156 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/0.8223, allocations: 71.16 kB / 0.8156 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008029/0.8304, allocations: 2.707 MB / 0.8183 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.8304, allocations: 4 kB / 0.8183 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.8304, allocations: 0 / 0.8183 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.8304, allocations: 8 kB / 0.8183 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.8416, allocations: 4.539 MB / 0.8227 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.8416, allocations: 3.953 kB / 0.8227 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.8421, allocations: 95.86 kB / 0.8228 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007089/0.8492, allocations: 1.705 MB / 0.8245 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.899e-05/0.8493, allocations: 16 kB / 0.8245 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/0.8619, allocations: 10.06 MB / 0.8343 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.862, allocations: 8.062 kB / 0.8343 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007678/0.8697, allocations: 2.743 MB / 0.837 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006957/0.8704, allocations: 292 kB / 0.8373 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.8707, allocations: 12 kB / 0.8373 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009165/0.8716, allocations: 139.7 kB / 0.8374 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/0.8718, allocations: 43.94 kB / 0.8375 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/0.8719, allocations: 12 kB / 0.8375 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001013/0.8729, allocations: 0.6395 MB / 0.8381 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8729, allocations: 0 / 0.8381 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002408/0.8753, allocations: 0.582 MB / 0.8387 GB, free: 6.535 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002843/0.8756, allocations: 133.2 kB / 0.8388 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005752/0.8814, allocations: 3.253 MB / 0.842 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.8814, allocations: 5.859 kB / 0.842 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002245/0.8837, allocations: 1.287 MB / 0.8433 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.885, allocations: 213.1 kB / 0.8435 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006028/0.8911, allocations: 3.532 MB / 0.8469 GB, free: 13.93 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/0.8928, allocations: 1.653 MB / 0.8485 GB, free: 12.25 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001367/0.8941, allocations: 490.6 kB / 0.849 GB, free: 11.77 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.8943, allocations: 59.38 kB / 0.849 GB, free: 11.71 MB / 0.67 GB Notification: Performance of SimCode: time 1.172e-06/0.8944, allocations: 0 / 0.849 GB, free: 11.71 MB / 0.67 GB Notification: Performance of Templates: time 0.0361/0.9305, allocations: 23.34 MB / 0.8718 GB, free: 4.5 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: