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.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 100 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.001448/0.001448, 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.786/1.786, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.655/1.655, allocations: 251.9 MB / 0.51 GB, free: 4.852 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.000638/0.0006383, allocations: 12 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6463/0.647, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01438/0.6614, allocations: 12.48 MB / 0.7402 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01642/0.6779, allocations: 9.446 MB / 0.7494 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.6799, allocations: 47.62 kB / 0.7494 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000911/0.6808, allocations: 262.3 kB / 0.7497 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005644/0.6865, allocations: 1.466 MB / 0.7511 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.6884, allocations: 0.529 MB / 0.7516 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003793/0.6922, allocations: 1.741 MB / 0.7533 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003432/0.6956, allocations: 1.796 MB / 0.7551 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.6979, allocations: 1.196 MB / 0.7563 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.6994, allocations: 0.8522 MB / 0.7571 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.6996, allocations: 68 kB / 0.7572 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.7007, allocations: 391.5 kB / 0.7575 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004659/0.7012, allocations: 458.6 kB / 0.758 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003668/0.7015, allocations: 360.7 kB / 0.7583 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.7036, allocations: 2.071 MB / 0.7603 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7036, allocations: 3.938 kB / 0.7603 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.186e-06/0.7036, allocations: 0 / 0.7603 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.468e-05/0.7037, allocations: 4 kB / 0.7603 GB, free: 10.17 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003606/0.7073, allocations: 1.847 MB / 0.7621 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.7074, allocations: 12.03 kB / 0.7622 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.7192, allocations: 2.186 MB / 0.7643 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.7226, allocations: 1.163 MB / 0.7654 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.401e-05/0.7227, allocations: 90.3 kB / 0.7655 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/0.723, allocations: 119.9 kB / 0.7656 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005971/0.729, allocations: 2.678 MB / 0.7682 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.099e-05/0.729, allocations: 7.938 kB / 0.7683 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.7292, allocations: 51.98 kB / 0.7683 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006892/0.7299, allocations: 202.1 kB / 0.7685 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007821/0.7378, allocations: 2.83 MB / 0.7713 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01606/0.7539, allocations: 10.57 MB / 0.7816 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006682/0.7606, allocations: 2.379 MB / 0.7839 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.733e-05/0.7607, allocations: 13 kB / 0.7839 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.7608, allocations: 47.55 kB / 0.784 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 3.196e-06/0.7608, allocations: 0 / 0.784 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of matching and sorting (n=153): time 0.05895/0.8197, allocations: 16.49 MB / 0.8001 GB, free: 432 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.8198, allocations: 68.72 kB / 0.8001 GB, free: 352 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.8215, allocations: 1.164 MB / 0.8013 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002227/0.8217, allocations: 57.7 kB / 0.8013 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006336/0.8224, allocations: 0.7398 MB / 0.8021 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005353/0.8229, allocations: 0.512 MB / 0.8026 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.823, allocations: 32 kB / 0.8026 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.8232, allocations: 365.9 kB / 0.8029 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003629/0.8268, allocations: 1.518 MB / 0.8044 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003824/0.8307, allocations: 1.791 MB / 0.8062 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003789/0.8345, allocations: 1.646 MB / 0.8078 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.8345, allocations: 8 kB / 0.8078 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01365/0.8482, allocations: 5.292 MB / 0.8129 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.8483, allocations: 8.875 kB / 0.813 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.8483, allocations: 8 kB / 0.813 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007049/0.8553, allocations: 1.896 MB / 0.8148 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.8575, allocations: 427.2 kB / 0.8152 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03055/0.8881, allocations: 22.82 MB / 0.8375 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/0.8911, allocations: 327.6 kB / 0.8378 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003513/0.8914, allocations: 67.97 kB / 0.8379 GB, free: 8.43 MB / 0.6544 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001234/0.8927, allocations: 461.5 kB / 0.8383 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005297/0.8932, allocations: 177.9 kB / 0.8385 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/0.9072, allocations: 5.34 MB / 0.8437 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.9072, allocations: 12 kB / 0.8437 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.556e-05/0.9073, allocations: 20 kB / 0.8437 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/0.9074, allocations: 8.062 kB / 0.8438 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/0.9253, allocations: 7.473 MB / 0.851 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/0.9254, allocations: 4 kB / 0.8511 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/0.9272, allocations: 363.7 kB / 0.8514 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006217/0.9334, allocations: 1.699 MB / 0.8531 GB, free: 8.691 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002444/0.9337, allocations: 43.97 kB / 0.8531 GB, free: 8.648 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0285/0.9622, allocations: 22.05 MB / 0.8746 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/0.9623, allocations: 11.95 kB / 0.8746 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/0.9755, allocations: 5.066 MB / 0.8796 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/0.9771, allocations: 0.4909 MB / 0.8801 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005001/0.9776, allocations: 24 kB / 0.8801 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/0.9801, allocations: 331.5 kB / 0.8804 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007045/0.9809, allocations: 153 kB / 0.8806 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002146/0.9811, allocations: 55.95 kB / 0.8806 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001623/0.9827, allocations: 0.7743 MB / 0.8814 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.9828, allocations: 0 / 0.8814 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002878/0.9856, allocations: 0.6601 MB / 0.882 GB, free: 9.809 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004145/0.9861, allocations: 143.1 kB / 0.8821 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0121/0.9982, allocations: 5.176 MB / 0.8872 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.9982, allocations: 0 / 0.8872 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.008082/1.006, allocations: 3.374 MB / 0.8905 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00389/1.01, allocations: 0.4909 MB / 0.891 GB, free: 420 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/1.027, allocations: 4.862 MB / 0.8957 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002732/1.029, allocations: 1.6 MB / 0.8973 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003291/1.033, allocations: 382.4 kB / 0.8976 GB, free: 9.484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000755/1.034, allocations: 111.4 kB / 0.8978 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of SimCode: time 1.082e-06/1.034, allocations: 4 kB / 0.8978 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of Templates: time 0.5953/1.629, allocations: 41.41 MB / 0.9382 GB, free: 150.2 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) Environment - environmentSimulation: