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.ACSimpleGrid_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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001339/0.001339, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.828/1.828, allocations: 251.9 MB / 0.51 GB, free: 4.859 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.0005739/0.000574, allocations: 16 kB / 0.6241 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5371/0.5377, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.0124/0.5501, allocations: 10.43 MB / 0.7382 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008414/0.5586, allocations: 5.155 MB / 0.7432 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.5597, allocations: 27.88 kB / 0.7432 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009987/0.5607, allocations: 330.2 kB / 0.7436 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.5623, allocations: 0.549 MB / 0.7441 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.564, allocations: 0.5985 MB / 0.7447 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001548/0.5656, allocations: 1.201 MB / 0.7458 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004878/0.5705, allocations: 3.857 MB / 0.7496 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009668/0.5715, allocations: 0.6425 MB / 0.7502 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009192/0.5724, allocations: 0.7358 MB / 0.751 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.5726, allocations: 104 kB / 0.7511 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008664/0.5734, allocations: 315.7 kB / 0.7514 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006279/0.5741, allocations: 0.686 MB / 0.752 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003569/0.5745, allocations: 364.9 kB / 0.7524 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.5772, allocations: 3.242 MB / 0.7555 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.5772, allocations: 0 / 0.7555 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5772, allocations: 0 / 0.7555 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.84e-05/0.5772, allocations: 4 kB / 0.7555 GB, free: 15.05 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003388/0.5806, allocations: 1.765 MB / 0.7573 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.5807, allocations: 11.97 kB / 0.7573 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/0.5838, allocations: 0.7666 MB / 0.758 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.5863, allocations: 1.227 MB / 0.7592 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.472e-05/0.5864, allocations: 119.2 kB / 0.7593 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00026/0.5866, allocations: 164 kB / 0.7595 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004325/0.591, allocations: 2.929 MB / 0.7624 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.591, allocations: 7.844 kB / 0.7624 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.5912, allocations: 68 kB / 0.7624 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003931/0.5916, allocations: 203 kB / 0.7626 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003678/0.5953, allocations: 2.507 MB / 0.7651 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.6081, allocations: 10.9 MB / 0.7757 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.6094, allocations: 0.9211 MB / 0.7766 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.6096, allocations: 93.47 kB / 0.7767 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.6096, allocations: 42.92 kB / 0.7767 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=46): time 2.475e-06/0.6096, allocations: 0 / 0.7767 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.02684/0.6365, allocations: 8.969 MB / 0.7855 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.6366, allocations: 85.67 kB / 0.7856 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.6378, allocations: 0.9415 MB / 0.7865 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.386e-05/0.6379, allocations: 33.7 kB / 0.7865 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004912/0.6384, allocations: 0.7814 MB / 0.7873 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.6387, allocations: 252.5 kB / 0.7875 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/0.6387, allocations: 20 kB / 0.7876 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.6389, allocations: 394.8 kB / 0.7879 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.6401, allocations: 0.795 MB / 0.7887 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.6414, allocations: 1.16 MB / 0.7898 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.6429, allocations: 0.9868 MB / 0.7908 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.6429, allocations: 8 kB / 0.7908 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009479/0.6524, allocations: 3.783 MB / 0.7945 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.001724/0.6541, allocations: 4.267 MB / 0.7987 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.6541, allocations: 16 kB / 0.7987 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008366/0.6625, allocations: 2.165 MB / 0.8008 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009032/0.6634, allocations: 227.6 kB / 0.801 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/0.6803, allocations: 10.66 MB / 0.8114 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.682, allocations: 203.5 kB / 0.8116 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.706e-05/0.6821, allocations: 44 kB / 0.8117 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.6821, allocations: 4 kB / 0.8117 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007611/0.6897, allocations: 3.076 MB / 0.8147 GB, free: 460 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/0.6898, allocations: 15.94 kB / 0.8147 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00544/0.6952, allocations: 1.355 MB / 0.816 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.6967, allocations: 287.6 kB / 0.8163 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.7084, allocations: 6.4 MB / 0.8225 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.7099, allocations: 171.6 kB / 0.8227 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.562e-05/0.71, allocations: 47.98 kB / 0.8227 GB, free: 8.047 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001737/0.7118, allocations: 0.8947 MB / 0.8236 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.712, allocations: 86.97 kB / 0.8237 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009121/0.7211, allocations: 3.327 MB / 0.8269 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.7212, allocations: 8 kB / 0.827 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.7212, allocations: 8 kB / 0.827 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.7212, allocations: 3.984 kB / 0.827 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/0.7338, allocations: 5.481 MB / 0.8323 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.7338, allocations: 0 / 0.8323 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.7342, allocations: 107.8 kB / 0.8324 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007269/0.7415, allocations: 1.983 MB / 0.8344 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.7417, allocations: 15.94 kB / 0.8344 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/0.7565, allocations: 10.06 MB / 0.8442 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7566, allocations: 4 kB / 0.8442 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00849/0.765, allocations: 3.297 MB / 0.8474 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008238/0.7659, allocations: 335.9 kB / 0.8477 GB, free: 13.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.7661, allocations: 12 kB / 0.8478 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008715/0.7669, allocations: 163.7 kB / 0.8479 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/0.7672, allocations: 60.48 kB / 0.848 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/0.7673, allocations: 16 kB / 0.848 GB, free: 13.66 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009637/0.7682, allocations: 0.6707 MB / 0.8486 GB, free: 12.99 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.7683, allocations: 8 kB / 0.8486 GB, free: 12.98 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002177/0.7704, allocations: 0.6758 MB / 0.8493 GB, free: 12.31 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002902/0.7707, allocations: 131.1 kB / 0.8494 GB, free: 12.17 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007713/0.7785, allocations: 3.909 MB / 0.8532 GB, free: 8.23 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/0.7785, allocations: 0 / 0.8532 GB, free: 8.23 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002252/0.7808, allocations: 1.309 MB / 0.8545 GB, free: 6.895 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.782, allocations: 247 kB / 0.8548 GB, free: 6.652 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00596/0.788, allocations: 4.07 MB / 0.8587 GB, free: 2.539 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/0.7896, allocations: 1.754 MB / 0.8604 GB, free: 0.7539 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001312/0.7909, allocations: 0.5109 MB / 0.8609 GB, free: 244 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.7911, allocations: 63.36 kB / 0.861 GB, free: 180 kB / 0.67 GB Notification: Performance of SimCode: time 7.22e-07/0.7911, allocations: 3.938 kB / 0.861 GB, free: 176 kB / 0.67 GB Notification: Performance of Templates: time 0.04204/0.8331, allocations: 29.39 MB / 0.8897 GB, free: 3.008 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) Environment - environmentSimulation: