Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.0008663/0.0008663, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001005/0.001006, allocations: 168.7 kB / 15.95 MB, free: 204 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.503/1.503, allocations: 205.4 MB / 222.1 MB, free: 5.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.637/1.637, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.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.0005517/0.0005518, allocations: 15.62 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2475, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01274/0.2603, allocations: 10.78 MB / 0.7978 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008066/0.2684, allocations: 5.22 MB / 0.8029 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008588/0.2693, allocations: 35.81 kB / 0.803 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008756/0.2702, allocations: 298 kB / 0.8032 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.2714, allocations: 0.5289 MB / 0.8038 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.2727, allocations: 490.8 kB / 0.8042 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002866/0.2756, allocations: 2.921 MB / 0.8071 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005266/0.2809, allocations: 3.874 MB / 0.8109 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.2823, allocations: 0.7785 MB / 0.8116 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.2838, allocations: 1.086 MB / 0.8127 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.284, allocations: 108 kB / 0.8128 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008882/0.2849, allocations: 315.6 kB / 0.8131 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007282/0.2856, allocations: 0.7482 MB / 0.8138 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004406/0.2861, allocations: 364.9 kB / 0.8142 GB, free: 276 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.2894, allocations: 3.273 MB / 0.8174 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2894, allocations: 7.938 kB / 0.8174 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2894, allocations: 0 / 0.8174 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.98e-05/0.2895, allocations: 0 / 0.8174 GB, free: 12.98 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003528/0.293, allocations: 1.773 MB / 0.8191 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.293, allocations: 15.95 kB / 0.8191 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/0.2961, allocations: 0.747 MB / 0.8198 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.2984, allocations: 1.227 MB / 0.821 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.2985, allocations: 119.2 kB / 0.8212 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003229/0.2988, allocations: 167.9 kB / 0.8213 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004657/0.3035, allocations: 2.94 MB / 0.8242 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/0.3036, allocations: 4 kB / 0.8242 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.3038, allocations: 75.97 kB / 0.8243 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003696/0.3041, allocations: 206.9 kB / 0.8245 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/0.3079, allocations: 2.499 MB / 0.8269 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/0.3191, allocations: 10.91 MB / 0.8376 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.3203, allocations: 0.9234 MB / 0.8385 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/0.321, allocations: 0.5012 MB / 0.8389 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.3211, allocations: 93.47 kB / 0.839 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.3211, allocations: 34.94 kB / 0.8391 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=46): time 2.314e-06/0.3212, allocations: 4 kB / 0.8391 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.02387/0.345, allocations: 8.975 MB / 0.8478 GB, free: 12.56 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.3451, allocations: 85.67 kB / 0.8479 GB, free: 12.46 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.3465, allocations: 0.9376 MB / 0.8488 GB, free: 11.52 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.3466, allocations: 45.7 kB / 0.8489 GB, free: 11.46 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005046/0.3471, allocations: 0.7697 MB / 0.8496 GB, free: 10.68 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.3473, allocations: 248.5 kB / 0.8499 GB, free: 10.43 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.3474, allocations: 20 kB / 0.8499 GB, free: 10.41 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3476, allocations: 394.8 kB / 0.8503 GB, free: 10.02 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.3487, allocations: 0.8066 MB / 0.851 GB, free: 9.211 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.3501, allocations: 1.156 MB / 0.8522 GB, free: 7.898 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.3515, allocations: 0.9907 MB / 0.8531 GB, free: 6.906 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.3515, allocations: 4 kB / 0.8531 GB, free: 6.902 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.008978/0.3605, allocations: 3.783 MB / 0.8568 GB, free: 3.102 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003058/0.3608, allocations: 416.8 kB / 0.8572 GB, free: 2.543 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.3609, allocations: 12 kB / 0.8573 GB, free: 2.531 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007415/0.3683, allocations: 2.165 MB / 0.8594 GB, free: 368 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008293/0.3691, allocations: 219.6 kB / 0.8596 GB, free: 148 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/0.3836, allocations: 10.27 MB / 0.8696 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.385, allocations: 207.6 kB / 0.8698 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.549e-05/0.3851, allocations: 51.98 kB / 0.8698 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.3851, allocations: 4 kB / 0.8699 GB, free: 5.363 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006783/0.3919, allocations: 3.076 MB / 0.8729 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.3919, allocations: 8 kB / 0.8729 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004717/0.3966, allocations: 1.361 MB / 0.8742 GB, free: 0.9102 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.3977, allocations: 295.5 kB / 0.8745 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009697/0.4074, allocations: 6.143 MB / 0.8805 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.4087, allocations: 175.7 kB / 0.8806 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.051e-05/0.4088, allocations: 47.98 kB / 0.8807 GB, free: 10.12 MB / 0.7012 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.001281/0.41, allocations: 0.8915 MB / 0.8816 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.4102, allocations: 86.97 kB / 0.8816 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008499/0.4187, allocations: 3.324 MB / 0.8849 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.4188, allocations: 4 kB / 0.8849 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.4188, allocations: 7.953 kB / 0.8849 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.4188, allocations: 7.922 kB / 0.8849 GB, free: 5.766 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.4301, allocations: 5.501 MB / 0.8903 GB, free: 152 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.4301, allocations: 4 kB / 0.8903 GB, free: 148 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.4306, allocations: 108.1 kB / 0.8904 GB, free: 40 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006788/0.4374, allocations: 1.974 MB / 0.8923 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.4375, allocations: 12 kB / 0.8923 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.4509, allocations: 9.667 MB / 0.9018 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4509, allocations: 4 kB / 0.9018 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007889/0.4588, allocations: 3.194 MB / 0.9049 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006872/0.4595, allocations: 347.8 kB / 0.9052 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.4597, allocations: 12 kB / 0.9052 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000778/0.4605, allocations: 155.8 kB / 0.9054 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/0.4607, allocations: 60.47 kB / 0.9054 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/0.4608, allocations: 20 kB / 0.9055 GB, free: 268 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009211/0.4617, allocations: 0.6707 MB / 0.9061 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4617, allocations: 0 / 0.9061 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002255/0.464, allocations: 0.7031 MB / 0.9068 GB, free: 14.89 MB / 0.7325 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.0002643/0.4642, allocations: 139.1 kB / 0.9069 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007032/0.4713, allocations: 3.913 MB / 0.9108 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/0.4713, allocations: 4.062 kB / 0.9108 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002094/0.4734, allocations: 1.313 MB / 0.912 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.4747, allocations: 261.9 kB / 0.9123 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005597/0.4803, allocations: 4.065 MB / 0.9163 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.4819, allocations: 1.73 MB / 0.9179 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001376/0.4833, allocations: 0.5148 MB / 0.9184 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.4834, allocations: 55.44 kB / 0.9185 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of SimCode: time 6.51e-07/0.4834, allocations: 0 / 0.9185 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of Templates: time 0.4373/0.9207, allocations: 29.62 MB / 0.9474 GB, free: 119.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) Environment - environmentSimulation: