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/Buildings 8.1.1-maint.8.1.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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 293 MB / 309 MB, free: 4.781 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.001145/0.001145, allocations: 180.1 kB / 378.7 MB, free: 1.004 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.4 MB / 0.6383 GB, free: 8.234 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008148/0.0008149, allocations: 94.08 kB / 0.7527 GB, free: 62.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004253, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2544, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6777/0.9322, allocations: 162.4 MB / 1.149 GB, free: 16.3 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.9325, allocations: 95.8 kB / 1.149 GB, free: 16.22 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08621/1.019, allocations: 37.01 MB / 1.185 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.554e-06/1.019, allocations: 0 / 1.185 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.186e-05/1.019, allocations: 23.94 kB / 1.185 GB, free: 13.8 MB / 0.7605 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.002455/1.021, allocations: 0.9262 MB / 1.186 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/1.021, allocations: 8.031 kB / 1.186 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/1.023, allocations: 223.6 kB / 1.186 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/1.024, allocations: 0.5493 MB / 1.187 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/1.024, allocations: 41.69 kB / 1.187 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/1.025, allocations: 64.36 kB / 1.187 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/1.026, allocations: 1.103 MB / 1.188 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/1.026, allocations: 12.12 kB / 1.188 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.351e-05/1.027, allocations: 31.94 kB / 1.188 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.933e-05/1.027, allocations: 57.28 kB / 1.188 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/1.028, allocations: 0.6879 MB / 1.189 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005317/1.033, allocations: 5.78 MB / 1.195 GB, free: 3.664 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/1.034, allocations: 0.5952 MB / 1.195 GB, free: 3.027 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006448/1.035, allocations: 396.6 kB / 1.195 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/1.035, allocations: 8 kB / 1.195 GB, free: 2.629 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/1.035, allocations: 42.5 kB / 1.196 GB, free: 2.578 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 2.815e-06/1.035, allocations: 0 / 1.196 GB, free: 2.578 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.004248/1.039, allocations: 2.043 MB / 1.198 GB, free: 452 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/1.039, allocations: 63.34 kB / 1.198 GB, free: 376 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005686/1.04, allocations: 446.8 kB / 1.198 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/1.04, allocations: 33.7 kB / 1.198 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/1.04, allocations: 371.3 kB / 1.198 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/1.04, allocations: 149.9 kB / 1.199 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/1.04, allocations: 12 kB / 1.199 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.04, allocations: 366.8 kB / 1.199 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/1.041, allocations: 236.9 kB / 1.199 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/1.041, allocations: 429.3 kB / 1.2 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008461/1.042, allocations: 0.7193 MB / 1.2 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.042, allocations: 0 / 1.2 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001732/1.044, allocations: 1.017 MB / 1.201 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.044, allocations: 8 kB / 1.201 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.044, allocations: 4.75 kB / 1.201 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009506/1.045, allocations: 323.1 kB / 1.202 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/1.045, allocations: 95.75 kB / 1.202 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008746/1.054, allocations: 7.117 MB / 1.209 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/1.054, allocations: 29.8 kB / 1.209 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.782e-05/1.054, allocations: 24 kB / 1.209 GB, free: 4.258 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004632/1.055, allocations: 253.6 kB / 1.209 GB, free: 4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/1.055, allocations: 55.34 kB / 1.209 GB, free: 3.945 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/1.057, allocations: 0.896 MB / 1.21 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.371e-06/1.057, allocations: 4 kB / 1.21 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.057, allocations: 4 kB / 1.21 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.057, allocations: 7.984 kB / 1.21 GB, free: 3.008 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/1.06, allocations: 1.868 MB / 1.212 GB, free: 1.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.06, allocations: 0 / 1.212 GB, free: 1.027 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/1.06, allocations: 43.91 kB / 1.212 GB, free: 0.9844 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008024/1.061, allocations: 279.4 kB / 1.212 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/1.061, allocations: 9.812 kB / 1.212 GB, free: 0.6914 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006902/1.068, allocations: 6.842 MB / 1.219 GB, free: 9.297 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.068, allocations: 5.844 kB / 1.219 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/1.069, allocations: 0.9367 MB / 1.22 GB, free: 8.305 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/1.07, allocations: 172.4 kB / 1.22 GB, free: 8.117 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/1.07, allocations: 8 kB / 1.22 GB, free: 8.109 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/1.07, allocations: 27.97 kB / 1.22 GB, free: 8.082 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/1.07, allocations: 39.83 kB / 1.22 GB, free: 8.043 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/1.07, allocations: 12.19 kB / 1.22 GB, free: 8.031 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004276/1.071, allocations: 302.9 kB / 1.22 GB, free: 7.738 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.91e-07/1.071, allocations: 7.938 kB / 1.22 GB, free: 7.73 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001055/1.072, allocations: 196 kB / 1.22 GB, free: 7.539 MB / 0.7917 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 (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 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.0002037/1.072, allocations: 117.1 kB / 1.22 GB, free: 7.418 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00185/1.074, allocations: 1.174 MB / 1.222 GB, free: 6.199 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.074, allocations: 0 / 1.222 GB, free: 6.199 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/1.075, allocations: 0.823 MB / 1.222 GB, free: 5.324 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/1.076, allocations: 181.7 kB / 1.223 GB, free: 5.152 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/1.079, allocations: 1.457 MB / 1.224 GB, free: 3.656 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007453/1.079, allocations: 0.988 MB / 1.225 GB, free: 2.641 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003759/1.08, allocations: 93.09 kB / 1.225 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.864e-05/1.08, allocations: 35.44 kB / 1.225 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of SimCode: time 3.11e-07/1.08, allocations: 4 kB / 1.225 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of Templates: time 0.01638/1.096, allocations: 8.846 MB / 1.234 GB, free: 9.762 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (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)