Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001547/0.001547, allocations: 195.7 kB / 16.14 MB, free: 6.668 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.529/1.529, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.03/3.03, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 66 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3939, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008352/0.4023, allocations: 6.825 MB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005272/0.4076, allocations: 3.071 MB / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005179/0.4082, allocations: 27.81 kB / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.4104, allocations: 0.8875 MB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.4117, allocations: 481.6 kB / 1.079 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.4128, allocations: 410.9 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001565/0.4143, allocations: 1.583 MB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.4154, allocations: 0.6523 MB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005491/0.416, allocations: 418.3 kB / 1.082 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006618/0.4167, allocations: 0.5292 MB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.893e-05/0.4168, allocations: 48 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008196/0.4176, allocations: 459 kB / 1.083 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.4179, allocations: 287.2 kB / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004423/0.4183, allocations: 429.7 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.4195, allocations: 1.207 MB / 1.084 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4196, allocations: 0 / 1.084 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.82e-07/0.4196, allocations: 4 kB / 1.084 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.4196, allocations: 0 / 1.084 GB, free: 9.609 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00203/0.4216, allocations: 1.161 MB / 1.086 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.4217, allocations: 8.031 kB / 1.086 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.4233, allocations: 239.6 kB / 1.086 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008865/0.4242, allocations: 0.5607 MB / 1.086 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.4242, allocations: 49.67 kB / 1.086 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.4243, allocations: 64.36 kB / 1.086 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.4259, allocations: 1.089 MB / 1.087 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.426, allocations: 3.938 kB / 1.087 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.837e-05/0.4261, allocations: 39.98 kB / 1.087 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001516/0.4262, allocations: 89.25 kB / 1.088 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.4274, allocations: 0.7503 MB / 1.088 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005844/0.4333, allocations: 5.897 MB / 1.094 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.4343, allocations: 0.5501 MB / 1.095 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/0.4348, allocations: 326 kB / 1.095 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.4348, allocations: 4.438 kB / 1.095 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.4349, allocations: 43 kB / 1.095 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=47): time 2.875e-06/0.4349, allocations: 4 kB / 1.095 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.004384/0.4393, allocations: 1.986 MB / 1.097 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.4394, allocations: 59.84 kB / 1.097 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007243/0.4401, allocations: 0.5548 MB / 1.098 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.4402, allocations: 41.7 kB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.4405, allocations: 418.9 kB / 1.098 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.4407, allocations: 173.6 kB / 1.098 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.4409, allocations: 122.5 kB / 1.098 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.4411, allocations: 378.7 kB / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.4415, allocations: 273.8 kB / 1.099 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005609/0.4421, allocations: 497 kB / 1.099 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.4431, allocations: 0.8132 MB / 1.1 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4432, allocations: 0 / 1.1 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0018/0.445, allocations: 1.091 MB / 1.101 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.445, allocations: 8 kB / 1.101 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.445, allocations: 8 kB / 1.101 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008532/0.4459, allocations: 279.2 kB / 1.101 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.4463, allocations: 131.7 kB / 1.102 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006207/0.4526, allocations: 6.587 MB / 1.108 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006589/0.4532, allocations: 39.97 kB / 1.108 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/0.4533, allocations: 28 kB / 1.108 GB, free: 15.75 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.00045/0.4538, allocations: 258.2 kB / 1.108 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.4539, allocations: 71.16 kB / 1.108 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.4554, allocations: 0.8887 MB / 1.109 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4555, allocations: 12 kB / 1.109 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4555, allocations: 4.188 kB / 1.109 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4555, allocations: 3.984 kB / 1.109 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.4581, allocations: 1.724 MB / 1.111 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.4581, allocations: 7.938 kB / 1.111 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.4584, allocations: 63.89 kB / 1.111 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008048/0.4592, allocations: 263.4 kB / 1.111 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.4593, allocations: 12 kB / 1.111 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006151/0.4654, allocations: 6.591 MB / 1.118 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.4655, allocations: 4.031 kB / 1.118 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.4672, allocations: 0.9874 MB / 1.119 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003545/0.4676, allocations: 188.2 kB / 1.119 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.4677, allocations: 15.94 kB / 1.119 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004101/0.4681, allocations: 27.97 kB / 1.119 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.4683, allocations: 43.88 kB / 1.119 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.4683, allocations: 20 kB / 1.119 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004845/0.4688, allocations: 387.1 kB / 1.119 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4688, allocations: 0 / 1.119 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008926/0.4697, allocations: 228 kB / 1.12 GB, free: 3.258 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001839/0.4699, allocations: 119.1 kB / 1.12 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00208/0.472, allocations: 1.271 MB / 1.121 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.472, allocations: 0 / 1.121 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.4733, allocations: 0.8855 MB / 1.122 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.4744, allocations: 206.6 kB / 1.122 GB, free: 0.6719 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.4771, allocations: 1.646 MB / 1.124 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.4781, allocations: 1.016 MB / 1.125 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000597/0.4788, allocations: 122.1 kB / 1.125 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.4789, allocations: 43.44 kB / 1.125 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of SimCode: time 9.82e-07/0.4789, allocations: 3.938 kB / 1.125 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of Templates: time 0.02244/0.5014, allocations: 10.78 MB / 1.135 GB, free: 3.105 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)