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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.897/2.897, allocations: 287.5 MB / 302.4 MB, free: 8.367 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.001447/0.001447, allocations: 189.2 kB / 371 MB, free: 10.85 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.172/2.172, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.00101/0.00101, allocations: 87.31 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007568/0.0007573, allocations: 11.78 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2556, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03494/0.2906, allocations: 24.2 MB / 1.002 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01945/0.3101, allocations: 7.724 MB / 1.01 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003228/0.3134, allocations: 99.44 kB / 1.01 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002881/0.3163, allocations: 0.5115 MB / 1.01 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006141/0.3225, allocations: 1.279 MB / 1.011 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005327/0.3279, allocations: 0.9903 MB / 1.012 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01358/0.3415, allocations: 6.876 MB / 1.019 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02144/0.363, allocations: 8.18 MB / 1.027 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005646/0.3687, allocations: 1.883 MB / 1.029 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006675/0.3755, allocations: 2.398 MB / 1.031 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001744/0.3773, allocations: 212 kB / 1.031 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006428/0.3838, allocations: 0.6048 MB / 1.032 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.006623/0.3905, allocations: 1.66 MB / 1.034 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.003895/0.3945, allocations: 0.8005 MB / 1.034 GB, free: 2.707 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01655/0.4111, allocations: 6.627 MB / 1.041 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/0.4112, allocations: 0 / 1.041 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.827e-06/0.4112, allocations: 3.938 kB / 1.041 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000341/0.4116, allocations: 0 / 1.041 GB, free: 12.06 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.01742/0.429, allocations: 3.46 MB / 1.044 GB, free: 8.535 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.291e-05/0.4291, allocations: 8.031 kB / 1.044 GB, free: 8.527 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/0.4403, allocations: 0.8031 MB / 1.045 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01158/0.4519, allocations: 2.366 MB / 1.047 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006206/0.4526, allocations: 279.2 kB / 1.048 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00264/0.4553, allocations: 371.9 kB / 1.048 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02682/0.4821, allocations: 5.969 MB / 1.054 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002173/0.4824, allocations: 11.94 kB / 1.054 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001274/0.4837, allocations: 160 kB / 1.054 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001087/0.4848, allocations: 286.8 kB / 1.054 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/0.4997, allocations: 4.485 MB / 1.059 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7144/1.214, allocations: 27.68 MB / 1.086 GB, free: 63.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00435/1.219, allocations: 1.115 MB / 1.087 GB, free: 63.27 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003626/1.222, allocations: 1.017 MB / 1.088 GB, free: 62.89 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/1.223, allocations: 11.72 kB / 1.088 GB, free: 62.89 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/1.223, allocations: 45.25 kB / 1.088 GB, free: 62.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 6.021e-06/1.223, allocations: 0 / 1.088 GB, free: 62.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=131): time 0.0538/1.276, allocations: 9.668 MB / 1.097 GB, free: 58.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/1.277, allocations: 65.78 kB / 1.097 GB, free: 58.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004987/1.282, allocations: 1.48 MB / 1.099 GB, free: 57.99 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004877/1.282, allocations: 56.73 kB / 1.099 GB, free: 57.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002225/1.284, allocations: 1.667 MB / 1.1 GB, free: 56.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/1.285, allocations: 466.8 kB / 1.101 GB, free: 56.31 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/1.286, allocations: 36.38 kB / 1.101 GB, free: 56.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002316/1.286, allocations: 374.3 kB / 1.101 GB, free: 55.95 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00371/1.29, allocations: 0.9084 MB / 1.102 GB, free: 55.61 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004558/1.294, allocations: 1.458 MB / 1.104 GB, free: 54.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004288/1.299, allocations: 1.14 MB / 1.105 GB, free: 54.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.138e-05/1.299, allocations: 10.41 kB / 1.105 GB, free: 54.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01468/1.314, allocations: 3.272 MB / 1.108 GB, free: 52.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/1.314, allocations: 12.61 kB / 1.108 GB, free: 52.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-05/1.314, allocations: 18.44 kB / 1.108 GB, free: 52.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005601/1.319, allocations: 0.7396 MB / 1.109 GB, free: 52.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004112/1.323, allocations: 384.8 kB / 1.109 GB, free: 52.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02972/1.353, allocations: 15.76 MB / 1.124 GB, free: 38.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003669/1.357, allocations: 101.3 kB / 1.125 GB, free: 38.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000621/1.358, allocations: 76.97 kB / 1.125 GB, free: 38.79 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.005041/1.363, allocations: 1.311 MB / 1.126 GB, free: 38.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.364, allocations: 198.7 kB / 1.126 GB, free: 38.08 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/1.376, allocations: 2.784 MB / 1.129 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.582e-05/1.376, allocations: 15.5 kB / 1.129 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.889e-05/1.376, allocations: 11.5 kB / 1.129 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.325e-05/1.377, allocations: 3.984 kB / 1.129 GB, free: 36.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02704/1.404, allocations: 6.212 MB / 1.135 GB, free: 32.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.488e-05/1.404, allocations: 4.156 kB / 1.135 GB, free: 32.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00315/1.407, allocations: 230.7 kB / 1.135 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004208/1.411, allocations: 0.6697 MB / 1.136 GB, free: 32.21 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003423/1.412, allocations: 33 kB / 1.136 GB, free: 32.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02033/1.432, allocations: 15.5 MB / 1.151 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.432, allocations: 5.594 kB / 1.151 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/1.442, allocations: 4.001 MB / 1.155 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/1.444, allocations: 461.3 kB / 1.155 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005961/1.445, allocations: 32.7 kB / 1.155 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/1.447, allocations: 84.64 kB / 1.155 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004978/1.447, allocations: 115.8 kB / 1.156 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.447, allocations: 38.34 kB / 1.156 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00222/1.45, allocations: 0.987 MB / 1.157 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.61e-07/1.45, allocations: 0 / 1.157 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004217/1.454, allocations: 0.6857 MB / 1.157 GB, free: 14.28 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.0005703/1.455, allocations: 145.3 kB / 1.157 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008158/1.463, allocations: 3.483 MB / 1.161 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/1.463, allocations: 0.875 kB / 1.161 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005859/1.469, allocations: 2.285 MB / 1.163 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005349/1.474, allocations: 0.628 MB / 1.164 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/1.491, allocations: 7.834 MB / 1.171 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005446/1.497, allocations: 2.669 MB / 1.174 GB, free: 13.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002965/1.5, allocations: 489.4 kB / 1.174 GB, free: 13.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006394/1.5, allocations: 119.4 kB / 1.174 GB, free: 13.31 MB / 0.698 GB Notification: Performance of SimCode: time 4.007e-06/1.5, allocations: 0 / 1.174 GB, free: 13.31 MB / 0.698 GB Notification: Performance of Templates: time 0.09671/1.597, allocations: 31.19 MB / 1.205 GB, free: 14.56 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)