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_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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 252 MB / 267.6 MB, free: 10.92 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.001214/0.001214, allocations: 185.3 kB / 327.3 MB, free: 2.211 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.571/1.571, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0007451/0.0007451, allocations: 98.36 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003358, allocations: 11.31 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2061, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02535/0.2315, allocations: 30.2 MB / 0.9303 GB, free: 33.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01774/0.2493, allocations: 14.01 MB / 0.944 GB, free: 19.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003338/0.2527, allocations: 135.2 kB / 0.9441 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.2553, allocations: 0.7014 MB / 0.9448 GB, free: 18.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006943/0.2623, allocations: 2.401 MB / 0.9472 GB, free: 16.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004386/0.2667, allocations: 1.388 MB / 0.9485 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009593/0.2763, allocations: 9.723 MB / 0.958 GB, free: 5.176 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01641/0.2928, allocations: 9.852 MB / 0.9676 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005921/0.2988, allocations: 2.938 MB / 0.9705 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006008/0.3048, allocations: 3.383 MB / 0.9738 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001873/0.3067, allocations: 292 kB / 0.9741 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003804/0.3105, allocations: 0.8116 MB / 0.9749 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.003944/0.3145, allocations: 2.268 MB / 0.9771 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002971/0.3175, allocations: 1.124 MB / 0.9782 GB, free: 408 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.3287, allocations: 9.163 MB / 0.9871 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.3287, allocations: 0 / 0.9871 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.935e-06/0.3287, allocations: 0 / 0.9871 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004146/0.3291, allocations: 0 / 0.9871 GB, free: 7.211 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01406/0.3432, allocations: 4.892 MB / 0.9919 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.3433, allocations: 12.03 kB / 0.9919 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008036/0.3513, allocations: 1.141 MB / 0.993 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007704/0.3591, allocations: 3.232 MB / 0.9962 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000384/0.3595, allocations: 377.9 kB / 0.9966 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001924/0.3614, allocations: 491.9 kB / 0.997 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01833/0.3798, allocations: 7.981 MB / 1.005 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001678/0.38, allocations: 19.78 kB / 1.005 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007607/0.3808, allocations: 216 kB / 1.005 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00113/0.3819, allocations: 441.5 kB / 1.005 GB, free: 4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01236/0.3943, allocations: 6.053 MB / 1.011 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04196/0.4363, allocations: 35.18 MB / 1.046 GB, free: 7.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/0.4393, allocations: 2.018 MB / 1.048 GB, free: 5.543 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002459/0.4418, allocations: 1.85 MB / 1.05 GB, free: 3.695 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.4419, allocations: 25.95 kB / 1.05 GB, free: 3.668 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.527e-05/0.4419, allocations: 52.56 kB / 1.05 GB, free: 3.609 MB / 0.698 GB Notification: Performance of pre-optimization done (n=171): time 4.088e-06/0.442, allocations: 0 / 1.05 GB, free: 3.609 MB / 0.698 GB Notification: Performance of matching and sorting (n=276): time 0.6393/1.081, allocations: 38.97 MB / 1.088 GB, free: 128.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/1.081, allocations: 81.58 kB / 1.088 GB, free: 128.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003094/1.084, allocations: 2.257 MB / 1.09 GB, free: 126.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003523/1.085, allocations: 73.02 kB / 1.09 GB, free: 126.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001486/1.086, allocations: 2.274 MB / 1.092 GB, free: 125.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007944/1.087, allocations: 0.9432 MB / 1.093 GB, free: 124.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/1.087, allocations: 59.25 kB / 1.093 GB, free: 124.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.087, allocations: 420.5 kB / 1.094 GB, free: 124 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002434/1.09, allocations: 1.966 MB / 1.096 GB, free: 122.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002609/1.093, allocations: 2.591 MB / 1.098 GB, free: 119.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/1.095, allocations: 2.368 MB / 1.1 GB, free: 117.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/1.095, allocations: 4 kB / 1.1 GB, free: 117.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0128/1.108, allocations: 7.727 MB / 1.108 GB, free: 109.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.108, allocations: 12 kB / 1.108 GB, free: 109.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/1.108, allocations: 16 kB / 1.108 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008371/1.117, allocations: 3.211 MB / 1.111 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/1.118, allocations: 403.3 kB / 1.111 GB, free: 105.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03531/1.154, allocations: 31.08 MB / 1.142 GB, free: 73.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003661/1.157, allocations: 164.7 kB / 1.142 GB, free: 73.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003646/1.158, allocations: 108 kB / 1.142 GB, free: 73.68 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003695/1.161, allocations: 1.802 MB / 1.144 GB, free: 71.87 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000849/1.162, allocations: 329.5 kB / 1.144 GB, free: 71.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/1.174, allocations: 7.326 MB / 1.151 GB, free: 64.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/1.174, allocations: 31.98 kB / 1.151 GB, free: 64.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.359e-05/1.175, allocations: 28 kB / 1.151 GB, free: 64.08 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.468e-05/1.175, allocations: 19.95 kB / 1.151 GB, free: 64.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02022/1.195, allocations: 12.89 MB / 1.164 GB, free: 51.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/1.195, allocations: 15.25 kB / 1.164 GB, free: 51.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008502/1.196, allocations: 227.6 kB / 1.164 GB, free: 50.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007349/1.203, allocations: 2.856 MB / 1.167 GB, free: 47.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002807/1.203, allocations: 53.59 kB / 1.167 GB, free: 47.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03239/1.236, allocations: 29.92 MB / 1.196 GB, free: 17.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.964e-06/1.236, allocations: 12.56 kB / 1.196 GB, free: 17.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/1.247, allocations: 6.852 MB / 1.203 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/1.249, allocations: 0.7821 MB / 1.204 GB, free: 9.301 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004586/1.25, allocations: 59.98 kB / 1.204 GB, free: 9.242 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/1.251, allocations: 163.8 kB / 1.204 GB, free: 9.082 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008495/1.252, allocations: 257.2 kB / 1.204 GB, free: 8.832 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/1.252, allocations: 76.94 kB / 1.204 GB, free: 8.758 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002064/1.254, allocations: 1.506 MB / 1.206 GB, free: 7.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.254, allocations: 0 / 1.206 GB, free: 7.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004614/1.259, allocations: 1.352 MB / 1.207 GB, free: 5.898 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003652/1.259, allocations: 186.6 kB / 1.207 GB, free: 5.707 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01065/1.27, allocations: 6.91 MB / 1.214 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.086e-05/1.27, allocations: 8 kB / 1.214 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.008509/1.279, allocations: 4.4 MB / 1.218 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005901/1.285, allocations: 1.032 MB / 1.219 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/1.307, allocations: 12.64 MB / 1.232 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005161/1.312, allocations: 3.749 MB / 1.235 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009067/1.313, allocations: 175.4 kB / 1.235 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of SimCode: time 3.176e-06/1.313, allocations: 0 / 1.235 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of Templates: time 0.8453/2.158, allocations: 226.8 MB / 1.457 GB, free: 243.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)