Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.523/1.523, allocations: 252 MB / 267.6 MB, free: 10.91 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.001427/0.001427, allocations: 180.8 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.187/2.187, allocations: 205.4 MB / 0.5783 GB, free: 20.2 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.0008762/0.0008762, allocations: 70.44 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 11.94 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2545, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0272/0.2818, allocations: 34.49 MB / 0.9345 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.2977, allocations: 10.59 MB / 0.9449 GB, free: 18.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003845/0.3016, allocations: 131.3 kB / 0.945 GB, free: 18.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.3041, allocations: 0.7596 MB / 0.9457 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005929/0.3101, allocations: 1.791 MB / 0.9475 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004536/0.3146, allocations: 1.281 MB / 0.9487 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01052/0.3251, allocations: 10.35 MB / 0.9588 GB, free: 4.312 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02105/0.3462, allocations: 12.66 MB / 0.9712 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006606/0.3529, allocations: 2.872 MB / 0.974 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008755/0.3617, allocations: 3.765 MB / 0.9777 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.002436/0.3641, allocations: 344 kB / 0.978 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00437/0.3685, allocations: 0.7103 MB / 0.9787 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.004634/0.3732, allocations: 2.514 MB / 0.9812 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00322/0.3764, allocations: 1.194 MB / 0.9823 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01449/0.3909, allocations: 10.19 MB / 0.9923 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.391, allocations: 8 kB / 0.9923 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.645e-06/0.391, allocations: 0 / 0.9923 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004668/0.3915, allocations: 0 / 0.9923 GB, free: 1.922 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0144/0.4059, allocations: 5.141 MB / 0.9973 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4059, allocations: 8.031 kB / 0.9973 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006429/0.4124, allocations: 1.07 MB / 0.9984 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008053/0.4205, allocations: 3.357 MB / 1.002 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000355/0.4208, allocations: 427.4 kB / 1.002 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001618/0.4225, allocations: 0.5351 MB / 1.003 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01956/0.442, allocations: 9.33 MB / 1.012 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/0.4422, allocations: 27.72 kB / 1.012 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006476/0.4429, allocations: 244 kB / 1.012 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006155/0.4435, allocations: 426.9 kB / 1.012 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0136/0.4571, allocations: 7.077 MB / 1.019 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5124/0.9696, allocations: 41.34 MB / 1.06 GB, free: 119.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004463/0.9741, allocations: 3.093 MB / 1.063 GB, free: 119.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002987/0.9771, allocations: 2.115 MB / 1.065 GB, free: 119.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.9772, allocations: 23.61 kB / 1.065 GB, free: 119.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.577e-05/0.9773, allocations: 62.19 kB / 1.065 GB, free: 119.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 4.328e-06/0.9773, allocations: 0 / 1.065 GB, free: 119.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.0267/1.004, allocations: 10.47 MB / 1.075 GB, free: 118.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/1.004, allocations: 73.22 kB / 1.075 GB, free: 118.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002967/1.007, allocations: 1.984 MB / 1.077 GB, free: 117.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002232/1.007, allocations: 66.45 kB / 1.077 GB, free: 117.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001367/1.009, allocations: 2.401 MB / 1.079 GB, free: 116.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005645/1.009, allocations: 0.732 MB / 1.08 GB, free: 116.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/1.009, allocations: 53.59 kB / 1.08 GB, free: 116.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.01, allocations: 412 kB / 1.081 GB, free: 115.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/1.011, allocations: 1.366 MB / 1.082 GB, free: 115.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/1.013, allocations: 2.09 MB / 1.084 GB, free: 114.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/1.015, allocations: 1.724 MB / 1.086 GB, free: 114.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/1.015, allocations: 7.906 kB / 1.086 GB, free: 114.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00748/1.023, allocations: 5.037 MB / 1.091 GB, free: 112 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/1.023, allocations: 14.34 kB / 1.091 GB, free: 112 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.716e-05/1.023, allocations: 22.5 kB / 1.091 GB, free: 112 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004299/1.027, allocations: 1.56 MB / 1.092 GB, free: 111.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/1.029, allocations: 458.1 kB / 1.093 GB, free: 111.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0173/1.046, allocations: 17.07 MB / 1.109 GB, free: 99.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/1.049, allocations: 143.7 kB / 1.109 GB, free: 99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/1.049, allocations: 119.3 kB / 1.11 GB, free: 98.97 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003283/1.052, allocations: 1.941 MB / 1.111 GB, free: 97.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006582/1.053, allocations: 292.2 kB / 1.112 GB, free: 97.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005864/1.059, allocations: 4.424 MB / 1.116 GB, free: 93.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/1.059, allocations: 20 kB / 1.116 GB, free: 93.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/1.059, allocations: 16.98 kB / 1.116 GB, free: 93.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/1.059, allocations: 11.95 kB / 1.116 GB, free: 93.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/1.072, allocations: 9.647 MB / 1.125 GB, free: 83.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.072, allocations: 8 kB / 1.125 GB, free: 83.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008907/1.073, allocations: 235.5 kB / 1.126 GB, free: 83.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002944/1.076, allocations: 1.423 MB / 1.127 GB, free: 81.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/1.076, allocations: 44 kB / 1.127 GB, free: 81.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/1.092, allocations: 17.07 MB / 1.144 GB, free: 64.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.092, allocations: 11.94 kB / 1.144 GB, free: 64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006243/1.098, allocations: 4.513 MB / 1.148 GB, free: 59.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/1.1, allocations: 0.642 MB / 1.149 GB, free: 58.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/1.1, allocations: 43.19 kB / 1.149 GB, free: 58.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/1.101, allocations: 119.9 kB / 1.149 GB, free: 58.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004216/1.102, allocations: 181.6 kB / 1.149 GB, free: 58.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/1.102, allocations: 60 kB / 1.149 GB, free: 58.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001503/1.103, allocations: 1.292 MB / 1.15 GB, free: 57.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.103, allocations: 4 kB / 1.15 GB, free: 57.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003433/1.107, allocations: 1.141 MB / 1.152 GB, free: 55.89 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002827/1.107, allocations: 163.9 kB / 1.152 GB, free: 55.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006052/1.113, allocations: 4.671 MB / 1.156 GB, free: 51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.113, allocations: 0 / 1.156 GB, free: 51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003787/1.117, allocations: 2.922 MB / 1.159 GB, free: 48.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003903/1.121, allocations: 0.8419 MB / 1.16 GB, free: 47.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/1.137, allocations: 11.99 MB / 1.172 GB, free: 35.13 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00351/1.14, allocations: 3.791 MB / 1.175 GB, free: 31.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007946/1.141, allocations: 167.4 kB / 1.176 GB, free: 31.14 MB / 0.698 GB Notification: Performance of SimCode: time 9.31e-07/1.141, allocations: 0 / 1.176 GB, free: 31.14 MB / 0.698 GB Notification: Performance of Templates: time 0.1957/1.337, allocations: 171.4 MB / 1.343 GB, free: 3.848 MB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)