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.0008865/0.0008865, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.000934/0.0009341, allocations: 168.7 kB / 15.95 MB, free: 204 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.375/1.375, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.619/1.619, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005579/0.0005581, allocations: 18 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2378, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00554/0.2434, allocations: 5.374 MB / 0.7925 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004199/0.2476, allocations: 3.007 MB / 0.7955 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.248, allocations: 27.81 kB / 0.7955 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.2483, allocations: 123 kB / 0.7956 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007722/0.2491, allocations: 378 kB / 0.796 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.2499, allocations: 351.2 kB / 0.7963 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.251, allocations: 1.213 MB / 0.7975 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.2524, allocations: 0.9054 MB / 0.7984 GB, free: 500 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000417/0.2529, allocations: 358.5 kB / 0.7987 GB, free: 140 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.2534, allocations: 434.5 kB / 0.7991 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.379e-05/0.2534, allocations: 32 kB / 0.7992 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004452/0.2539, allocations: 243.7 kB / 0.7994 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.2541, allocations: 255.2 kB / 0.7997 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.2543, allocations: 169.3 kB / 0.7998 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007149/0.255, allocations: 0.8728 MB / 0.8007 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.255, allocations: 0 / 0.8007 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.132e-06/0.255, allocations: 0 / 0.8007 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.255, allocations: 0 / 0.8007 GB, free: 14.14 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.001169/0.2562, allocations: 0.9153 MB / 0.8016 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2562, allocations: 20.02 kB / 0.8016 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.2575, allocations: 218.7 kB / 0.8018 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.2582, allocations: 0.521 MB / 0.8023 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.2582, allocations: 45.3 kB / 0.8023 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.631e-05/0.2583, allocations: 59.98 kB / 0.8024 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.2596, allocations: 1.026 MB / 0.8034 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.2596, allocations: 15.83 kB / 0.8034 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.2597, allocations: 31.98 kB / 0.8034 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.044e-05/0.2598, allocations: 61.28 kB / 0.8035 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009581/0.2607, allocations: 0.6879 MB / 0.8042 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004441/0.2652, allocations: 5.753 MB / 0.8098 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007476/0.2659, allocations: 0.6015 MB / 0.8104 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006491/0.2666, allocations: 424.5 kB / 0.8108 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.2667, allocations: 11.78 kB / 0.8108 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.2667, allocations: 34.56 kB / 0.8108 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.284e-06/0.2667, allocations: 0 / 0.8108 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.003774/0.2705, allocations: 2.061 MB / 0.8128 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.2705, allocations: 59.34 kB / 0.8129 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.2709, allocations: 458.7 kB / 0.8133 GB, free: 384 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.271, allocations: 33.7 kB / 0.8134 GB, free: 344 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.2712, allocations: 383.3 kB / 0.8137 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.2713, allocations: 149.8 kB / 0.8139 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.2713, allocations: 12 kB / 0.8139 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2715, allocations: 366.6 kB / 0.8142 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.2718, allocations: 245.2 kB / 0.8145 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/0.2723, allocations: 461 kB / 0.8149 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.2727, allocations: 311.8 kB / 0.8152 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2727, allocations: 0 / 0.8152 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001638/0.2743, allocations: 1.058 MB / 0.8162 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.2744, allocations: 8 kB / 0.8163 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2744, allocations: 4 kB / 0.8163 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009152/0.2753, allocations: 335.2 kB / 0.8166 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.2756, allocations: 95.83 kB / 0.8167 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006033/0.2816, allocations: 6.951 MB / 0.8235 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.282, allocations: 27.98 kB / 0.8235 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.2821, allocations: 24 kB / 0.8235 GB, free: 5.273 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 (53): * Single equations (assignments): 49 * 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 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003162/0.2824, allocations: 252.8 kB / 0.8237 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.629e-05/0.2825, allocations: 55.34 kB / 0.8238 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.284, allocations: 0.9077 MB / 0.8247 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.2841, allocations: 4 kB / 0.8247 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/0.2841, allocations: 4 kB / 0.8247 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.2841, allocations: 7.984 kB / 0.8247 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.2865, allocations: 1.704 MB / 0.8264 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.2865, allocations: 4 kB / 0.8264 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.2866, allocations: 48.08 kB / 0.8264 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008586/0.2875, allocations: 319.1 kB / 0.8267 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.2875, allocations: 8 kB / 0.8267 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005817/0.2934, allocations: 6.936 MB / 0.8335 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.2934, allocations: 7.984 kB / 0.8335 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.2949, allocations: 1.011 MB / 0.8345 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.2951, allocations: 172.4 kB / 0.8347 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.142e-05/0.2952, allocations: 11.95 kB / 0.8347 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.2954, allocations: 27.97 kB / 0.8347 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/0.2955, allocations: 39.89 kB / 0.8347 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.2956, allocations: 12 kB / 0.8347 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003106/0.2959, allocations: 306.9 kB / 0.835 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2959, allocations: 0 / 0.835 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008192/0.2967, allocations: 196 kB / 0.8352 GB, free: 8.543 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 (23): * Single equations (assignments): 19 * 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 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001928/0.2969, allocations: 107.2 kB / 0.8353 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002052/0.299, allocations: 1.191 MB / 0.8365 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.299, allocations: 0 / 0.8365 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.3001, allocations: 0.8697 MB / 0.8373 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008928/0.301, allocations: 184.6 kB / 0.8375 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.3033, allocations: 1.461 MB / 0.8389 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/0.3039, allocations: 0.9959 MB / 0.8399 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003111/0.3043, allocations: 101.2 kB / 0.84 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.683e-05/0.3044, allocations: 35.44 kB / 0.84 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of SimCode: time 1.143e-06/0.3044, allocations: 0 / 0.84 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of Templates: time 0.01497/0.3193, allocations: 9.202 MB / 0.849 GB, free: 10.31 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: