Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001092/0.001092, allocations: 109.2 kB / 17.02 MB, free: 6.121 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.001043/0.001043, allocations: 194.9 kB / 17.97 MB, free: 5.211 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7365/0.7365, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 68.09 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3874, allocations: 76.15 MB / 0.5576 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.005693/0.3932, allocations: 5.136 MB / 0.5626 GB, free: 33.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004587/0.3978, allocations: 3.768 MB / 0.5663 GB, free: 30.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.398, allocations: 11.91 kB / 0.5663 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.3996, allocations: 0.5702 MB / 0.5668 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.4007, allocations: 471.4 kB / 0.5673 GB, free: 30 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006573/0.4013, allocations: 271.8 kB / 0.5676 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009472/0.4023, allocations: 0.6981 MB / 0.5682 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006641/0.403, allocations: 0.5319 MB / 0.5688 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004668/0.4034, allocations: 359 kB / 0.5691 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.4039, allocations: 304.6 kB / 0.5694 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.871e-05/0.4039, allocations: 49.59 kB / 0.5694 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00051/0.4045, allocations: 299.8 kB / 0.5697 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.4046, allocations: 169.9 kB / 0.5699 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.4049, allocations: 244.6 kB / 0.5701 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008711/0.4057, allocations: 0.8402 MB / 0.5709 GB, free: 28.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4057, allocations: 0 / 0.5709 GB, free: 28.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4058, allocations: 2.469 kB / 0.5709 GB, free: 28.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.4058, allocations: 0 / 0.5709 GB, free: 28.56 MB / 446.1 MB 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.001357/0.4071, allocations: 0.8088 MB / 0.5717 GB, free: 27.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.4072, allocations: 9.5 kB / 0.5717 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00264/0.4098, allocations: 0.6669 MB / 0.5724 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007947/0.4106, allocations: 476.7 kB / 0.5728 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.4107, allocations: 29.58 kB / 0.5729 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/0.4108, allocations: 32.34 kB / 0.5729 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.4122, allocations: 0.8269 MB / 0.5737 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.4123, allocations: 1.375 kB / 0.5737 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/0.4123, allocations: 11.31 kB / 0.5737 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/0.4125, allocations: 60.58 kB / 0.5738 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.4144, allocations: 0.9182 MB / 0.5747 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/0.4179, allocations: 2.838 MB / 0.5774 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.4195, allocations: 0.5522 MB / 0.578 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007042/0.4202, allocations: 306 kB / 0.5783 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.253e-05/0.4203, allocations: 85.59 kB / 0.5784 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.4203, allocations: 32.56 kB / 0.5784 GB, free: 24.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.994e-06/0.4204, allocations: 0 / 0.5784 GB, free: 24.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.01288/0.4332, allocations: 3.792 MB / 0.5821 GB, free: 23.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.4333, allocations: 54.97 kB / 0.5821 GB, free: 23.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.4338, allocations: 426.6 kB / 0.5826 GB, free: 22.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/0.4339, allocations: 35.23 kB / 0.5826 GB, free: 22.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.434, allocations: 239.8 kB / 0.5828 GB, free: 22.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.523e-05/0.4341, allocations: 120 kB / 0.5829 GB, free: 22.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.4343, allocations: 95.33 kB / 0.583 GB, free: 22.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.251e-05/0.4344, allocations: 349.8 kB / 0.5834 GB, free: 22.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008947/0.4353, allocations: 421.3 kB / 0.5838 GB, free: 22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009133/0.4362, allocations: 0.4901 MB / 0.5842 GB, free: 21.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.438, allocations: 0.9039 MB / 0.5851 GB, free: 21.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.438, allocations: 5.422 kB / 0.5851 GB, free: 21.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005283/0.4433, allocations: 1.81 MB / 0.5869 GB, free: 20.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.4433, allocations: 9.406 kB / 0.5869 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.4434, allocations: 2.75 kB / 0.5869 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003988/0.4474, allocations: 0.9699 MB / 0.5878 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.4479, allocations: 123.5 kB / 0.588 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008457/0.4564, allocations: 6.641 MB / 0.5945 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007976/0.4572, allocations: 103.8 kB / 0.5945 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/0.4573, allocations: 19.98 kB / 0.5946 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009819/0.4583, allocations: 0.61 MB / 0.5952 GB, free: 13.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007834/0.4591, allocations: 488.5 kB / 0.5956 GB, free: 12.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001513/0.4606, allocations: 0.8781 MB / 0.5965 GB, free: 11.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.4606, allocations: 0 / 0.5965 GB, free: 11.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.004239/0.4649, allocations: 1.602 MB / 0.5981 GB, free: 10.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.4649, allocations: 4 kB / 0.5981 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4649, allocations: 4.188 kB / 0.5981 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002706/0.4676, allocations: 0.696 MB / 0.5987 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.4682, allocations: 124.1 kB / 0.5989 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006151/0.4743, allocations: 5.82 MB / 0.6045 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007705/0.4751, allocations: 95.84 kB / 0.6046 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.4752, allocations: 19.98 kB / 0.6047 GB, free: 3.203 MB / 446.1 MB 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.0001567/0.4753, allocations: 208.7 kB / 0.6049 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-05/0.4754, allocations: 47.58 kB / 0.6049 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004633/0.4801, allocations: 1.715 MB / 0.6066 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4801, allocations: 4 kB / 0.6066 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4801, allocations: 4 kB / 0.6066 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4801, allocations: 0 / 0.6066 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005783/0.4859, allocations: 2.418 MB / 0.6089 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4859, allocations: 96 / 0.6089 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.4863, allocations: 75.91 kB / 0.609 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003674/0.49, allocations: 0.8951 MB / 0.6099 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.4901, allocations: 8 kB / 0.6099 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009306/0.4994, allocations: 6.312 MB / 0.6161 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4994, allocations: 11.91 kB / 0.6161 GB, free: 7.117 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004845/0.5043, allocations: 1.676 MB / 0.6177 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/0.5047, allocations: 180.6 kB / 0.6179 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.187e-05/0.5048, allocations: 11.98 kB / 0.6179 GB, free: 5.199 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006021/0.5054, allocations: 79.86 kB / 0.618 GB, free: 5.121 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.5056, allocations: 39.83 kB / 0.618 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.5057, allocations: 20 kB / 0.618 GB, free: 5.062 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005348/0.5062, allocations: 323.1 kB / 0.6183 GB, free: 4.754 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5062, allocations: 0 / 0.6183 GB, free: 4.754 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001236/0.5075, allocations: 256 kB / 0.6186 GB, free: 4.504 MB / 462.1 MB 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.000239/0.5077, allocations: 119.2 kB / 0.6187 GB, free: 4.379 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006061/0.5138, allocations: 2.439 MB / 0.6211 GB, free: 1.887 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5138, allocations: 0 / 0.6211 GB, free: 1.887 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002426/0.5163, allocations: 0.9422 MB / 0.622 GB, free: 0.918 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007362/0.517, allocations: 128 kB / 0.6221 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.5192, allocations: 1.234 MB / 0.6233 GB, free: 15.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005745/0.5198, allocations: 0.9529 MB / 0.6242 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004358/0.5202, allocations: 147.2 kB / 0.6244 GB, free: 14.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.5204, allocations: 35.42 kB / 0.6244 GB, free: 14.37 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5204, allocations: 0 / 0.6244 GB, free: 14.37 MB / 478.1 MB Notification: Performance of Templates: time 0.02258/0.543, allocations: 16.08 MB / 0.6401 GB, free: 14.45 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)