Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001119/0.001119, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.001164/0.001164, allocations: 191 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 292.3 MB / 0.5492 GB, free: 13.63 MB / 462.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.00144/0.00144, allocations: 71.89 kB / 0.6717 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2553, allocations: 114.5 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01652/0.2719, allocations: 14.57 MB / 0.7977 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01627/0.2882, allocations: 10.34 MB / 0.8078 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.2901, allocations: 55.62 kB / 0.8079 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004307/0.2945, allocations: 1.572 MB / 0.8094 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005676/0.3002, allocations: 1.634 MB / 0.811 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.3022, allocations: 0.6972 MB / 0.8117 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004026/0.3062, allocations: 2.75 MB / 0.8144 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00213/0.3084, allocations: 1.59 MB / 0.8159 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/0.3107, allocations: 1.527 MB / 0.8174 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.3124, allocations: 1.199 MB / 0.8186 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.3126, allocations: 164 kB / 0.8188 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.3141, allocations: 0.7838 MB / 0.8195 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005695/0.3147, allocations: 0.6076 MB / 0.8201 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009524/0.3156, allocations: 0.9561 MB / 0.8211 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002345/0.318, allocations: 2.21 MB / 0.8232 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.318, allocations: 0 / 0.8232 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.923e-06/0.318, allocations: 0 / 0.8232 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.455e-05/0.318, allocations: 0 / 0.8232 GB, free: 5.078 MB / 0.6387 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.003881/0.3219, allocations: 2.17 MB / 0.8253 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.322, allocations: 8.031 kB / 0.8253 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.3334, allocations: 2.112 MB / 0.8274 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/0.3363, allocations: 1.214 MB / 0.8286 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.251e-05/0.3364, allocations: 82.69 kB / 0.8287 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/0.3367, allocations: 124 kB / 0.8288 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005779/0.3425, allocations: 2.678 MB / 0.8314 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/0.3426, allocations: 7.938 kB / 0.8314 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.3427, allocations: 47.98 kB / 0.8315 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006376/0.3434, allocations: 194.1 kB / 0.8316 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007408/0.3508, allocations: 2.791 MB / 0.8344 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01593/0.3668, allocations: 10.51 MB / 0.8446 GB, free: 14.28 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006555/0.3734, allocations: 2.34 MB / 0.8469 GB, free: 11.91 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003149/0.3766, allocations: 1.278 MB / 0.8482 GB, free: 10.63 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.3767, allocations: 9 kB / 0.8482 GB, free: 10.62 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.3767, allocations: 47.56 kB / 0.8482 GB, free: 10.57 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 3.637e-06/0.3767, allocations: 0 / 0.8482 GB, free: 10.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=153): time 0.05949/0.4362, allocations: 16.48 MB / 0.8643 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.4363, allocations: 64.72 kB / 0.8644 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.438, allocations: 1.18 MB / 0.8655 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002489/0.4382, allocations: 49.7 kB / 0.8656 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005335/0.4388, allocations: 0.7436 MB / 0.8663 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005181/0.4393, allocations: 0.512 MB / 0.8668 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005681/0.4399, allocations: 287.4 kB / 0.8671 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.44, allocations: 321 kB / 0.8674 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003519/0.4435, allocations: 1.507 MB / 0.8688 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003654/0.4472, allocations: 1.776 MB / 0.8706 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007144/0.4543, allocations: 3.369 MB / 0.8739 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4544, allocations: 0 / 0.8739 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0136/0.468, allocations: 5.277 MB / 0.879 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.468, allocations: 8 kB / 0.879 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.4681, allocations: 8 kB / 0.879 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007165/0.4752, allocations: 1.893 MB / 0.8809 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.4772, allocations: 419.2 kB / 0.8813 GB, free: 8.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03034/0.5076, allocations: 24.14 MB / 0.9049 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/0.5105, allocations: 311.5 kB / 0.9052 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/0.5107, allocations: 67.97 kB / 0.9052 GB, free: 14.6 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009633/0.5117, allocations: 469.4 kB / 0.9057 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003518/0.512, allocations: 169.9 kB / 0.9058 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/0.5256, allocations: 5.328 MB / 0.911 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.5257, allocations: 12 kB / 0.9111 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-05/0.5258, allocations: 20.47 kB / 0.9111 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/0.5258, allocations: 7.969 kB / 0.9111 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/0.5424, allocations: 7.43 MB / 0.9183 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.5425, allocations: 8.031 kB / 0.9183 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.5442, allocations: 351.4 kB / 0.9187 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4576/1.002, allocations: 1.709 MB / 0.9203 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000268/1.002, allocations: 46.58 kB / 0.9204 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02521/1.027, allocations: 23.32 MB / 0.9432 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/1.027, allocations: 9.109 kB / 0.9432 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/1.041, allocations: 4.883 MB / 0.9479 GB, free: 113 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.043, allocations: 496 kB / 0.9484 GB, free: 112.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/1.043, allocations: 30.14 kB / 0.9484 GB, free: 112.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002358/1.045, allocations: 320.2 kB / 0.9487 GB, free: 112.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007694/1.046, allocations: 149.3 kB / 0.9489 GB, free: 112.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/1.046, allocations: 55.41 kB / 0.9489 GB, free: 112.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00113/1.047, allocations: 0.7953 MB / 0.9497 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.047, allocations: 0 / 0.9497 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00237/1.05, allocations: 0.6552 MB / 0.9504 GB, free: 112.3 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003186/1.05, allocations: 138.9 kB / 0.9505 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.061, allocations: 5.431 MB / 0.9558 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/1.061, allocations: 7.625 kB / 0.9558 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006685/1.068, allocations: 3.349 MB / 0.9591 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/1.071, allocations: 0.569 MB / 0.9596 GB, free: 108 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009595/1.08, allocations: 5.108 MB / 0.9646 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.082, allocations: 1.574 MB / 0.9662 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006433/1.082, allocations: 127.6 kB / 0.9663 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.292e-06/1.082, allocations: 0 / 0.9663 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.06387/1.146, allocations: 85.73 MB / 1.05 GB, free: 25.53 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)