Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.624/1.624, allocations: 288.4 MB / 303.7 MB, free: 8.016 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.0009799/0.0009797, allocations: 184.5 kB / 372.3 MB, free: 10.12 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.512/1.512, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0007168/0.0007168, allocations: 106.8 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004454, allocations: 13.25 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2539, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01991/0.2738, allocations: 24.21 MB / 1.004 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01338/0.2873, allocations: 7.727 MB / 1.011 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00337/0.2907, allocations: 103.4 kB / 1.011 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.2924, allocations: 0.5115 MB / 1.012 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004324/0.2967, allocations: 1.368 MB / 1.013 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00387/0.3006, allocations: 1.064 MB / 1.014 GB, free: 8.246 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00872/0.3094, allocations: 6.952 MB / 1.021 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01493/0.3243, allocations: 9.02 MB / 1.03 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004608/0.3289, allocations: 1.887 MB / 1.032 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005208/0.3342, allocations: 2.398 MB / 1.034 GB, free: 3.863 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001394/0.3356, allocations: 212 kB / 1.034 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003942/0.3396, allocations: 1.154 MB / 1.035 GB, free: 2.5 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.003171/0.3427, allocations: 1.652 MB / 1.037 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.004906/0.3477, allocations: 1.884 MB / 1.039 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.009396/0.3571, allocations: 6.654 MB / 1.045 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.3571, allocations: 0 / 1.045 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3571, allocations: 0 / 1.045 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003603/0.3575, allocations: 0 / 1.045 GB, free: 8.273 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0119/0.3694, allocations: 3.428 MB / 1.049 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/0.3695, allocations: 8.031 kB / 1.049 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005535/0.375, allocations: 0.8 MB / 1.049 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006713/0.3818, allocations: 2.424 MB / 1.052 GB, free: 1.488 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003151/0.3821, allocations: 275.6 kB / 1.052 GB, free: 1.219 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001854/0.384, allocations: 372.6 kB / 1.052 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01664/0.4007, allocations: 5.957 MB / 1.058 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002341/0.4009, allocations: 23.86 kB / 1.058 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001206/0.4022, allocations: 160 kB / 1.058 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006716/0.4028, allocations: 278.9 kB / 1.059 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.4133, allocations: 4.496 MB / 1.063 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6952/1.109, allocations: 27.7 MB / 1.09 GB, free: 61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/1.111, allocations: 1.113 MB / 1.091 GB, free: 60.57 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/1.112, allocations: 1.023 MB / 1.092 GB, free: 60.19 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-05/1.112, allocations: 10.75 kB / 1.092 GB, free: 60.19 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/1.113, allocations: 49.8 kB / 1.092 GB, free: 60.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 4.238e-06/1.113, allocations: 0 / 1.092 GB, free: 60.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=131): time 0.02423/1.137, allocations: 9.663 MB / 1.102 GB, free: 55.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/1.137, allocations: 65 kB / 1.102 GB, free: 55.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/1.139, allocations: 1.476 MB / 1.103 GB, free: 55.28 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/1.14, allocations: 52.17 kB / 1.103 GB, free: 55.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/1.141, allocations: 1.667 MB / 1.105 GB, free: 53.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004742/1.141, allocations: 476.1 kB / 1.105 GB, free: 53.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.411e-05/1.141, allocations: 35.59 kB / 1.105 GB, free: 53.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.141, allocations: 374.4 kB / 1.106 GB, free: 53.24 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/1.143, allocations: 0.9119 MB / 1.107 GB, free: 52.89 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/1.145, allocations: 1.458 MB / 1.108 GB, free: 51.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/1.148, allocations: 2.533 MB / 1.111 GB, free: 50.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/1.148, allocations: 10.11 kB / 1.111 GB, free: 50.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006278/1.155, allocations: 3.273 MB / 1.114 GB, free: 48.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/1.155, allocations: 11.75 kB / 1.114 GB, free: 48.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/1.155, allocations: 19.78 kB / 1.114 GB, free: 48.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/1.157, allocations: 0.7402 MB / 1.115 GB, free: 48.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/1.158, allocations: 385.7 kB / 1.115 GB, free: 48.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/1.172, allocations: 15.76 MB / 1.13 GB, free: 34.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/1.174, allocations: 105.5 kB / 1.13 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/1.174, allocations: 76.22 kB / 1.13 GB, free: 34.05 MB / 0.6823 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00318/1.177, allocations: 1.316 MB / 1.132 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005535/1.178, allocations: 198.6 kB / 1.132 GB, free: 33.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005493/1.184, allocations: 2.784 MB / 1.135 GB, free: 31.45 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/1.184, allocations: 13.64 kB / 1.135 GB, free: 31.45 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/1.184, allocations: 10.78 kB / 1.135 GB, free: 31.45 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/1.184, allocations: 11.95 kB / 1.135 GB, free: 31.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/1.195, allocations: 6.208 MB / 1.141 GB, free: 27.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/1.195, allocations: 9.125 kB / 1.141 GB, free: 27.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/1.196, allocations: 229.7 kB / 1.141 GB, free: 27.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/1.198, allocations: 0.6691 MB / 1.142 GB, free: 27.19 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/1.198, allocations: 29.75 kB / 1.142 GB, free: 27.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/1.209, allocations: 15.51 MB / 1.157 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.21, allocations: 11.75 kB / 1.157 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005649/1.215, allocations: 3.99 MB / 1.161 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.216, allocations: 455.5 kB / 1.161 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/1.217, allocations: 39.33 kB / 1.161 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008788/1.217, allocations: 78.2 kB / 1.161 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003274/1.218, allocations: 117.7 kB / 1.161 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/1.218, allocations: 38.28 kB / 1.161 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001262/1.219, allocations: 0.9848 MB / 1.162 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/1.219, allocations: 0 / 1.162 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002787/1.222, allocations: 0.6827 MB / 1.163 GB, free: 9.262 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000285/1.222, allocations: 152.3 kB / 1.163 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004909/1.227, allocations: 3.495 MB / 1.167 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.227, allocations: 4.25 kB / 1.167 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002657/1.23, allocations: 2.287 MB / 1.169 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/1.234, allocations: 0.6046 MB / 1.169 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/1.246, allocations: 7.846 MB / 1.177 GB, free: 10.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003155/1.25, allocations: 2.668 MB / 1.18 GB, free: 7.957 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001889/1.252, allocations: 489.4 kB / 1.18 GB, free: 7.477 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/1.252, allocations: 119.4 kB / 1.18 GB, free: 7.359 MB / 0.698 GB Notification: Performance of SimCode: time 1.213e-06/1.252, allocations: 3.938 kB / 1.18 GB, free: 7.355 MB / 0.698 GB Notification: Performance of Templates: time 0.06146/1.313, allocations: 31.57 MB / 1.211 GB, free: 8.254 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)