Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.743/1.743, allocations: 287.5 MB / 302.6 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 182.8 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000951/0.000951, allocations: 101.5 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006117/0.0006117, allocations: 12.12 kB / 0.8661 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3141, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01131/0.3255, allocations: 10.67 MB / 0.9891 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008187/0.3337, allocations: 5.021 MB / 0.994 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.3354, allocations: 35.81 kB / 0.994 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.3368, allocations: 290 kB / 0.9943 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.3385, allocations: 0.5018 MB / 0.9948 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.3403, allocations: 472.1 kB / 0.9953 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00284/0.3431, allocations: 2.801 MB / 0.998 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005252/0.3484, allocations: 4.057 MB / 1.002 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.3498, allocations: 0.7318 MB / 1.003 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.3511, allocations: 1.005 MB / 1.004 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.3513, allocations: 103.9 kB / 1.004 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008587/0.3522, allocations: 299.7 kB / 1.004 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006179/0.3528, allocations: 0.7132 MB / 1.005 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003048/0.3531, allocations: 348.9 kB / 1.005 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00251/0.3556, allocations: 3.016 MB / 1.008 GB, free: 14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3556, allocations: 0 / 1.008 GB, free: 14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3556, allocations: 0 / 1.008 GB, free: 14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.697e-05/0.3557, allocations: 4 kB / 1.008 GB, free: 14 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003296/0.359, allocations: 1.624 MB / 1.01 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3591, allocations: 11.97 kB / 1.01 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.3613, allocations: 482.5 kB / 1.01 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.3633, allocations: 1.151 MB / 1.011 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.413e-05/0.3634, allocations: 115.5 kB / 1.011 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/0.3637, allocations: 152.1 kB / 1.011 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004544/0.3682, allocations: 2.735 MB / 1.014 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.217e-05/0.3683, allocations: 4 kB / 1.014 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.3685, allocations: 60 kB / 1.014 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003616/0.3688, allocations: 178.8 kB / 1.014 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/0.3726, allocations: 2.28 MB / 1.017 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.3854, allocations: 10.54 MB / 1.027 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.3865, allocations: 0.5801 MB / 1.027 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006216/0.3871, allocations: 388.6 kB / 1.028 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.3873, allocations: 97.08 kB / 1.028 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.3873, allocations: 38.5 kB / 1.028 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.006e-06/0.3873, allocations: 0 / 1.028 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.02048/0.4078, allocations: 6.272 MB / 1.034 GB, free: 2.164 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/0.408, allocations: 89.55 kB / 1.034 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.4094, allocations: 0.8983 MB / 1.035 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.4095, allocations: 33.7 kB / 1.035 GB, free: 1.109 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005615/0.4101, allocations: 0.7538 MB / 1.036 GB, free: 352 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.4103, allocations: 181.5 kB / 1.036 GB, free: 168 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.4103, allocations: 16 kB / 1.036 GB, free: 152 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002315/0.4106, allocations: 390.8 kB / 1.036 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.4116, allocations: 0.6382 MB / 1.037 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.413, allocations: 1.007 MB / 1.038 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/0.4153, allocations: 1.666 MB / 1.04 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.4153, allocations: 8 kB / 1.04 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009004/0.4243, allocations: 3.205 MB / 1.043 GB, free: 8.879 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003903/0.4248, allocations: 435.4 kB / 1.043 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.4248, allocations: 12 kB / 1.043 GB, free: 8.281 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00758/0.4324, allocations: 1.852 MB / 1.045 GB, free: 6.414 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009432/0.4334, allocations: 223.6 kB / 1.045 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01504/0.4484, allocations: 10.22 MB / 1.055 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.45, allocations: 175.7 kB / 1.055 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.4502, allocations: 44 kB / 1.055 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.4502, allocations: 4 kB / 1.055 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007353/0.4576, allocations: 2.618 MB / 1.058 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.055e-05/0.4577, allocations: 12 kB / 1.058 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005278/0.463, allocations: 1.203 MB / 1.059 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.464, allocations: 255.5 kB / 1.059 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00787/0.4719, allocations: 5.547 MB / 1.065 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.4733, allocations: 147.7 kB / 1.065 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.4735, allocations: 44 kB / 1.065 GB, free: 1.121 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001566/0.4751, allocations: 0.8479 MB / 1.066 GB, free: 268 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.4753, allocations: 83 kB / 1.066 GB, free: 184 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5426/1.018, allocations: 2.672 MB / 1.068 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/1.018, allocations: 5.531 kB / 1.068 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/1.018, allocations: 1.609 kB / 1.068 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/1.018, allocations: 4.047 kB / 1.068 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/1.03, allocations: 4.622 MB / 1.073 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/1.03, allocations: 2.562 kB / 1.073 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/1.031, allocations: 101.4 kB / 1.073 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007431/1.038, allocations: 1.708 MB / 1.075 GB, free: 82.28 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/1.038, allocations: 14.11 kB / 1.075 GB, free: 82.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/1.051, allocations: 9.774 MB / 1.084 GB, free: 75.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.051, allocations: 2.734 kB / 1.084 GB, free: 75.53 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007803/1.059, allocations: 2.65 MB / 1.087 GB, free: 74.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006405/1.06, allocations: 281.2 kB / 1.087 GB, free: 74.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/1.06, allocations: 9.547 kB / 1.087 GB, free: 74.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008221/1.06, allocations: 135.3 kB / 1.087 GB, free: 74.63 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002938/1.061, allocations: 53.12 kB / 1.087 GB, free: 74.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/1.061, allocations: 20.03 kB / 1.087 GB, free: 74.61 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009801/1.062, allocations: 0.6359 MB / 1.088 GB, free: 74.35 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.31e-07/1.062, allocations: 0 / 1.088 GB, free: 74.35 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002208/1.064, allocations: 0.5829 MB / 1.089 GB, free: 74.31 MB / 0.6823 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): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002612/1.064, allocations: 124.9 kB / 1.089 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005776/1.07, allocations: 3.236 MB / 1.092 GB, free: 72.72 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.07, allocations: 0 / 1.092 GB, free: 72.72 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/1.072, allocations: 1.271 MB / 1.093 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/1.074, allocations: 228.5 kB / 1.093 GB, free: 71.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/1.079, allocations: 3.54 MB / 1.097 GB, free: 70.13 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/1.08, allocations: 1.616 MB / 1.098 GB, free: 69.21 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001199/1.081, allocations: 499.4 kB / 1.099 GB, free: 69.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/1.081, allocations: 52.31 kB / 1.099 GB, free: 69.17 MB / 0.6823 GB Notification: Performance of SimCode: time 5.41e-07/1.081, allocations: 1.156 kB / 1.099 GB, free: 69.17 MB / 0.6823 GB Notification: Performance of Templates: time 0.0382/1.119, allocations: 23.33 MB / 1.122 GB, free: 58.03 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)