Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 116.3 kB / 17.07 MB, free: 5.973 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.0009599/0.0009599, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.369/1.369, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1739/0.1739, allocations: 38.02 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 71.88 kB / 458.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3589, allocations: 58.06 MB / 0.5041 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004511/0.3634, allocations: 3.437 MB / 0.5074 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.3653, allocations: 1.446 MB / 0.5089 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.3654, allocations: 4.469 kB / 0.5089 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008636/0.3663, allocations: 252.9 kB / 0.5091 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005862/0.3669, allocations: 283.7 kB / 0.5094 GB, free: 4.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.3672, allocations: 114.5 kB / 0.5095 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.3676, allocations: 343.9 kB / 0.5098 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.3679, allocations: 134 kB / 0.5099 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.3681, allocations: 160.2 kB / 0.5101 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.3684, allocations: 144.2 kB / 0.5102 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.3684, allocations: 14.34 kB / 0.5102 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004819/0.3689, allocations: 308.8 kB / 0.5105 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.3691, allocations: 102.8 kB / 0.5106 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.3692, allocations: 107.4 kB / 0.5107 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004847/0.3697, allocations: 338.4 kB / 0.5111 GB, free: 3.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3697, allocations: 1.781 kB / 0.5111 GB, free: 3.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.3697, allocations: 0 / 0.5111 GB, free: 3.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3698, allocations: 3.938 kB / 0.5111 GB, free: 3.488 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006465/0.3704, allocations: 0.5074 MB / 0.5116 GB, free: 3.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3705, allocations: 12.36 kB / 0.5116 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008251/0.3713, allocations: 95.55 kB / 0.5117 GB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.3716, allocations: 266.5 kB / 0.5119 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.3716, allocations: 12.19 kB / 0.5119 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.3717, allocations: 27.98 kB / 0.512 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.3722, allocations: 315.8 kB / 0.5123 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.3722, allocations: 2.453 kB / 0.5123 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.3723, allocations: 10.77 kB / 0.5123 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.975e-05/0.3723, allocations: 19.31 kB / 0.5123 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004644/0.3728, allocations: 291.8 kB / 0.5126 GB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.3745, allocations: 1.288 MB / 0.5138 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.3749, allocations: 240.3 kB / 0.5141 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3751, allocations: 54.84 kB / 0.5141 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.3751, allocations: 6 kB / 0.5141 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3751, allocations: 33.91 kB / 0.5141 GB, free: 1.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.084e-06/0.3751, allocations: 0 / 0.5141 GB, free: 1.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006955/0.3758, allocations: 281.2 kB / 0.5144 GB, free: 1.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.3759, allocations: 88.11 kB / 0.5145 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.3761, allocations: 198.2 kB / 0.5147 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3761, allocations: 25.7 kB / 0.5147 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3762, allocations: 162 kB / 0.5149 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.3763, allocations: 47.19 kB / 0.5149 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.258e-05/0.3764, allocations: 44.05 kB / 0.515 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.3765, allocations: 329.6 kB / 0.5153 GB, free: 292 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.238e-05/0.3766, allocations: 53.59 kB / 0.5153 GB, free: 272 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.3767, allocations: 138.5 kB / 0.5154 GB, free: 132 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.377, allocations: 217 kB / 0.5157 GB, free: 15.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.377, allocations: 1.125 kB / 0.5157 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004373/0.3775, allocations: 237.5 kB / 0.5159 GB, free: 15.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.3775, allocations: 7.109 kB / 0.5159 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3775, allocations: 3.5 kB / 0.5159 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.3775, allocations: 4.781 kB / 0.5159 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.3777, allocations: 44.31 kB / 0.5159 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.3777, allocations: 7.078 kB / 0.5159 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.3779, allocations: 16.28 kB / 0.516 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.3779, allocations: 9.594 kB / 0.516 GB, free: 15.81 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.3781, allocations: 156.3 kB / 0.5161 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.3781, allocations: 19.77 kB / 0.5161 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.3784, allocations: 149.1 kB / 0.5163 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3784, allocations: 2.188 kB / 0.5163 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.3785, allocations: 5.031 kB / 0.5163 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3785, allocations: 1.891 kB / 0.5163 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009261/0.3794, allocations: 0.666 MB / 0.5169 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.3794, allocations: 3.656 kB / 0.5169 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.3796, allocations: 33.44 kB / 0.517 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.3796, allocations: 8.25 kB / 0.517 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.3796, allocations: 5.641 kB / 0.517 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.3796, allocations: 5.203 kB / 0.517 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.3796, allocations: 4.578 kB / 0.517 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.38, allocations: 343.4 kB / 0.5173 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.38, allocations: 106.6 kB / 0.5174 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.3801, allocations: 6.906 kB / 0.5174 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.3802, allocations: 11.91 kB / 0.5174 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.3803, allocations: 20.44 kB / 0.5175 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.3803, allocations: 12.58 kB / 0.5175 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.3804, allocations: 141.7 kB / 0.5176 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3805, allocations: 0.75 kB / 0.5176 GB, free: 14.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004184/0.3809, allocations: 42.56 kB / 0.5177 GB, free: 14.51 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001429/0.381, allocations: 111.9 kB / 0.5178 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004115/0.3815, allocations: 144.1 kB / 0.5179 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3815, allocations: 0.5312 kB / 0.5179 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.3816, allocations: 71.81 kB / 0.518 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.3821, allocations: 38.86 kB / 0.518 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009269/0.383, allocations: 0.4916 MB / 0.5185 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.3834, allocations: 0.7589 MB / 0.5192 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.3836, allocations: 47.45 kB / 0.5193 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.3836, allocations: 18.34 kB / 0.5193 GB, free: 13.24 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3836, allocations: 0 / 0.5193 GB, free: 13.24 MB / 398.1 MB Notification: Performance of Templates: time 0.004369/0.388, allocations: 1.356 MB / 0.5206 GB, free: 13.11 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)