Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.839/1.839, allocations: 288.3 MB / 303.2 MB, free: 8.125 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.001307/0.001307, allocations: 177 kB / 371.8 MB, free: 10.3 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.767/1.767, allocations: 205.4 MB / 0.6306 GB, free: 10.06 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.0008843/0.0008843, allocations: 97.62 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004009, allocations: 20.48 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2326, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.009271/0.242, allocations: 10.35 MB / 0.9895 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006602/0.2486, allocations: 4.948 MB / 0.9944 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000995/0.2496, allocations: 27.94 kB / 0.9944 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009609/0.2506, allocations: 322.2 kB / 0.9947 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.2524, allocations: 0.5296 MB / 0.9952 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.2541, allocations: 0.5634 MB / 0.9958 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001573/0.2557, allocations: 1.138 MB / 0.9969 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003868/0.2596, allocations: 3.62 MB / 1 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007626/0.2604, allocations: 0.5997 MB / 1.001 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007942/0.2612, allocations: 0.6696 MB / 1.002 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.2613, allocations: 96 kB / 1.002 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009404/0.2623, allocations: 307.7 kB / 1.002 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004883/0.2628, allocations: 0.6627 MB / 1.003 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.2631, allocations: 348.9 kB / 1.003 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.2651, allocations: 3 MB / 1.006 GB, free: 424 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.2651, allocations: 0 / 1.006 GB, free: 424 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2651, allocations: 0 / 1.006 GB, free: 424 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.111e-05/0.2652, allocations: 0 / 1.006 GB, free: 424 kB / 0.6198 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.003006/0.2682, allocations: 1.64 MB / 1.008 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2682, allocations: 12.02 kB / 1.008 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.2706, allocations: 497.5 kB / 1.008 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.2729, allocations: 1.139 MB / 1.009 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.127e-05/0.273, allocations: 111.1 kB / 1.009 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/0.2732, allocations: 152 kB / 1.009 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004283/0.2775, allocations: 2.727 MB / 1.012 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/0.2776, allocations: 0 / 1.012 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.2778, allocations: 64 kB / 1.012 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003426/0.2781, allocations: 174.9 kB / 1.012 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003752/0.2819, allocations: 2.288 MB / 1.015 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.2944, allocations: 10.54 MB / 1.025 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009755/0.2954, allocations: 0.5764 MB / 1.025 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.2955, allocations: 97.08 kB / 1.025 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.2956, allocations: 38.56 kB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 2.735e-06/0.2956, allocations: 0 / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.02025/0.3158, allocations: 6.283 MB / 1.032 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.3159, allocations: 89.53 kB / 1.032 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.3171, allocations: 0.8906 MB / 1.033 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.08e-05/0.3172, allocations: 33.7 kB / 1.033 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004868/0.3177, allocations: 0.7577 MB / 1.033 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.3179, allocations: 185.4 kB / 1.034 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/0.3179, allocations: 20 kB / 1.034 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3181, allocations: 390.8 kB / 1.034 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009809/0.3191, allocations: 0.6421 MB / 1.035 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.3204, allocations: 1.007 MB / 1.036 GB, free: 0.7031 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.3215, allocations: 0.8257 MB / 1.036 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.3215, allocations: 8 kB / 1.036 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008608/0.3301, allocations: 3.213 MB / 1.04 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001591/0.3318, allocations: 4.527 MB / 1.044 GB, free: 7.754 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.3318, allocations: 12 kB / 1.044 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007585/0.3394, allocations: 1.86 MB / 1.046 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009185/0.3403, allocations: 219.7 kB / 1.046 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01434/0.3547, allocations: 10.51 MB / 1.056 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.3562, allocations: 171.6 kB / 1.056 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.3565, allocations: 51.92 kB / 1.056 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3565, allocations: 5.406 kB / 1.056 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007375/0.3639, allocations: 2.625 MB / 1.059 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.622e-05/0.3639, allocations: 12.38 kB / 1.059 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005221/0.3692, allocations: 1.207 MB / 1.06 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.3702, allocations: 255.5 kB / 1.06 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007942/0.3782, allocations: 5.692 MB / 1.066 GB, free: 324 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.3795, allocations: 155.8 kB / 1.066 GB, free: 168 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/0.3797, allocations: 39.98 kB / 1.066 GB, free: 128 kB / 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.434/0.8137, allocations: 0.8341 MB / 1.067 GB, free: 82.64 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.814, allocations: 78.72 kB / 1.067 GB, free: 82.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008233/0.8222, allocations: 2.7 MB / 1.07 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.8222, allocations: 5.094 kB / 1.07 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.8223, allocations: 6.469 kB / 1.07 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.8223, allocations: 4.469 kB / 1.07 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.8337, allocations: 4.527 MB / 1.074 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.8338, allocations: 3.078 kB / 1.074 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.8342, allocations: 103.8 kB / 1.074 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007369/0.8416, allocations: 1.705 MB / 1.076 GB, free: 81.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-05/0.8417, allocations: 10.81 kB / 1.076 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01265/0.8543, allocations: 10.06 MB / 1.086 GB, free: 74.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.8544, allocations: 10.27 kB / 1.086 GB, free: 74.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007631/0.862, allocations: 2.746 MB / 1.088 GB, free: 73.33 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006083/0.8627, allocations: 290 kB / 1.089 GB, free: 73.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.8628, allocations: 11.5 kB / 1.089 GB, free: 73.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008467/0.8636, allocations: 132.3 kB / 1.089 GB, free: 73.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.8639, allocations: 44.81 kB / 1.089 GB, free: 73.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.8639, allocations: 18.94 kB / 1.089 GB, free: 73.15 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008254/0.8647, allocations: 0.6341 MB / 1.09 GB, free: 72.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8647, allocations: 0 / 1.09 GB, free: 72.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001978/0.8667, allocations: 0.5871 MB / 1.09 GB, free: 72.84 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.0002242/0.867, allocations: 131.5 kB / 1.09 GB, free: 72.74 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004786/0.8718, allocations: 3.251 MB / 1.093 GB, free: 71.24 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.8718, allocations: 3.469 kB / 1.093 GB, free: 71.24 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.8736, allocations: 1.288 MB / 1.095 GB, free: 70.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009323/0.8745, allocations: 207.8 kB / 1.095 GB, free: 70.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/0.879, allocations: 3.541 MB / 1.098 GB, free: 68.67 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.8802, allocations: 1.648 MB / 1.1 GB, free: 67.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001129/0.8813, allocations: 497.6 kB / 1.1 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.8815, allocations: 54.75 kB / 1.1 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of SimCode: time 7.71e-07/0.8815, allocations: 0 / 1.1 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of Templates: time 0.03392/0.9154, allocations: 23.35 MB / 1.123 GB, free: 55.84 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)