Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 192.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.805/1.805, allocations: 251.7 MB / 0.5092 GB, free: 3.145 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 79.88 kB / 0.6223 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7903/0.7921, allocations: 104.7 MB / 0.7245 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03937/0.8315, allocations: 33.16 MB / 0.7569 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02573/0.8573, allocations: 14.9 MB / 0.7715 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006836/0.8642, allocations: 159.2 kB / 0.7716 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01101/0.8753, allocations: 3.647 MB / 0.7752 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0168/0.8921, allocations: 2.878 MB / 0.778 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01009/0.9023, allocations: 2.33 MB / 0.7803 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01749/0.9198, allocations: 8.755 MB / 0.7888 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02052/0.9404, allocations: 9.648 MB / 0.7982 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.9514, allocations: 3.915 MB / 0.8021 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.9618, allocations: 4.03 MB / 0.806 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.004612/0.9665, allocations: 0.7188 MB / 0.8067 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008368/0.9749, allocations: 1.728 MB / 0.8084 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.006936/0.9818, allocations: 2.81 MB / 0.8111 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01151/0.9934, allocations: 3.388 MB / 0.8144 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02236/1.016, allocations: 11.1 MB / 0.8253 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.409e-05/1.016, allocations: 0 / 0.8253 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.366e-06/1.016, allocations: 3.938 kB / 0.8253 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0006238/1.017, allocations: 0 / 0.8253 GB, free: 5.355 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02584/1.042, allocations: 5.971 MB / 0.8311 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/1.042, allocations: 8.031 kB / 0.8311 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009217/1.052, allocations: 1.138 MB / 0.8322 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009661/1.061, allocations: 3.332 MB / 0.8355 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004254/1.062, allocations: 370.4 kB / 0.8358 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002638/1.065, allocations: 500 kB / 0.8363 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02645/1.091, allocations: 8.005 MB / 0.8441 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004083/1.091, allocations: 15.84 kB / 0.8442 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002562/1.094, allocations: 216 kB / 0.8444 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001303/1.095, allocations: 441.5 kB / 0.8448 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02073/1.116, allocations: 6.088 MB / 0.8507 GB, free: 10.85 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06423/1.18, allocations: 35.13 MB / 0.885 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004099/1.185, allocations: 2.03 MB / 0.887 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003304/1.188, allocations: 1.858 MB / 0.8888 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/1.188, allocations: 22 kB / 0.8889 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.608e-05/1.188, allocations: 60.44 kB / 0.8889 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=171): time 3.727e-06/1.188, allocations: 0 / 0.8889 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of matching and sorting (n=276): time 0.8111/1.999, allocations: 38.87 MB / 0.9269 GB, free: 158.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/1.999, allocations: 84.2 kB / 0.9269 GB, free: 158.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/2.003, allocations: 2.281 MB / 0.9292 GB, free: 157.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004764/2.003, allocations: 72.86 kB / 0.9292 GB, free: 157.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/2.005, allocations: 2.273 MB / 0.9315 GB, free: 155.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001033/2.006, allocations: 0.9378 MB / 0.9324 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/2.007, allocations: 0.4999 MB / 0.9329 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001137/2.007, allocations: 319.4 kB / 0.9332 GB, free: 154 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002831/2.01, allocations: 1.97 MB / 0.9351 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002994/2.013, allocations: 2.599 MB / 0.9376 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005757/2.019, allocations: 4.929 MB / 0.9424 GB, free: 144.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/2.019, allocations: 4 kB / 0.9424 GB, free: 144.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01348/2.032, allocations: 7.762 MB / 0.95 GB, free: 136.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/2.032, allocations: 12 kB / 0.95 GB, free: 136.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/2.032, allocations: 20 kB / 0.9501 GB, free: 136.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008374/2.041, allocations: 3.239 MB / 0.9532 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/2.042, allocations: 399.2 kB / 0.9536 GB, free: 132.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03542/2.078, allocations: 33.9 MB / 0.9867 GB, free: 98.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/2.081, allocations: 163.8 kB / 0.9869 GB, free: 98.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002863/2.082, allocations: 104 kB / 0.987 GB, free: 97.92 MB / 0.7169 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003075/2.085, allocations: 1.805 MB / 0.9887 GB, free: 96.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007906/2.086, allocations: 332 kB / 0.989 GB, free: 95.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/2.097, allocations: 7.357 MB / 0.9962 GB, free: 88.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/2.097, allocations: 26.3 kB / 0.9962 GB, free: 88.31 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.612e-05/2.097, allocations: 36 kB / 0.9963 GB, free: 88.28 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-05/2.097, allocations: 11.95 kB / 0.9963 GB, free: 88.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01978/2.117, allocations: 12.92 MB / 1.009 GB, free: 75.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/2.117, allocations: 4 kB / 1.009 GB, free: 75.21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008395/2.118, allocations: 239.3 kB / 1.009 GB, free: 74.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007014/2.125, allocations: 2.883 MB / 1.012 GB, free: 72.08 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002213/2.125, allocations: 48 kB / 1.012 GB, free: 72.04 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03429/2.16, allocations: 32.69 MB / 1.044 GB, free: 38.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/2.16, allocations: 11.94 kB / 1.044 GB, free: 38.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/2.171, allocations: 6.879 MB / 1.051 GB, free: 31.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001849/2.173, allocations: 0.7782 MB / 1.051 GB, free: 30.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004939/2.174, allocations: 59.98 kB / 1.051 GB, free: 30.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/2.176, allocations: 171.7 kB / 1.052 GB, free: 30.38 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008541/2.176, allocations: 249.5 kB / 1.052 GB, free: 30.14 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/2.177, allocations: 80 kB / 1.052 GB, free: 30.06 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001924/2.178, allocations: 1.525 MB / 1.053 GB, free: 28.53 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/2.178, allocations: 0 / 1.053 GB, free: 28.53 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00404/2.183, allocations: 1.352 MB / 1.055 GB, free: 27.18 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003284/2.183, allocations: 181.9 kB / 1.055 GB, free: 26.99 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01187/2.195, allocations: 8.379 MB / 1.063 GB, free: 18.55 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/2.195, allocations: 4 kB / 1.063 GB, free: 18.54 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006536/2.201, allocations: 4.411 MB / 1.067 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004904/2.206, allocations: 1.108 MB / 1.069 GB, free: 13 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/2.223, allocations: 10.2 MB / 1.078 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003869/2.227, allocations: 3.646 MB / 1.082 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002564/2.229, allocations: 0.5556 MB / 1.083 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/2.23, allocations: 163.4 kB / 1.083 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of SimCode: time 1.293e-06/2.23, allocations: 0 / 1.083 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of Templates: time 0.1383/2.368, allocations: 77.48 MB / 1.158 GB, free: 1.934 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)