Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008248/0.0008251, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007479/0.007479, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.744/1.744, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.89/1.89, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006017/0.0006019, allocations: 13.59 kB / 0.6743 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2836, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006904/0.2905, allocations: 4.773 MB / 0.7926 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006318/0.2969, allocations: 3.741 MB / 0.7962 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004686/0.2974, allocations: 11.94 kB / 0.7962 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.2987, allocations: 227 kB / 0.7964 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.3003, allocations: 409.8 kB / 0.7968 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.3013, allocations: 247.5 kB / 0.7971 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001771/0.3031, allocations: 0.9192 MB / 0.798 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.3047, allocations: 0.8294 MB / 0.7988 GB, free: 372 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005335/0.3052, allocations: 291.2 kB / 0.799 GB, free: 80 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005143/0.3057, allocations: 274.9 kB / 0.7993 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.919e-05/0.3058, allocations: 16 kB / 0.7993 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006892/0.3065, allocations: 331.3 kB / 0.7996 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.3067, allocations: 139.5 kB / 0.7998 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.3069, allocations: 236.5 kB / 0.8 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009561/0.3079, allocations: 0.806 MB / 0.8008 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3079, allocations: 4 kB / 0.8008 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3079, allocations: 0 / 0.8008 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.3079, allocations: 0 / 0.8008 GB, free: 14.28 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001454/0.3094, allocations: 0.7324 MB / 0.8015 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/0.3094, allocations: 12.03 kB / 0.8015 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003028/0.3125, allocations: 0.675 MB / 0.8022 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008914/0.3134, allocations: 460.4 kB / 0.8026 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.3134, allocations: 25.02 kB / 0.8026 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.3135, allocations: 36.06 kB / 0.8027 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.3154, allocations: 0.8317 MB / 0.8035 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.3155, allocations: 0 / 0.8035 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.777e-05/0.3155, allocations: 12 kB / 0.8035 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002559/0.3158, allocations: 60.58 kB / 0.8036 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.318, allocations: 0.9389 MB / 0.8045 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00435/0.3223, allocations: 2.878 MB / 0.8073 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.324, allocations: 0.5605 MB / 0.8078 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008528/0.3249, allocations: 316.5 kB / 0.8081 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.325, allocations: 89.09 kB / 0.8082 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.3251, allocations: 34.56 kB / 0.8083 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 2.675e-06/0.3251, allocations: 0 / 0.8083 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36): time 0.01514/0.3402, allocations: 3.919 MB / 0.8121 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.3403, allocations: 63.27 kB / 0.8121 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000706/0.341, allocations: 429.5 kB / 0.8125 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.848e-05/0.3411, allocations: 33.7 kB / 0.8126 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.3414, allocations: 244.1 kB / 0.8128 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.3416, allocations: 122.2 kB / 0.8129 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-05/0.3417, allocations: 37.7 kB / 0.813 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002915/0.342, allocations: 350.8 kB / 0.8133 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.3431, allocations: 432.5 kB / 0.8137 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.3443, allocations: 0.5008 MB / 0.8142 GB, free: 56 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002268/0.3466, allocations: 0.9306 MB / 0.8151 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.3467, allocations: 0 / 0.8151 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006184/0.3528, allocations: 1.873 MB / 0.8169 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.353, allocations: 148 kB / 0.8171 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.353, allocations: 0 / 0.8171 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004659/0.3577, allocations: 1.024 MB / 0.8181 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006836/0.3584, allocations: 131.8 kB / 0.8182 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.3689, allocations: 6.181 MB / 0.8242 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009325/0.3698, allocations: 119.9 kB / 0.8244 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.3699, allocations: 12 kB / 0.8244 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.3699, allocations: 4 kB / 0.8244 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005317/0.3752, allocations: 1.586 MB / 0.8259 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3753, allocations: 7.984 kB / 0.8259 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003348/0.3786, allocations: 0.743 MB / 0.8267 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006769/0.3793, allocations: 139.8 kB / 0.8268 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008239/0.3876, allocations: 5.418 MB / 0.8321 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008955/0.3885, allocations: 111.9 kB / 0.8322 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.3886, allocations: 12 kB / 0.8322 GB, free: 13 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004496/0.389, allocations: 344.9 kB / 0.8325 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.98e-05/0.3891, allocations: 39.53 kB / 0.8326 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005701/0.3948, allocations: 1.766 MB / 0.8343 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.3949, allocations: 4 kB / 0.8343 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.3949, allocations: 4 kB / 0.8343 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.3949, allocations: 0 / 0.8343 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006751/0.4016, allocations: 2.46 MB / 0.8367 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.4017, allocations: 0 / 0.8367 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004211/0.4021, allocations: 91.94 kB / 0.8368 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004065/0.4062, allocations: 0.9379 MB / 0.8377 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.454e-05/0.4063, allocations: 11.98 kB / 0.8377 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009592/0.4159, allocations: 5.868 MB / 0.8434 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4159, allocations: 0 / 0.8434 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005551/0.4215, allocations: 1.724 MB / 0.8451 GB, free: 15.35 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004008/0.4219, allocations: 188.5 kB / 0.8453 GB, free: 15.15 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.379e-05/0.422, allocations: 11.94 kB / 0.8453 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006438/0.4226, allocations: 95.86 kB / 0.8454 GB, free: 15.04 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/0.4229, allocations: 39.83 kB / 0.8454 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.4229, allocations: 15.98 kB / 0.8455 GB, free: 14.99 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004344/0.4233, allocations: 315.1 kB / 0.8458 GB, free: 14.69 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4234, allocations: 0 / 0.8458 GB, free: 14.69 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001175/0.4245, allocations: 256.5 kB / 0.846 GB, free: 14.44 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002429/0.4248, allocations: 115.2 kB / 0.8461 GB, free: 14.31 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006742/0.4315, allocations: 2.505 MB / 0.8486 GB, free: 11.75 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.4316, allocations: 0 / 0.8486 GB, free: 11.75 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002594/0.4342, allocations: 0.9655 MB / 0.8495 GB, free: 10.76 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008565/0.4351, allocations: 131.3 kB / 0.8496 GB, free: 10.64 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.4375, allocations: 1.443 MB / 0.851 GB, free: 9.152 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006243/0.4381, allocations: 0.9529 MB / 0.852 GB, free: 8.168 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005447/0.4387, allocations: 143.2 kB / 0.8521 GB, free: 8.027 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.4388, allocations: 31.42 kB / 0.8521 GB, free: 8 MB / 0.67 GB Notification: Performance of SimCode: time 8.72e-07/0.4388, allocations: 0 / 0.8521 GB, free: 8 MB / 0.67 GB Notification: Performance of Templates: time 0.02491/0.4637, allocations: 15.39 MB / 0.8672 GB, free: 8.73 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) Environment - environmentSimulation: