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.001307/0.001307, allocations: 106.1 kB / 15.99 MB, free: 6.359 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.001514/0.001515, allocations: 193.8 kB / 16.91 MB, free: 6.195 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.647/1.647, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.628/1.628, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001489/0.001489, allocations: 66.88 kB / 0.6717 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.231, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01413/0.2452, allocations: 11.76 MB / 0.795 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008599/0.2538, allocations: 5.303 MB / 0.8002 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.255, allocations: 35.81 kB / 0.8002 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002944/0.258, allocations: 0.9875 MB / 0.8012 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.2599, allocations: 0.5603 MB / 0.8017 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.2623, allocations: 0.8613 MB / 0.8026 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003005/0.2653, allocations: 2.466 MB / 0.805 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00605/0.2714, allocations: 4.154 MB / 0.809 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.2735, allocations: 1.11 MB / 0.8101 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.2757, allocations: 1.278 MB / 0.8114 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007246/0.2765, allocations: 232 kB / 0.8116 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.278, allocations: 0.4994 MB / 0.8121 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001563/0.2796, allocations: 0.8928 MB / 0.813 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002152/0.2818, allocations: 0.9999 MB / 0.8139 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003818/0.2856, allocations: 3.06 MB / 0.8169 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.2857, allocations: 0 / 0.8169 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2857, allocations: 0 / 0.8169 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001172/0.2858, allocations: 0 / 0.8169 GB, free: 11.57 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.005606/0.2914, allocations: 1.94 MB / 0.8188 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.2915, allocations: 12.03 kB / 0.8188 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00264/0.2941, allocations: 450.5 kB / 0.8193 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/0.2967, allocations: 1.093 MB / 0.8203 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.2969, allocations: 115.4 kB / 0.8204 GB, free: 7.875 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005933/0.2975, allocations: 156.1 kB / 0.8206 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006412/0.3039, allocations: 2.739 MB / 0.8233 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.57e-05/0.304, allocations: 8 kB / 0.8233 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004592/0.3045, allocations: 60 kB / 0.8233 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003704/0.3049, allocations: 143 kB / 0.8235 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00484/0.3097, allocations: 2.272 MB / 0.8257 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0148/0.3246, allocations: 10.44 MB / 0.8359 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.3257, allocations: 0.5647 MB / 0.8364 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/0.3264, allocations: 376.6 kB / 0.8368 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.3265, allocations: 97.08 kB / 0.8369 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.3266, allocations: 38.5 kB / 0.8369 GB, free: 6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 3.907e-06/0.3266, allocations: 4 kB / 0.8369 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of matching and sorting (n=52): time 0.01984/0.3464, allocations: 5.535 MB / 0.8423 GB, free: 408 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.3465, allocations: 55.84 kB / 0.8424 GB, free: 340 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.348, allocations: 0.8866 MB / 0.8432 GB, free: 15.44 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.3481, allocations: 37.7 kB / 0.8433 GB, free: 15.39 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005746/0.3487, allocations: 0.7538 MB / 0.844 GB, free: 14.63 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.349, allocations: 189.5 kB / 0.8442 GB, free: 14.44 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003976/0.3494, allocations: 190.4 kB / 0.8444 GB, free: 14.25 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002174/0.3496, allocations: 390.8 kB / 0.8447 GB, free: 13.86 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.3506, allocations: 0.6215 MB / 0.8453 GB, free: 13.23 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.3519, allocations: 0.9787 MB / 0.8463 GB, free: 12.09 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/0.3543, allocations: 1.619 MB / 0.8479 GB, free: 10.31 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.3543, allocations: 4 kB / 0.8479 GB, free: 10.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009257/0.3636, allocations: 3.076 MB / 0.8509 GB, free: 7.203 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.3636, allocations: 8 kB / 0.8509 GB, free: 7.195 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.3637, allocations: 12 kB / 0.8509 GB, free: 7.184 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00719/0.3709, allocations: 1.654 MB / 0.8525 GB, free: 5.516 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009421/0.3718, allocations: 215.7 kB / 0.8527 GB, free: 5.305 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/0.3875, allocations: 10.6 MB / 0.8631 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.3889, allocations: 163.7 kB / 0.8632 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.3891, allocations: 43.98 kB / 0.8633 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002153/0.3912, allocations: 1.287 MB / 0.8645 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001271/0.3925, allocations: 0.9552 MB / 0.8655 GB, free: 7.543 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002193/0.3947, allocations: 1.565 MB / 0.867 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.215e-05/0.3948, allocations: 4 kB / 0.867 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.007435/0.4022, allocations: 2.603 MB / 0.8695 GB, free: 3.195 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.4023, allocations: 8 kB / 0.8696 GB, free: 3.188 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.4023, allocations: 12 kB / 0.8696 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004797/0.4071, allocations: 1.074 MB / 0.8706 GB, free: 2.094 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.4081, allocations: 235.6 kB / 0.8708 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007904/0.4161, allocations: 5.754 MB / 0.8765 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.4175, allocations: 143.8 kB / 0.8766 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.4177, allocations: 43.94 kB / 0.8766 GB, free: 11.65 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003953/0.4181, allocations: 240 kB / 0.8769 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.4184, allocations: 79.06 kB / 0.8769 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007984/0.4264, allocations: 2.539 MB / 0.8794 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4264, allocations: 8 kB / 0.8794 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4264, allocations: 0 / 0.8794 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.4264, allocations: 7.984 kB / 0.8794 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.4374, allocations: 4.441 MB / 0.8838 GB, free: 4.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.4375, allocations: 4.031 kB / 0.8838 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/0.4379, allocations: 95.86 kB / 0.8839 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006483/0.4444, allocations: 1.501 MB / 0.8853 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.4446, allocations: 19.88 kB / 0.8854 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/0.4574, allocations: 10.14 MB / 0.8953 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.4574, allocations: 4 kB / 0.8953 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007609/0.4651, allocations: 2.496 MB / 0.8977 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006451/0.4657, allocations: 276.1 kB / 0.898 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002698/0.466, allocations: 8 kB / 0.898 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009702/0.467, allocations: 111.8 kB / 0.8981 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/0.4673, allocations: 51.81 kB / 0.8981 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.753e-05/0.4674, allocations: 16 kB / 0.8981 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009884/0.4684, allocations: 0.6317 MB / 0.8988 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4684, allocations: 4 kB / 0.8988 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002458/0.4708, allocations: 0.5859 MB / 0.8993 GB, free: 3.598 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003099/0.4712, allocations: 123.1 kB / 0.8994 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005537/0.4767, allocations: 3.188 MB / 0.9026 GB, free: 208 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.4768, allocations: 4 kB / 0.9026 GB, free: 204 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.4786, allocations: 1.187 MB / 0.9037 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.4801, allocations: 243.5 kB / 0.904 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006308/0.4864, allocations: 3.864 MB / 0.9077 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001784/0.4882, allocations: 1.634 MB / 0.9093 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.4885, allocations: 63.42 kB / 0.9094 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of SimCode: time 7.52e-07/0.4886, allocations: 0 / 0.9094 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.4709/0.9594, allocations: 57.38 MB / 0.9654 GB, free: 105.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (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)