Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 192.3 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.933/2.933, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 62.36 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3683, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03038/0.3987, allocations: 26.45 MB / 1.094 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01518/0.4139, allocations: 7.989 MB / 1.101 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002986/0.417, allocations: 103.4 kB / 1.101 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007317/0.4244, allocations: 2.591 MB / 1.104 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005409/0.4298, allocations: 1.458 MB / 1.105 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005219/0.435, allocations: 1.543 MB / 1.107 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01036/0.4454, allocations: 6.15 MB / 1.113 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01544/0.4609, allocations: 8.963 MB / 1.122 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005093/0.4661, allocations: 2.613 MB / 1.124 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005679/0.4718, allocations: 2.967 MB / 1.127 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002313/0.4741, allocations: 0.5078 MB / 1.128 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004237/0.4784, allocations: 1.291 MB / 1.129 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003656/0.4821, allocations: 2.047 MB / 1.131 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00566/0.4878, allocations: 2.377 MB / 1.133 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.4985, allocations: 8.071 MB / 1.141 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4986, allocations: 4 kB / 1.141 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4986, allocations: 0 / 1.141 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002835/0.4989, allocations: 0 / 1.141 GB, free: 15.37 MB / 0.9044 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.01274/0.5116, allocations: 4.232 MB / 1.145 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.5117, allocations: 8.031 kB / 1.145 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005243/0.517, allocations: 0.8 MB / 1.146 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005381/0.5224, allocations: 2.432 MB / 1.148 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002971/0.5227, allocations: 279.6 kB / 1.149 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001475/0.5242, allocations: 380.5 kB / 1.149 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/0.5382, allocations: 5.992 MB / 1.155 GB, free: 0.8789 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001777/0.5384, allocations: 15.78 kB / 1.155 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001055/0.5395, allocations: 160 kB / 1.155 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006595/0.5401, allocations: 282.9 kB / 1.155 GB, free: 440 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009945/0.5501, allocations: 4.524 MB / 1.16 GB, free: 11.89 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03462/0.5848, allocations: 27.64 MB / 1.187 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/0.587, allocations: 1.127 MB / 1.188 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.5886, allocations: 1.023 MB / 1.189 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.5888, allocations: 13 kB / 1.189 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.5888, allocations: 43.56 kB / 1.189 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=110): time 3.336e-06/0.5888, allocations: 3.938 kB / 1.189 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=131): time 0.02267/0.6115, allocations: 9.672 MB / 1.198 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.6116, allocations: 68.72 kB / 1.198 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/0.6142, allocations: 1.498 MB / 1.2 GB, free: 60 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.6143, allocations: 45.7 kB / 1.2 GB, free: 8 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/0.6155, allocations: 1.663 MB / 1.201 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004844/0.616, allocations: 473.3 kB / 1.202 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005755/0.6166, allocations: 335.2 kB / 1.202 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6167, allocations: 305.1 kB / 1.203 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.6182, allocations: 0.9174 MB / 1.203 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.62, allocations: 1.459 MB / 1.205 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/0.6233, allocations: 2.55 MB / 1.207 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-05/0.6234, allocations: 8 kB / 1.207 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006224/0.6296, allocations: 3.282 MB / 1.211 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.6297, allocations: 12 kB / 1.211 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.514e-05/0.6297, allocations: 23.98 kB / 1.211 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002431/0.6321, allocations: 0.7454 MB / 1.211 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/0.6338, allocations: 387.4 kB / 1.212 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/0.651, allocations: 17.04 MB / 1.228 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.6528, allocations: 103.8 kB / 1.228 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.653, allocations: 76 kB / 1.229 GB, free: 0.8164 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002134/0.6551, allocations: 1.313 MB / 1.23 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/0.6556, allocations: 201.6 kB / 1.23 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005038/0.6606, allocations: 2.788 MB / 1.233 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.6607, allocations: 15.98 kB / 1.233 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.6607, allocations: 8 kB / 1.233 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.6607, allocations: 3.984 kB / 1.233 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.6712, allocations: 6.22 MB / 1.239 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.6712, allocations: 8 kB / 1.239 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.6725, allocations: 228.3 kB / 1.239 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002067/0.6745, allocations: 0.679 MB / 1.24 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.6747, allocations: 39.92 kB / 1.24 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6266/1.301, allocations: 16.78 MB / 1.256 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/1.301, allocations: 6.188 kB / 1.256 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00735/1.309, allocations: 4.001 MB / 1.26 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/1.31, allocations: 452.3 kB / 1.26 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/1.31, allocations: 37.42 kB / 1.261 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009088/1.311, allocations: 87.66 kB / 1.261 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000418/1.311, allocations: 120.5 kB / 1.261 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/1.312, allocations: 40.16 kB / 1.261 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001442/1.313, allocations: 0.9973 MB / 1.262 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.7e-07/1.313, allocations: 0 / 1.262 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002316/1.315, allocations: 0.6847 MB / 1.262 GB, free: 154.1 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002473/1.316, allocations: 153.9 kB / 1.263 GB, free: 154 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006124/1.322, allocations: 4.09 MB / 1.267 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.322, allocations: 5.031 kB / 1.267 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003275/1.325, allocations: 2.299 MB / 1.269 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003171/1.328, allocations: 0.6658 MB / 1.269 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/1.341, allocations: 8.113 MB / 1.277 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003139/1.344, allocations: 2.667 MB / 1.28 GB, free: 144.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002011/1.346, allocations: 484.3 kB / 1.28 GB, free: 144.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/1.347, allocations: 118 kB / 1.281 GB, free: 144.6 MB / 0.9981 GB Notification: Performance of SimCode: time 8.91e-07/1.347, allocations: 3.938 kB / 1.281 GB, free: 144.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.06573/1.412, allocations: 33.83 MB / 1.314 GB, free: 131.3 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)