Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.716/2.716, allocations: 287.3 MB / 302.3 MB, free: 8.352 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.001561/0.001561, allocations: 182.9 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.421/2.421, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001122, allocations: 96.16 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000649/0.000649, allocations: 16.25 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2191, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04541/0.2646, allocations: 30.65 MB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02726/0.2919, allocations: 11.04 MB / 1.019 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003378/0.2953, allocations: 131.2 kB / 1.019 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003403/0.2988, allocations: 0.6988 MB / 1.02 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006769/0.3056, allocations: 1.328 MB / 1.021 GB, free: 420 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.007199/0.3129, allocations: 1.46 MB / 1.022 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009557/0.3225, allocations: 3.87 MB / 1.026 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0331/0.3556, allocations: 12.55 MB / 1.038 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006498/0.3622, allocations: 2.293 MB / 1.041 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006297/0.3686, allocations: 2.371 MB / 1.043 GB, free: 9.766 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001978/0.3706, allocations: 324 kB / 1.043 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004695/0.3753, allocations: 0.8232 MB / 1.044 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.00533/0.3807, allocations: 2.249 MB / 1.046 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003269/0.384, allocations: 1.101 MB / 1.047 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01675/0.4008, allocations: 9.779 MB / 1.057 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.4009, allocations: 4 kB / 1.057 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.486e-06/0.4009, allocations: 0 / 1.057 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004045/0.4013, allocations: 0 / 1.057 GB, free: 11.45 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01665/0.418, allocations: 4.671 MB / 1.062 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.4181, allocations: 12.03 kB / 1.062 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008981/0.4271, allocations: 1.031 MB / 1.063 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.4378, allocations: 3.192 MB / 1.066 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005981/0.4384, allocations: 415.1 kB / 1.066 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002381/0.4408, allocations: 0.5389 MB / 1.067 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6486/1.089, allocations: 8.979 MB / 1.075 GB, free: 76.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003344/1.09, allocations: 33.03 kB / 1.075 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001723/1.092, allocations: 236.2 kB / 1.076 GB, free: 75.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007302/1.092, allocations: 350.3 kB / 1.076 GB, free: 75.94 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02349/1.116, allocations: 6.785 MB / 1.083 GB, free: 73.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06355/1.179, allocations: 40.19 MB / 1.122 GB, free: 39.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006402/1.186, allocations: 3.098 MB / 1.125 GB, free: 37.53 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/1.186, allocations: 19.38 kB / 1.125 GB, free: 37.53 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/1.186, allocations: 54.78 kB / 1.125 GB, free: 37.47 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=179): time 5.3e-06/1.186, allocations: 0 / 1.125 GB, free: 37.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182): time 0.04411/1.23, allocations: 9.862 MB / 1.135 GB, free: 31.86 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/1.231, allocations: 70.44 kB / 1.135 GB, free: 31.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003151/1.234, allocations: 1.513 MB / 1.136 GB, free: 30.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003861/1.234, allocations: 56.14 kB / 1.136 GB, free: 30.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001675/1.236, allocations: 2.256 MB / 1.138 GB, free: 28.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009237/1.237, allocations: 0.6307 MB / 1.139 GB, free: 28.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/1.237, allocations: 44.34 kB / 1.139 GB, free: 28.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.237, allocations: 396.4 kB / 1.139 GB, free: 27.95 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002989/1.24, allocations: 1.17 MB / 1.141 GB, free: 27.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003412/1.244, allocations: 1.867 MB / 1.142 GB, free: 25.78 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003993/1.248, allocations: 1.508 MB / 1.144 GB, free: 24.97 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.543e-05/1.248, allocations: 7.875 kB / 1.144 GB, free: 24.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.0128/1.261, allocations: 4.548 MB / 1.148 GB, free: 22.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/1.261, allocations: 22.02 kB / 1.148 GB, free: 22.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.404e-05/1.261, allocations: 22.88 kB / 1.148 GB, free: 22.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006521/1.267, allocations: 1.591 MB / 1.15 GB, free: 21.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/1.27, allocations: 355.3 kB / 1.15 GB, free: 21.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03385/1.304, allocations: 17.69 MB / 1.167 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00274/1.306, allocations: 115.9 kB / 1.168 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005274/1.307, allocations: 95.98 kB / 1.168 GB, free: 3.066 MB / 0.6823 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 (177): * Single equations (assignments): 173 * 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 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004809/1.312, allocations: 1.902 MB / 1.17 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007396/1.313, allocations: 221.4 kB / 1.17 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/1.326, allocations: 4.071 MB / 1.174 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.599e-05/1.326, allocations: 19.38 kB / 1.174 GB, free: 12.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.616e-05/1.326, allocations: 16 kB / 1.174 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-05/1.326, allocations: 15.95 kB / 1.174 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02963/1.356, allocations: 9.444 MB / 1.183 GB, free: 3.125 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/1.356, allocations: 4 kB / 1.183 GB, free: 3.121 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/1.358, allocations: 183.7 kB / 1.183 GB, free: 2.941 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00671/1.364, allocations: 1.355 MB / 1.185 GB, free: 1.578 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000404/1.365, allocations: 28 kB / 1.185 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03734/1.402, allocations: 16.56 MB / 1.201 GB, free: 488 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.632e-05/1.402, allocations: 8 kB / 1.201 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/1.415, allocations: 4.342 MB / 1.205 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/1.417, allocations: 0.5334 MB / 1.205 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007209/1.418, allocations: 36 kB / 1.206 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/1.42, allocations: 87.89 kB / 1.206 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000816/1.421, allocations: 161.7 kB / 1.206 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/1.421, allocations: 48 kB / 1.206 GB, free: 11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002549/1.423, allocations: 0.9851 MB / 1.207 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.21e-07/1.424, allocations: 0 / 1.207 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005369/1.429, allocations: 0.9844 MB / 1.208 GB, free: 9.004 MB / 0.7292 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 (85): * Single equations (assignments): 81 * 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,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006461/1.43, allocations: 155.9 kB / 1.208 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01287/1.442, allocations: 4.287 MB / 1.212 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/1.443, allocations: 4.062 kB / 1.212 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.009303/1.452, allocations: 2.67 MB / 1.215 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008666/1.461, allocations: 0.6746 MB / 1.215 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03249/1.493, allocations: 10.52 MB / 1.226 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008714/1.502, allocations: 3.664 MB / 1.229 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002654/1.505, allocations: 463.9 kB / 1.23 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007244/1.505, allocations: 115.4 kB / 1.23 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of SimCode: time 1.422e-06/1.505, allocations: 3.938 kB / 1.23 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of Templates: time 0.1237/1.629, allocations: 40.8 MB / 1.27 GB, free: 9.855 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)