Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Test.PMeterTest.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.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001419/0.001422, allocations: 184.8 kB / 16.38 MB, free: 5.621 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.793/1.793, allocations: 194.5 MB / 211.6 MB, free: 7.605 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.001899/0.001899, allocations: 128.6 kB / 256.9 MB, free: 10.22 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.2395/0.2395, allocations: 38.01 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004579, allocations: 13.03 kB / 403.8 MB, free: 55.15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06994/0.07042, allocations: 53.22 MB / 457 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003155/0.07362, allocations: 3.107 MB / 460.1 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.07557, allocations: 1.459 MB / 461.6 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.07574, allocations: 7.938 kB / 461.6 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.07589, allocations: 39.75 kB / 461.6 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.07642, allocations: 175.4 kB / 461.8 MB, free: 5.555 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.07673, allocations: 99.67 kB / 461.9 MB, free: 5.457 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.07696, allocations: 155.7 kB / 462 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006215/0.0776, allocations: 311.1 kB / 462.3 MB, free: 4.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.0778, allocations: 107.6 kB / 462.5 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.07795, allocations: 71.75 kB / 462.5 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.07799, allocations: 8 kB / 462.5 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.07834, allocations: 163.7 kB / 462.7 MB, free: 4.641 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.37e-05/0.07844, allocations: 83.78 kB / 462.8 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.0785, allocations: 69.56 kB / 462.8 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.07886, allocations: 247.4 kB / 463.1 MB, free: 4.242 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.633e-06/0.07888, allocations: 4 kB / 463.1 MB, free: 4.238 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.0789, allocations: 0 / 463.1 MB, free: 4.238 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.56e-06/0.07891, allocations: 0 / 463.1 MB, free: 4.238 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.0005166/0.07944, allocations: 482.5 kB / 463.6 MB, free: 3.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.07948, allocations: 16.02 kB / 463.6 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.08062, allocations: 111.6 kB / 463.7 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.08092, allocations: 265.6 kB / 463.9 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.08096, allocations: 12 kB / 464 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.08101, allocations: 23.94 kB / 464 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.08152, allocations: 314.3 kB / 464.3 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.08155, allocations: 7.891 kB / 464.3 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.08159, allocations: 8 kB / 464.3 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.08164, allocations: 16 kB / 464.3 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/0.08216, allocations: 303.7 kB / 464.6 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.08383, allocations: 1.285 MB / 465.9 MB, free: 1.219 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.08417, allocations: 202.3 kB / 466.1 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.08421, allocations: 8.094 kB / 466.1 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.08424, allocations: 38.69 kB / 466.1 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.452e-06/0.08425, allocations: 0 / 466.1 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003129/0.08457, allocations: 137.7 kB / 466.3 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.08462, allocations: 81.06 kB / 466.4 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.08482, allocations: 207.9 kB / 466.6 MB, free: 488 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.08484, allocations: 29.64 kB / 466.6 MB, free: 452 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.08493, allocations: 167.6 kB / 466.7 MB, free: 280 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.08497, allocations: 39.45 kB / 466.8 MB, free: 240 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-06/0.08499, allocations: 0 / 466.8 MB, free: 240 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.08512, allocations: 326.8 kB / 467.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.335e-05/0.08523, allocations: 44.09 kB / 467.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.08541, allocations: 131 kB / 467.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.08557, allocations: 59.92 kB / 467.3 MB, free: 15.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.682e-06/0.08559, allocations: 11.94 kB / 467.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004189/0.08602, allocations: 201.1 kB / 467.5 MB, free: 15.42 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.08605, allocations: 11.75 kB / 467.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.08607, allocations: 8.062 kB / 467.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.0861, allocations: 4.438 kB / 467.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.08633, allocations: 51.91 kB / 467.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.08637, allocations: 7.938 kB / 467.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.08655, allocations: 27.73 kB / 467.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.08658, allocations: 12 kB / 467.7 MB, free: 15.3 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 (23): * Single equations (assignments): 23 * 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.0001764/0.08677, allocations: 153.5 kB / 467.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.08684, allocations: 15.81 kB / 467.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.08711, allocations: 119 kB / 467.9 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.082e-06/0.08713, allocations: 4 kB / 468 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.015e-06/0.08715, allocations: 4 kB / 468 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.08716, allocations: 3.984 kB / 468 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.08819, allocations: 0.5758 MB / 468.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.237e-06/0.08822, allocations: 8.141 kB / 468.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.08834, allocations: 19.98 kB / 468.6 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.416e-06/0.08837, allocations: 7.938 kB / 468.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.08839, allocations: 8 kB / 468.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.388e-06/0.08841, allocations: 4 kB / 468.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.222e-06/0.08842, allocations: 3.938 kB / 468.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.08888, allocations: 405.2 kB / 469 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.944e-05/0.08899, allocations: 96.91 kB / 469.1 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.08904, allocations: 4 kB / 469.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.08922, allocations: 8 kB / 469.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.08927, allocations: 11.94 kB / 469.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.0893, allocations: 8 kB / 469.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001803/0.08949, allocations: 157.5 kB / 469.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.0895, allocations: 0 / 469.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000471/0.08998, allocations: 55.84 kB / 469.3 MB, free: 13.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 10 * 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.0001118/0.09011, allocations: 99.19 kB / 469.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.0904, allocations: 112.6 kB / 469.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.062e-06/0.09042, allocations: 4.062 kB / 469.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.09053, allocations: 47.84 kB / 469.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.09088, allocations: 31.89 kB / 469.6 MB, free: 13.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009312/0.09182, allocations: 0.5111 MB / 470.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.09233, allocations: 0.7635 MB / 470.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.0925, allocations: 41.45 kB / 470.9 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.09256, allocations: 19.44 kB / 470.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of SimCode: time 1.314e-06/0.09257, allocations: 0 / 470.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of Templates: time 0.004665/0.09725, allocations: 1.105 MB / 472 MB, free: 10.61 MB / 314.7 MB