Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.047/3.047, allocations: 287.3 MB / 302.3 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001628/0.001628, allocations: 190.4 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.275/2.275, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 96.22 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006696/0.00067, allocations: 12.81 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2296, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01771/0.2474, allocations: 11.89 MB / 0.9898 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01658/0.264, allocations: 8.636 MB / 0.9982 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.2657, allocations: 51.62 kB / 0.9983 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.2671, allocations: 254.3 kB / 0.9985 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005292/0.2724, allocations: 1.253 MB / 0.9998 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002421/0.2748, allocations: 0.5202 MB / 1 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003816/0.2787, allocations: 1.524 MB / 1.002 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00443/0.2832, allocations: 1.802 MB / 1.004 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.2852, allocations: 0.7628 MB / 1.004 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.2873, allocations: 0.8367 MB / 1.005 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004284/0.2878, allocations: 72 kB / 1.005 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.2894, allocations: 387.5 kB / 1.006 GB, free: 316 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007886/0.2902, allocations: 482.5 kB / 1.006 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007078/0.2909, allocations: 340.8 kB / 1.006 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004149/0.2951, allocations: 2.073 MB / 1.008 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2952, allocations: 0 / 1.008 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2952, allocations: 0 / 1.008 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.94e-05/0.2953, allocations: 0 / 1.008 GB, free: 13.42 MB / 0.6355 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.006302/0.3016, allocations: 1.82 MB / 1.01 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.3017, allocations: 8.031 kB / 1.01 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02097/0.3226, allocations: 2.162 MB / 1.012 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004207/0.3269, allocations: 1.158 MB / 1.013 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.3271, allocations: 86.36 kB / 1.013 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000628/0.3277, allocations: 116 kB / 1.014 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/0.3386, allocations: 2.69 MB / 1.016 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.19e-05/0.3388, allocations: 11.84 kB / 1.016 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003022/0.3391, allocations: 63.91 kB / 1.016 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001179/0.3403, allocations: 182.1 kB / 1.016 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.3553, allocations: 2.834 MB / 1.019 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02736/0.3827, allocations: 10.56 MB / 1.03 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/0.3995, allocations: 2.576 MB / 1.032 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/0.3997, allocations: 13 kB / 1.032 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.698e-05/0.3998, allocations: 39.56 kB / 1.032 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 5.23e-06/0.3998, allocations: 4 kB / 1.032 GB, free: 4.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=131): time 0.1011/0.5009, allocations: 13.42 MB / 1.045 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.501, allocations: 68.66 kB / 1.045 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/0.5033, allocations: 1.105 MB / 1.046 GB, free: 5.324 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003745/0.5037, allocations: 45.7 kB / 1.046 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000766/0.5045, allocations: 0.7194 MB / 1.047 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007385/0.5052, allocations: 457.4 kB / 1.048 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.5055, allocations: 24 kB / 1.048 GB, free: 4.07 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.5057, allocations: 365.9 kB / 1.048 GB, free: 3.707 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006323/0.512, allocations: 1.35 MB / 1.049 GB, free: 2.355 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006768/0.5188, allocations: 1.612 MB / 1.051 GB, free: 0.6484 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006659/0.5255, allocations: 1.458 MB / 1.052 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.5256, allocations: 7.953 kB / 1.052 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.02173/0.5473, allocations: 4.458 MB / 1.057 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.5475, allocations: 8 kB / 1.057 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.5475, allocations: 8 kB / 1.057 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009782/0.5573, allocations: 1.428 MB / 1.058 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004122/0.5615, allocations: 451.2 kB / 1.058 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.72/1.282, allocations: 25.01 MB / 1.083 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004759/1.286, allocations: 317.2 kB / 1.083 GB, free: 71.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004055/1.287, allocations: 59.62 kB / 1.083 GB, free: 71.29 MB / 0.6823 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 (99): * Single equations (assignments): 86 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001346/1.288, allocations: 436 kB / 1.084 GB, free: 71.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005738/1.289, allocations: 161.2 kB / 1.084 GB, free: 71.02 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02267/1.311, allocations: 4.482 MB / 1.088 GB, free: 69.58 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.562e-05/1.312, allocations: 12.66 kB / 1.088 GB, free: 69.58 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.427e-05/1.312, allocations: 16.62 kB / 1.088 GB, free: 69.58 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.164e-05/1.312, allocations: 6.094 kB / 1.088 GB, free: 69.58 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02937/1.341, allocations: 6.806 MB / 1.095 GB, free: 67.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.56e-05/1.341, allocations: 6.531 kB / 1.095 GB, free: 67.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003651/1.345, allocations: 385.8 kB / 1.095 GB, free: 67.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009058/1.354, allocations: 1.304 MB / 1.096 GB, free: 66.72 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003985/1.354, allocations: 38.95 kB / 1.096 GB, free: 66.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03433/1.389, allocations: 23.99 MB / 1.12 GB, free: 46.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/1.389, allocations: 7.766 kB / 1.12 GB, free: 46.63 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02063/1.409, allocations: 4.38 MB / 1.124 GB, free: 44.89 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/1.411, allocations: 464.3 kB / 1.125 GB, free: 44.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005181/1.412, allocations: 32.34 kB / 1.125 GB, free: 44.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004158/1.416, allocations: 315.7 kB / 1.125 GB, free: 44.44 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007413/1.417, allocations: 125.7 kB / 1.125 GB, free: 44.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/1.417, allocations: 47.66 kB / 1.125 GB, free: 44.35 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00166/1.419, allocations: 0.7423 MB / 1.126 GB, free: 43.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/1.419, allocations: 0 / 1.126 GB, free: 43.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003785/1.422, allocations: 0.5674 MB / 1.126 GB, free: 43.88 MB / 0.6823 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004228/1.423, allocations: 143.7 kB / 1.127 GB, free: 43.76 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01874/1.442, allocations: 5.154 MB / 1.132 GB, free: 40.37 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.442, allocations: 0.9688 kB / 1.132 GB, free: 40.37 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01219/1.454, allocations: 3.499 MB / 1.135 GB, free: 37.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004015/1.458, allocations: 496.1 kB / 1.135 GB, free: 37.58 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/1.473, allocations: 4.532 MB / 1.14 GB, free: 34.77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/1.475, allocations: 1.508 MB / 1.141 GB, free: 33.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003151/1.478, allocations: 429 kB / 1.142 GB, free: 33.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007729/1.479, allocations: 113.2 kB / 1.142 GB, free: 33.43 MB / 0.6823 GB Notification: Performance of SimCode: time 1.653e-06/1.479, allocations: 0 / 1.142 GB, free: 33.43 MB / 0.6823 GB Notification: Performance of Templates: time 0.08661/1.566, allocations: 36.13 MB / 1.177 GB, free: 208 kB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)