Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00081/0.00081, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009076/0.0009078, allocations: 172.7 kB / 15.95 MB, free: 208 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.498/1.498, allocations: 205.4 MB / 222.1 MB, free: 5.332 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.679/1.679, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0008287/0.0008291, allocations: 13.56 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2492, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01359/0.2629, allocations: 10.69 MB / 0.7977 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009204/0.2722, allocations: 5.025 MB / 0.8026 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.2733, allocations: 35.88 kB / 0.8027 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.2746, allocations: 286 kB / 0.8029 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.2764, allocations: 0.5057 MB / 0.8034 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.2782, allocations: 466.8 kB / 0.8039 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003415/0.2817, allocations: 2.786 MB / 0.8066 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005578/0.2873, allocations: 3.633 MB / 0.8101 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.2886, allocations: 0.7278 MB / 0.8109 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.2903, allocations: 1.008 MB / 0.8118 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002321/0.2905, allocations: 92 kB / 0.8119 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.2916, allocations: 303.7 kB / 0.8122 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008057/0.2924, allocations: 0.7209 MB / 0.8129 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004387/0.2928, allocations: 348.9 kB / 0.8133 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003136/0.296, allocations: 3.031 MB / 0.8162 GB, free: 14.2 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.296, allocations: 0 / 0.8162 GB, free: 14.2 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.843e-06/0.296, allocations: 0 / 0.8162 GB, free: 14.2 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 5.515e-05/0.2961, allocations: 0 / 0.8162 GB, free: 14.2 MB / 0.6388 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.003711/0.2998, allocations: 1.64 MB / 0.8178 GB, free: 12.51 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.2998, allocations: 8.031 kB / 0.8178 GB, free: 12.5 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.3022, allocations: 477.5 kB / 0.8183 GB, free: 12.03 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/0.3045, allocations: 1.135 MB / 0.8194 GB, free: 10.85 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.532e-05/0.3046, allocations: 115.1 kB / 0.8195 GB, free: 10.74 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/0.3049, allocations: 152 kB / 0.8196 GB, free: 10.59 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004776/0.3097, allocations: 2.739 MB / 0.8223 GB, free: 7.785 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.3097, allocations: 0 / 0.8223 GB, free: 7.785 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/0.3099, allocations: 67.98 kB / 0.8224 GB, free: 7.719 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000349/0.3103, allocations: 170.9 kB / 0.8225 GB, free: 7.551 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003707/0.314, allocations: 2.288 MB / 0.8248 GB, free: 5.258 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01231/0.3263, allocations: 10.56 MB / 0.8351 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008918/0.3272, allocations: 0.5725 MB / 0.8357 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/0.3278, allocations: 384.6 kB / 0.836 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.328, allocations: 89.09 kB / 0.8361 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.328, allocations: 42.5 kB / 0.8361 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 1.924e-06/0.328, allocations: 0 / 0.8361 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=52): time 0.01849/0.3465, allocations: 6.278 MB / 0.8423 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/0.3466, allocations: 81.55 kB / 0.8424 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.3478, allocations: 0.8945 MB / 0.8432 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.066e-05/0.3479, allocations: 37.7 kB / 0.8433 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004533/0.3483, allocations: 0.7577 MB / 0.844 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.3485, allocations: 185.4 kB / 0.8442 GB, free: 368 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-05/0.3486, allocations: 20 kB / 0.8442 GB, free: 348 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3488, allocations: 390.8 kB / 0.8446 GB, free: 15.95 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000975/0.3497, allocations: 0.6343 MB / 0.8452 GB, free: 15.32 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.351, allocations: 1.003 MB / 0.8462 GB, free: 14.15 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.3521, allocations: 0.814 MB / 0.847 GB, free: 13.33 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.3522, allocations: 4 kB / 0.847 GB, free: 13.33 MB / 0.67 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.007982/0.3601, allocations: 3.213 MB / 0.8501 GB, free: 10.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002649/0.3604, allocations: 431.2 kB / 0.8505 GB, free: 9.508 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.3604, allocations: 12 kB / 0.8505 GB, free: 9.496 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007142/0.3676, allocations: 1.86 MB / 0.8523 GB, free: 7.621 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000834/0.3684, allocations: 223.6 kB / 0.8526 GB, free: 7.402 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/0.3834, allocations: 10.23 MB / 0.8625 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.3847, allocations: 179.7 kB / 0.8627 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.3848, allocations: 39.98 kB / 0.8628 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 7.934e-06/0.3849, allocations: 4 kB / 0.8628 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006701/0.3916, allocations: 2.626 MB / 0.8653 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.622e-05/0.3916, allocations: 12 kB / 0.8653 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004804/0.3965, allocations: 1.204 MB / 0.8665 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009851/0.3975, allocations: 259.4 kB / 0.8668 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00789/0.4054, allocations: 5.539 MB / 0.8722 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.4066, allocations: 151.8 kB / 0.8723 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.4067, allocations: 43.98 kB / 0.8724 GB, free: 2.324 MB / 0.6856 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.001231/0.4079, allocations: 0.8439 MB / 0.8732 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.4081, allocations: 75.06 kB / 0.8733 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007148/0.4153, allocations: 2.688 MB / 0.8759 GB, free: 14.68 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4153, allocations: 4 kB / 0.8759 GB, free: 14.67 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4153, allocations: 4 kB / 0.8759 GB, free: 14.67 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.4154, allocations: 3.984 kB / 0.8759 GB, free: 14.66 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009365/0.4247, allocations: 4.632 MB / 0.8804 GB, free: 9.914 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.4247, allocations: 0 / 0.8804 GB, free: 9.914 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.4251, allocations: 104.1 kB / 0.8805 GB, free: 9.812 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006198/0.4313, allocations: 1.704 MB / 0.8822 GB, free: 8.094 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.748e-05/0.4314, allocations: 12 kB / 0.8822 GB, free: 8.082 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.443, allocations: 9.759 MB / 0.8917 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.443, allocations: 4.031 kB / 0.8917 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00693/0.4499, allocations: 2.64 MB / 0.8943 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/0.4505, allocations: 284.1 kB / 0.8946 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.4507, allocations: 16 kB / 0.8946 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007662/0.4514, allocations: 139.7 kB / 0.8947 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.4517, allocations: 52.02 kB / 0.8948 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/0.4517, allocations: 16 kB / 0.8948 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000963/0.4527, allocations: 0.6395 MB / 0.8954 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.01e-07/0.4527, allocations: 0 / 0.8954 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00283/0.4555, allocations: 0.5938 MB / 0.896 GB, free: 9.344 MB / 0.7169 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.0003419/0.4559, allocations: 127.2 kB / 0.8961 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005385/0.4613, allocations: 3.235 MB / 0.8993 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.4613, allocations: 320 / 0.8993 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001901/0.4633, allocations: 1.28 MB / 0.9005 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.4645, allocations: 237.7 kB / 0.9007 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005043/0.4696, allocations: 3.542 MB / 0.9042 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.4711, allocations: 1.622 MB / 0.9058 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001198/0.4723, allocations: 494.3 kB / 0.9063 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.4724, allocations: 59.42 kB / 0.9063 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of SimCode: time 5.92e-07/0.4724, allocations: 0 / 0.9063 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of Templates: time 0.4249/0.8973, allocations: 23.42 MB / 0.9292 GB, free: 124 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: