Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 99.86 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.001252/0.001252, 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.518/1.518, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.731/1.731, allocations: 292.5 MB / 0.5497 GB, free: 14.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.0005425/0.0005427, allocations: 18.09 kB / 0.6735 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2212, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006347/0.2276, allocations: 5.211 MB / 0.7922 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004424/0.2321, allocations: 2.988 MB / 0.7951 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005125/0.2326, allocations: 27.81 kB / 0.7952 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.233, allocations: 111.2 kB / 0.7953 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.234, allocations: 342.9 kB / 0.7956 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.2351, allocations: 370.7 kB / 0.7959 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.2363, allocations: 0.6454 MB / 0.7966 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.238, allocations: 0.8976 MB / 0.7975 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006403/0.2386, allocations: 330.7 kB / 0.7978 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006725/0.2393, allocations: 342.7 kB / 0.7981 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.2394, allocations: 32 kB / 0.7981 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000678/0.2401, allocations: 203.7 kB / 0.7983 GB, free: 428 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003052/0.2404, allocations: 231.4 kB / 0.7985 GB, free: 196 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.2407, allocations: 161.3 kB / 0.7987 GB, free: 28 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.2419, allocations: 0.8378 MB / 0.7995 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2419, allocations: 0 / 0.7995 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2419, allocations: 0 / 0.7995 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.132e-05/0.242, allocations: 0 / 0.7995 GB, free: 15.19 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00204/0.244, allocations: 0.9141 MB / 0.8004 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.2441, allocations: 11.97 kB / 0.8004 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.2457, allocations: 202.8 kB / 0.8006 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009874/0.2467, allocations: 0.521 MB / 0.8011 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.2468, allocations: 41.31 kB / 0.8012 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.935e-05/0.2469, allocations: 63.98 kB / 0.8012 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.2483, allocations: 1.022 MB / 0.8022 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.2483, allocations: 11.89 kB / 0.8022 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/0.2484, allocations: 27.98 kB / 0.8023 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-05/0.2485, allocations: 65.28 kB / 0.8023 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009355/0.2494, allocations: 0.6917 MB / 0.803 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005171/0.2546, allocations: 5.76 MB / 0.8086 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008271/0.2555, allocations: 0.5987 MB / 0.8092 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.2555, allocations: 4.688 kB / 0.8092 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.2555, allocations: 38.56 kB / 0.8092 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.355e-06/0.2556, allocations: 0 / 0.8092 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.003669/0.2592, allocations: 1.89 MB / 0.8111 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.2593, allocations: 55.41 kB / 0.8111 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.2597, allocations: 454.7 kB / 0.8116 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.2598, allocations: 45.58 kB / 0.8116 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.26, allocations: 391 kB / 0.812 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.2601, allocations: 153.9 kB / 0.8121 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.2601, allocations: 8 kB / 0.8121 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2603, allocations: 370.7 kB / 0.8125 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.2606, allocations: 225.2 kB / 0.8127 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.2611, allocations: 449 kB / 0.8131 GB, free: 324 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/0.2615, allocations: 295.8 kB / 0.8134 GB, free: 28 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.2615, allocations: 4 kB / 0.8134 GB, free: 24 kB / 0.6231 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00156/0.263, allocations: 0.9717 MB / 0.8144 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2631, allocations: 8 kB / 0.8144 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.2631, allocations: 12 kB / 0.8144 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008283/0.2639, allocations: 275.9 kB / 0.8147 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.2643, allocations: 103.8 kB / 0.8148 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005939/0.2702, allocations: 6.743 MB / 0.8213 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.2706, allocations: 27.98 kB / 0.8214 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.2706, allocations: 24 kB / 0.8214 GB, free: 7.293 MB / 0.6387 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 (55): * Single equations (assignments): 51 * 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,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003095/0.2709, allocations: 246.3 kB / 0.8216 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-05/0.271, allocations: 59.3 kB / 0.8217 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.2725, allocations: 0.8259 MB / 0.8225 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2725, allocations: 8.188 kB / 0.8225 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2725, allocations: 4 kB / 0.8225 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.2725, allocations: 7.969 kB / 0.8225 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/0.275, allocations: 1.707 MB / 0.8242 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.275, allocations: 7.953 kB / 0.8242 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.2752, allocations: 56.08 kB / 0.8242 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006889/0.2759, allocations: 243.5 kB / 0.8245 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.2759, allocations: 12 kB / 0.8245 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005508/0.2814, allocations: 6.456 MB / 0.8308 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2815, allocations: 0 / 0.8308 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.2829, allocations: 0.9818 MB / 0.8317 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.2832, allocations: 172.4 kB / 0.8319 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.009e-05/0.2832, allocations: 15.92 kB / 0.8319 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.2835, allocations: 15.98 kB / 0.8319 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/0.2836, allocations: 43.91 kB / 0.832 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.2836, allocations: 16 kB / 0.832 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003036/0.2839, allocations: 298.9 kB / 0.8323 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2839, allocations: 0 / 0.8323 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000778/0.2847, allocations: 188 kB / 0.8325 GB, free: 11.17 MB / 0.6544 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 (27): * Single equations (assignments): 23 * 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,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001631/0.2849, allocations: 111.2 kB / 0.8326 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001616/0.2865, allocations: 1.129 MB / 0.8337 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.2865, allocations: 0 / 0.8337 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009556/0.2875, allocations: 0.8033 MB / 0.8345 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007778/0.2883, allocations: 180 kB / 0.8346 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.2901, allocations: 1.462 MB / 0.8361 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.2906, allocations: 1 MB / 0.837 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002727/0.2909, allocations: 109.2 kB / 0.8371 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.764e-05/0.291, allocations: 39.42 kB / 0.8372 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.291, allocations: 0 / 0.8372 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of Templates: time 0.01335/0.3043, allocations: 8.615 MB / 0.8456 GB, free: 13.63 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: