Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001199, 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.001269/0.001269, 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.766/1.766, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.797/1.797, allocations: 251.9 MB / 0.51 GB, free: 4.863 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.0007055/0.0007059, allocations: 19.59 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6283/0.629, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007543/0.6366, allocations: 5.779 MB / 0.7336 GB, free: 5.621 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005087/0.6418, allocations: 2.929 MB / 0.7365 GB, free: 2.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005447/0.6423, allocations: 27.81 kB / 0.7365 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.6427, allocations: 123.1 kB / 0.7366 GB, free: 2.531 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.6438, allocations: 418.7 kB / 0.737 GB, free: 2.121 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.6449, allocations: 331.3 kB / 0.7373 GB, free: 1.797 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.6459, allocations: 0.7467 MB / 0.7381 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.6474, allocations: 0.9222 MB / 0.739 GB, free: 108 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005264/0.648, allocations: 350.8 kB / 0.7393 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005377/0.6485, allocations: 398.4 kB / 0.7397 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.445e-05/0.6486, allocations: 36 kB / 0.7397 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.649, allocations: 151.7 kB / 0.7399 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.6492, allocations: 243.3 kB / 0.7401 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.6494, allocations: 177.3 kB / 0.7403 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008063/0.6502, allocations: 0.8745 MB / 0.7411 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6502, allocations: 7.938 kB / 0.7411 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.063e-06/0.6502, allocations: 0 / 0.7411 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.6503, allocations: 0 / 0.7411 GB, free: 13.89 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001651/0.6519, allocations: 0.9971 MB / 0.7421 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.652, allocations: 12.03 kB / 0.7421 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.6532, allocations: 230.6 kB / 0.7423 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008969/0.6541, allocations: 0.5326 MB / 0.7429 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.439e-05/0.6542, allocations: 49.3 kB / 0.7429 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.6543, allocations: 63.98 kB / 0.743 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.6557, allocations: 1.069 MB / 0.744 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.6558, allocations: 3.938 kB / 0.744 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.643e-05/0.6559, allocations: 35.98 kB / 0.744 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/0.656, allocations: 85.25 kB / 0.7441 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.6571, allocations: 0.7464 MB / 0.7449 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005302/0.6624, allocations: 5.909 MB / 0.7506 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009986/0.6635, allocations: 0.5451 MB / 0.7512 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.6635, allocations: 8.438 kB / 0.7512 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.6636, allocations: 43 kB / 0.7512 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 3.808e-06/0.6636, allocations: 0 / 0.7512 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003881/0.6675, allocations: 1.984 MB / 0.7531 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.6675, allocations: 59.84 kB / 0.7532 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006102/0.6681, allocations: 0.5548 MB / 0.7537 GB, free: 204 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.6682, allocations: 33.7 kB / 0.7538 GB, free: 164 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.6685, allocations: 418.9 kB / 0.7542 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.6686, allocations: 169.6 kB / 0.7543 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.6687, allocations: 12 kB / 0.7543 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.6688, allocations: 378.8 kB / 0.7547 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.6692, allocations: 273.8 kB / 0.755 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/0.6698, allocations: 496.9 kB / 0.7554 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.6703, allocations: 334 kB / 0.7558 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.6703, allocations: 7.984 kB / 0.7558 GB, free: 14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001691/0.672, allocations: 1.079 MB / 0.7568 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.672, allocations: 8 kB / 0.7568 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.672, allocations: 8 kB / 0.7568 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007924/0.6728, allocations: 283.8 kB / 0.7571 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.6733, allocations: 127.8 kB / 0.7572 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00629/0.6796, allocations: 6.704 MB / 0.7638 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007659/0.6804, allocations: 35.97 kB / 0.7638 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/0.6804, allocations: 28 kB / 0.7638 GB, free: 5.172 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004495/0.6809, allocations: 249.5 kB / 0.7641 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.681, allocations: 71.25 kB / 0.7641 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.6826, allocations: 0.9003 MB / 0.765 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.6826, allocations: 4 kB / 0.765 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.6826, allocations: 4.375 kB / 0.765 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.6826, allocations: 3.984 kB / 0.765 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/0.6852, allocations: 1.732 MB / 0.7667 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6852, allocations: 0 / 0.7667 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.6855, allocations: 67.84 kB / 0.7668 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007314/0.6863, allocations: 259.3 kB / 0.767 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.6863, allocations: 12 kB / 0.767 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00615/0.6925, allocations: 6.69 MB / 0.7736 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.6925, allocations: 4.031 kB / 0.7736 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.6944, allocations: 1.048 MB / 0.7746 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/0.6947, allocations: 192.2 kB / 0.7748 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.002e-05/0.6948, allocations: 12 kB / 0.7748 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.6952, allocations: 35.92 kB / 0.7748 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.6953, allocations: 43.89 kB / 0.7749 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.6953, allocations: 12 kB / 0.7749 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005333/0.6959, allocations: 383.1 kB / 0.7753 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6959, allocations: 0 / 0.7753 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009673/0.6969, allocations: 228 kB / 0.7755 GB, free: 8.492 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002301/0.6971, allocations: 119.2 kB / 0.7756 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00222/0.6993, allocations: 1.26 MB / 0.7768 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.6993, allocations: 4 kB / 0.7768 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.7006, allocations: 0.9052 MB / 0.7777 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009333/0.7015, allocations: 196.3 kB / 0.7779 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.7041, allocations: 1.593 MB / 0.7794 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007671/0.7049, allocations: 1.028 MB / 0.7805 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004416/0.7053, allocations: 129.9 kB / 0.7806 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.7055, allocations: 39.44 kB / 0.7806 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/0.7055, allocations: 0 / 0.7806 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of Templates: time 0.01762/0.7231, allocations: 10.28 MB / 0.7907 GB, free: 8.883 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: