Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 252 MB / 267.6 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 178 kB / 327.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.4 MB / 0.5783 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008029/0.000803, allocations: 102.2 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 9.469 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2073, allocations: 106.3 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005195/0.2125, allocations: 5.962 MB / 0.9067 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003769/0.2164, allocations: 2.901 MB / 0.9095 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006169/0.217, allocations: 27.81 kB / 0.9095 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000469/0.2175, allocations: 134.8 kB / 0.9097 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.2186, allocations: 409.7 kB / 0.91 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009305/0.2196, allocations: 314.1 kB / 0.9103 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001282/0.2209, allocations: 1.322 MB / 0.9116 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.2225, allocations: 0.9249 MB / 0.9125 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007146/0.2232, allocations: 394.4 kB / 0.9129 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007241/0.2239, allocations: 482.2 kB / 0.9134 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.2241, allocations: 36 kB / 0.9134 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000611/0.2247, allocations: 187.8 kB / 0.9136 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.225, allocations: 271.2 kB / 0.9138 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.2252, allocations: 177.3 kB / 0.914 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006698/0.2258, allocations: 0.8963 MB / 0.9149 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2258, allocations: 0 / 0.9149 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2259, allocations: 4 kB / 0.9149 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.2259, allocations: 0 / 0.9149 GB, free: 49.48 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001395/0.2273, allocations: 1.017 MB / 0.9159 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2273, allocations: 15.97 kB / 0.9159 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.2287, allocations: 242.6 kB / 0.9161 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/0.2294, allocations: 0.521 MB / 0.9166 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.2294, allocations: 49.3 kB / 0.9167 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.437e-05/0.2295, allocations: 63.98 kB / 0.9167 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.2306, allocations: 1.081 MB / 0.9178 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.2307, allocations: 7.938 kB / 0.9178 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/0.2307, allocations: 39.97 kB / 0.9178 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.2309, allocations: 77.27 kB / 0.9179 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008865/0.2318, allocations: 0.7542 MB / 0.9187 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003664/0.2355, allocations: 5.886 MB / 0.9244 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008027/0.2363, allocations: 0.5574 MB / 0.925 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.2366, allocations: 326 kB / 0.9253 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.2367, allocations: 4.438 kB / 0.9253 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2367, allocations: 39 kB / 0.9253 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.395e-06/0.2367, allocations: 0 / 0.9253 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.003211/0.2399, allocations: 1.982 MB / 0.9272 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.24, allocations: 59.83 kB / 0.9273 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.2404, allocations: 0.543 MB / 0.9278 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.2405, allocations: 45.58 kB / 0.9279 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.2406, allocations: 418.9 kB / 0.9283 GB, free: 35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.37e-05/0.2407, allocations: 173.6 kB / 0.9284 GB, free: 34.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.2408, allocations: 12 kB / 0.9284 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.2408, allocations: 374.8 kB / 0.9288 GB, free: 34.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.2412, allocations: 273.8 kB / 0.9291 GB, free: 34.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.2415, allocations: 493 kB / 0.9295 GB, free: 33.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.2419, allocations: 338 kB / 0.9299 GB, free: 33.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.242, allocations: 8 kB / 0.9299 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001454/0.2434, allocations: 1.075 MB / 0.9309 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.2435, allocations: 8 kB / 0.9309 GB, free: 32.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.2435, allocations: 12.06 kB / 0.9309 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007498/0.2442, allocations: 275.1 kB / 0.9312 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.2447, allocations: 127.8 kB / 0.9313 GB, free: 31.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004337/0.249, allocations: 6.611 MB / 0.9378 GB, free: 24.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000582/0.2496, allocations: 31.97 kB / 0.9378 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/0.2497, allocations: 35.98 kB / 0.9378 GB, free: 24.52 MB / 0.6042 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 (67): * Single equations (assignments): 63 * 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,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000317/0.25, allocations: 249.7 kB / 0.9381 GB, free: 24.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.393e-05/0.2501, allocations: 71.16 kB / 0.9381 GB, free: 24.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.2514, allocations: 0.8847 MB / 0.939 GB, free: 23.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2514, allocations: 12 kB / 0.939 GB, free: 23.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.2514, allocations: 0 / 0.939 GB, free: 23.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2514, allocations: 4 kB / 0.939 GB, free: 23.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.2534, allocations: 1.72 MB / 0.9407 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.2535, allocations: 3.953 kB / 0.9407 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.2537, allocations: 63.89 kB / 0.9408 GB, free: 21.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006587/0.2544, allocations: 263.4 kB / 0.941 GB, free: 21.13 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.2544, allocations: 12 kB / 0.941 GB, free: 21.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004251/0.2587, allocations: 6.584 MB / 0.9475 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.2587, allocations: 8.156 kB / 0.9475 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.26, allocations: 0.9834 MB / 0.9484 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.2603, allocations: 188.2 kB / 0.9486 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.2603, allocations: 12 kB / 0.9486 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.2607, allocations: 31.92 kB / 0.9486 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.2608, allocations: 43.94 kB / 0.9487 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.2608, allocations: 16 kB / 0.9487 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003515/0.2612, allocations: 379.1 kB / 0.9491 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2612, allocations: 0 / 0.9491 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006954/0.2619, allocations: 220 kB / 0.9493 GB, free: 12.07 MB / 0.6042 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 (31): * Single equations (assignments): 27 * 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,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001349/0.262, allocations: 115.2 kB / 0.9494 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.2636, allocations: 1.268 MB / 0.9506 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2636, allocations: 0 / 0.9506 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.2647, allocations: 0.909 MB / 0.9515 GB, free: 9.676 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009628/0.2656, allocations: 207 kB / 0.9517 GB, free: 9.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.2675, allocations: 1.636 MB / 0.9533 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.2678, allocations: 1.016 MB / 0.9543 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.268, allocations: 43.44 kB / 0.9543 GB, free: 6.703 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.268, allocations: 0 / 0.9543 GB, free: 6.703 MB / 0.6042 GB Notification: Performance of Templates: time 0.02071/0.2887, allocations: 20.57 MB / 0.9744 GB, free: 2.176 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)