Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001402/0.001401, allocations: 184.4 kB / 16.38 MB, free: 5.598 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.86/1.86, allocations: 194.5 MB / 211.6 MB, free: 7.625 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001875/0.001874, allocations: 132.5 kB / 256.9 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.239/0.239, allocations: 38.02 MB / 340.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004512, allocations: 14.41 kB / 403.8 MB, free: 55.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06942/0.0699, allocations: 53.23 MB / 457 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003146/0.07309, allocations: 3.091 MB / 460.1 MB, free: 7.285 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.07496, allocations: 1.405 MB / 461.5 MB, free: 5.871 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.07514, allocations: 7.938 kB / 461.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.0753, allocations: 43.69 kB / 461.6 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005738/0.07589, allocations: 171.4 kB / 461.7 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.07621, allocations: 91.77 kB / 461.8 MB, free: 5.562 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.07644, allocations: 155.6 kB / 462 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006236/0.07708, allocations: 319 kB / 462.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.07728, allocations: 103.7 kB / 462.4 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.07743, allocations: 79.67 kB / 462.5 MB, free: 4.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.07747, allocations: 8 kB / 462.5 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.0778, allocations: 159.7 kB / 462.6 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.328e-05/0.0779, allocations: 79.8 kB / 462.7 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.07797, allocations: 61.64 kB / 462.8 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.07828, allocations: 243.5 kB / 463 MB, free: 4.355 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.483e-06/0.0783, allocations: 0 / 463 MB, free: 4.355 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.902e-06/0.07831, allocations: 0 / 463 MB, free: 4.355 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.794e-06/0.07833, allocations: 0 / 463 MB, free: 4.355 MB / 298.7 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.0005466/0.07888, allocations: 486.4 kB / 463.5 MB, free: 3.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.07893, allocations: 12.02 kB / 463.5 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.08, allocations: 103.6 kB / 463.6 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.08028, allocations: 249.7 kB / 463.8 MB, free: 3.438 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.08032, allocations: 16 kB / 463.8 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.08038, allocations: 23.98 kB / 463.9 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.08088, allocations: 310.3 kB / 464.2 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.08091, allocations: 3.953 kB / 464.2 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.08095, allocations: 4 kB / 464.2 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.603e-05/0.081, allocations: 16 kB / 464.2 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.08149, allocations: 295.6 kB / 464.5 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.08314, allocations: 1.289 MB / 465.8 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.08359, allocations: 250.2 kB / 466 MB, free: 1.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.08364, allocations: 0 / 466 MB, free: 1.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.08367, allocations: 38.62 kB / 466.1 MB, free: 1.043 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.142e-06/0.08368, allocations: 0 / 466.1 MB, free: 1.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006447/0.08434, allocations: 280.7 kB / 466.3 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.08439, allocations: 81.23 kB / 466.4 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.08457, allocations: 198.2 kB / 466.6 MB, free: 468 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.08459, allocations: 25.7 kB / 466.6 MB, free: 436 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.08468, allocations: 167.7 kB / 466.8 MB, free: 260 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.08473, allocations: 47.3 kB / 466.8 MB, free: 212 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.08475, allocations: 4 kB / 466.8 MB, free: 208 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.08489, allocations: 330.8 kB / 467.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.08501, allocations: 48.19 kB / 467.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.08522, allocations: 148.4 kB / 467.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.08539, allocations: 76.06 kB / 467.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-06/0.08541, allocations: 4 kB / 467.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004641/0.08588, allocations: 221.1 kB / 467.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.08592, allocations: 8 kB / 467.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.08594, allocations: 4 kB / 467.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.08597, allocations: 4 kB / 467.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.08619, allocations: 44.36 kB / 467.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.08622, allocations: 8 kB / 467.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.08638, allocations: 11.98 kB / 467.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.08643, allocations: 20.02 kB / 467.7 MB, free: 15.24 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001893/0.08663, allocations: 157.5 kB / 467.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.0867, allocations: 19.8 kB / 467.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.08705, allocations: 151 kB / 468.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.247e-06/0.08707, allocations: 4 kB / 468.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.526e-06/0.08708, allocations: 0 / 468.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.867e-06/0.0871, allocations: 4 kB / 468.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.08829, allocations: 0.6727 MB / 468.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.644e-06/0.08832, allocations: 4 kB / 468.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.08847, allocations: 31.92 kB / 468.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.0885, allocations: 4 kB / 468.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.08853, allocations: 8 kB / 468.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.212e-06/0.08855, allocations: 4 kB / 468.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.788e-06/0.08856, allocations: 8.375 kB / 468.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005621/0.08914, allocations: 0.4914 MB / 469.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-05/0.08924, allocations: 100.9 kB / 469.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.0893, allocations: 4 kB / 469.4 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.08949, allocations: 8 kB / 469.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.08956, allocations: 23.88 kB / 469.4 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.08959, allocations: 12 kB / 469.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001622/0.08976, allocations: 143.2 kB / 469.6 MB, free: 13.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.08978, allocations: 0 / 469.6 MB, free: 13.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004827/0.09027, allocations: 40 kB / 469.6 MB, free: 13.09 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001342/0.09042, allocations: 111.2 kB / 469.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003269/0.09075, allocations: 136.3 kB / 469.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.09078, allocations: 4 kB / 469.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.09092, allocations: 59.78 kB / 469.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.09131, allocations: 43.81 kB / 470 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.09234, allocations: 0.5774 MB / 470.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.09286, allocations: 0.7637 MB / 471.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.09306, allocations: 41.52 kB / 471.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.09313, allocations: 23.42 kB / 471.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of SimCode: time 1.364e-06/0.09315, allocations: 0 / 471.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of Templates: time 0.004985/0.09814, allocations: 1.217 MB / 472.6 MB, free: 10.03 MB / 314.7 MB