Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005344/0.005344, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 16.47 kB / 0.9158 GB, free: 32.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3327, allocations: 162.1 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0382/0.371, allocations: 33.73 MB / 1.107 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02091/0.3919, allocations: 11.38 MB / 1.118 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004537/0.3965, allocations: 135.2 kB / 1.118 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003003/0.3995, allocations: 0.6938 MB / 1.119 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007592/0.4071, allocations: 1.867 MB / 1.121 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006586/0.4138, allocations: 1.999 MB / 1.123 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01728/0.4311, allocations: 12.41 MB / 1.135 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02521/0.4563, allocations: 14.33 MB / 1.149 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007622/0.464, allocations: 2.622 MB / 1.151 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008564/0.4726, allocations: 3.554 MB / 1.155 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001803/0.4745, allocations: 328 kB / 1.155 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00584/0.4803, allocations: 1.91 MB / 1.157 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004504/0.4849, allocations: 2.467 MB / 1.16 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.005689/0.4906, allocations: 2.726 MB / 1.162 GB, free: 13.08 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01542/0.506, allocations: 11.44 MB / 1.173 GB, free: 1.605 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.5061, allocations: 0 / 1.173 GB, free: 1.605 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.406e-06/0.5061, allocations: 4 kB / 1.173 GB, free: 1.602 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003824/0.5065, allocations: 0 / 1.173 GB, free: 1.602 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01232/0.5188, allocations: 4.656 MB / 1.178 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5189, allocations: 8.031 kB / 1.178 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007109/0.526, allocations: 1.06 MB / 1.179 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007214/0.5332, allocations: 3.258 MB / 1.182 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003485/0.5336, allocations: 423.4 kB / 1.183 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001358/0.535, allocations: 0.5393 MB / 1.183 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/0.5559, allocations: 9.079 MB / 1.192 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001916/0.5561, allocations: 27.69 kB / 1.192 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006594/0.5568, allocations: 240 kB / 1.192 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004139/0.5572, allocations: 346.8 kB / 1.192 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/0.5723, allocations: 6.83 MB / 1.199 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05326/0.6256, allocations: 40.19 MB / 1.238 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004161/0.6298, allocations: 3.113 MB / 1.241 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00272/0.6325, allocations: 1.954 MB / 1.243 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.801e-05/0.6327, allocations: 18 kB / 1.243 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.6327, allocations: 56.55 kB / 1.243 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 4.168e-06/0.6327, allocations: 0 / 1.243 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.6258/1.259, allocations: 10.03 MB / 1.253 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/1.259, allocations: 71.81 kB / 1.253 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002725/1.261, allocations: 1.529 MB / 1.255 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002886/1.262, allocations: 54.64 kB / 1.255 GB, free: 162 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001651/1.263, allocations: 2.254 MB / 1.257 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006242/1.264, allocations: 0.6307 MB / 1.258 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/1.264, allocations: 181.7 kB / 1.258 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.789e-05/1.264, allocations: 302.7 kB / 1.258 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/1.266, allocations: 1.182 MB / 1.259 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/1.268, allocations: 1.881 MB / 1.261 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0039/1.272, allocations: 3.372 MB / 1.264 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/1.272, allocations: 5.094 kB / 1.264 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008457/1.28, allocations: 4.579 MB / 1.269 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/1.28, allocations: 16.64 kB / 1.269 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.945e-05/1.28, allocations: 23.73 kB / 1.269 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004317/1.284, allocations: 1.578 MB / 1.27 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/1.286, allocations: 354.8 kB / 1.271 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0236/1.31, allocations: 17.08 MB / 1.287 GB, free: 143.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/1.312, allocations: 117.5 kB / 1.288 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/1.312, allocations: 94.28 kB / 1.288 GB, free: 143.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004617/1.317, allocations: 1.901 MB / 1.29 GB, free: 143 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006771/1.318, allocations: 228.4 kB / 1.29 GB, free: 142.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00736/1.325, allocations: 4.088 MB / 1.294 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/1.325, allocations: 18.59 kB / 1.294 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.041e-05/1.325, allocations: 20.22 kB / 1.294 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/1.325, allocations: 16.12 kB / 1.294 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/1.341, allocations: 9.449 MB / 1.303 GB, free: 137.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.341, allocations: 4.5 kB / 1.303 GB, free: 137.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007622/1.341, allocations: 181.5 kB / 1.303 GB, free: 137.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003124/1.345, allocations: 1.363 MB / 1.305 GB, free: 136.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/1.345, allocations: 31.69 kB / 1.305 GB, free: 136.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01672/1.361, allocations: 15.98 MB / 1.32 GB, free: 124.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.362, allocations: 3.969 kB / 1.32 GB, free: 124.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006195/1.368, allocations: 4.084 MB / 1.324 GB, free: 121.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.369, allocations: 0.5257 MB / 1.325 GB, free: 121.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/1.369, allocations: 36.5 kB / 1.325 GB, free: 121.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009324/1.37, allocations: 87.89 kB / 1.325 GB, free: 121.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004641/1.371, allocations: 161.7 kB / 1.325 GB, free: 121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.41e-05/1.371, allocations: 50.64 kB / 1.325 GB, free: 120.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00117/1.372, allocations: 1.005 MB / 1.326 GB, free: 119.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.372, allocations: 0 / 1.326 GB, free: 119.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003756/1.376, allocations: 0.9844 MB / 1.327 GB, free: 118.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002534/1.376, allocations: 154.7 kB / 1.327 GB, free: 118.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006145/1.382, allocations: 4.29 MB / 1.331 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/1.382, allocations: 4 kB / 1.331 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003555/1.386, allocations: 2.671 MB / 1.334 GB, free: 111.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004467/1.39, allocations: 0.7173 MB / 1.335 GB, free: 111 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/1.405, allocations: 11.02 MB / 1.345 GB, free: 99.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003125/1.408, allocations: 3.576 MB / 1.349 GB, free: 96.33 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001459/1.409, allocations: 467.9 kB / 1.349 GB, free: 95.87 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/1.41, allocations: 115.4 kB / 1.349 GB, free: 95.76 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.41, allocations: 0 / 1.349 GB, free: 95.76 MB / 0.9981 GB Notification: Performance of Templates: time 0.06698/1.477, allocations: 41.82 MB / 1.39 GB, free: 54.39 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)