Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008427/0.0008424, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007633/0.007633, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.809/2.809, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003536, allocations: 12.34 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3169, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006162/0.3231, allocations: 4.733 MB / 1.079 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005437/0.3286, allocations: 3.319 MB / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003313/0.329, allocations: 11.94 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000715/0.3297, allocations: 167.1 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.3308, allocations: 364.7 kB / 1.083 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006769/0.3315, allocations: 239.5 kB / 1.083 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.3327, allocations: 0.8529 MB / 1.084 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.3342, allocations: 0.8251 MB / 1.084 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003731/0.3345, allocations: 223.1 kB / 1.085 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/0.335, allocations: 271 kB / 1.085 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.335, allocations: 16 kB / 1.085 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005832/0.3356, allocations: 331.4 kB / 1.085 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.3358, allocations: 147.6 kB / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.336, allocations: 228.6 kB / 1.086 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009215/0.3369, allocations: 0.8063 MB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.337, allocations: 0 / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.784e-06/0.337, allocations: 0 / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.337, allocations: 4 kB / 1.086 GB, free: 10.98 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001449/0.3384, allocations: 0.717 MB / 1.087 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3385, allocations: 8.031 kB / 1.087 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/0.3416, allocations: 0.6985 MB / 1.088 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007576/0.3423, allocations: 463.7 kB / 1.088 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.3424, allocations: 25.03 kB / 1.088 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.022e-05/0.3425, allocations: 36.11 kB / 1.088 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.3442, allocations: 0.8395 MB / 1.089 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.3443, allocations: 0 / 1.089 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.003e-05/0.3443, allocations: 16 kB / 1.089 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001984/0.3445, allocations: 60.52 kB / 1.089 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.3468, allocations: 0.9545 MB / 1.09 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004094/0.3509, allocations: 2.886 MB / 1.093 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.3528, allocations: 0.5605 MB / 1.093 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008327/0.3536, allocations: 316.6 kB / 1.094 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.3538, allocations: 89.08 kB / 1.094 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.3538, allocations: 38.56 kB / 1.094 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 3.236e-06/0.3539, allocations: 3.984 kB / 1.094 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of matching and sorting (n=32): time 0.01447/0.3683, allocations: 3.642 MB / 1.097 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.3684, allocations: 55.41 kB / 1.097 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.3689, allocations: 400.4 kB / 1.098 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.369, allocations: 29.7 kB / 1.098 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.3692, allocations: 231.9 kB / 1.098 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.3693, allocations: 106.3 kB / 1.098 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.26e-05/0.3694, allocations: 37.7 kB / 1.098 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3696, allocations: 354.8 kB / 1.099 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.3707, allocations: 403.6 kB / 1.099 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.3719, allocations: 484.1 kB / 1.099 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.374, allocations: 0.8629 MB / 1.1 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3741, allocations: 3.984 kB / 1.1 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.006067/0.3801, allocations: 1.709 MB / 1.102 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.3803, allocations: 152 kB / 1.102 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3803, allocations: 4 kB / 1.102 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004467/0.3847, allocations: 0.923 MB / 1.103 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007673/0.3855, allocations: 135.8 kB / 1.103 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009157/0.3947, allocations: 6.226 MB / 1.109 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000945/0.3957, allocations: 115.8 kB / 1.109 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/0.3957, allocations: 19.94 kB / 1.109 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3958, allocations: 4 kB / 1.109 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005298/0.4011, allocations: 1.636 MB / 1.111 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4011, allocations: 4 kB / 1.111 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003015/0.4041, allocations: 0.6745 MB / 1.112 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007379/0.4049, allocations: 143.8 kB / 1.112 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006196/0.4111, allocations: 5.336 MB / 1.117 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008795/0.412, allocations: 111.9 kB / 1.117 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.412, allocations: 19.94 kB / 1.117 GB, free: 10.07 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004658/0.4125, allocations: 325.5 kB / 1.117 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.146e-05/0.4126, allocations: 39.56 kB / 1.117 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005364/0.418, allocations: 1.6 MB / 1.119 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.418, allocations: 0 / 1.119 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.418, allocations: 4 kB / 1.119 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.418, allocations: 0 / 1.119 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006136/0.4242, allocations: 2.245 MB / 1.121 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.4242, allocations: 3.984 kB / 1.121 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/0.4246, allocations: 95.92 kB / 1.121 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003932/0.4286, allocations: 0.8568 MB / 1.122 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.523e-05/0.4286, allocations: 11.98 kB / 1.122 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007835/0.4365, allocations: 6.064 MB / 1.128 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.4365, allocations: 11.95 kB / 1.128 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005095/0.4416, allocations: 1.581 MB / 1.13 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/0.4419, allocations: 184.5 kB / 1.13 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-05/0.442, allocations: 11.94 kB / 1.13 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006515/0.4427, allocations: 87.86 kB / 1.13 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.4428, allocations: 35.95 kB / 1.13 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.4429, allocations: 15.94 kB / 1.13 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004321/0.4433, allocations: 303.1 kB / 1.13 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4433, allocations: 4 kB / 1.13 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009755/0.4443, allocations: 232 kB / 1.13 GB, free: 11.82 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002011/0.4445, allocations: 111.2 kB / 1.131 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004881/0.4494, allocations: 2.237 MB / 1.133 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4494, allocations: 0 / 1.133 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/0.4511, allocations: 0.8164 MB / 1.134 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008226/0.4519, allocations: 121.5 kB / 1.134 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.4542, allocations: 1.325 MB / 1.135 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/0.4548, allocations: 0.9297 MB / 1.136 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005952/0.4554, allocations: 163.2 kB / 1.136 GB, free: 5.91 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.4556, allocations: 35.42 kB / 1.136 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of SimCode: time 8.01e-07/0.4556, allocations: 0 / 1.136 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of Templates: time 0.02268/0.4782, allocations: 13.97 MB / 1.15 GB, free: 7.965 MB / 0.9044 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)