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.002431/0.002431, allocations: 356.6 kB / 16.57 MB, free: 5.59 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 3.493/3.493, allocations: 388.9 MB / 406.2 MB, free: 11.9 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003511/0.00351, allocations: 233.6 kB / 451.6 MB, free: 14.5 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6575/0.6575, allocations: 76.01 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005363/0.0005364, allocations: 16 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06732/0.06788, allocations: 53.22 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003156/0.07108, allocations: 3.169 MB / 0.6767 GB, free: 57.64 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.07297, allocations: 1.494 MB / 0.6782 GB, free: 56.13 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.07311, allocations: 11.94 kB / 0.6782 GB, free: 56.12 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.07324, allocations: 39.69 kB / 0.6782 GB, free: 56.08 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004902/0.07375, allocations: 215 kB / 0.6784 GB, free: 55.87 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.07401, allocations: 95.69 kB / 0.6785 GB, free: 55.78 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.0744, allocations: 434.8 kB / 0.6789 GB, free: 55.35 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005722/0.07499, allocations: 311 kB / 0.6792 GB, free: 55.03 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.07519, allocations: 115.4 kB / 0.6793 GB, free: 54.91 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.07541, allocations: 147.5 kB / 0.6795 GB, free: 54.77 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.07545, allocations: 8 kB / 0.6795 GB, free: 54.76 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.07578, allocations: 171.5 kB / 0.6796 GB, free: 54.59 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.94e-05/0.07588, allocations: 91.75 kB / 0.6797 GB, free: 54.5 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.07595, allocations: 69.58 kB / 0.6798 GB, free: 54.43 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.07624, allocations: 243.4 kB / 0.68 GB, free: 54.19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.261e-06/0.07626, allocations: 7.938 kB / 0.68 GB, free: 54.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.689e-06/0.07627, allocations: 0 / 0.68 GB, free: 54.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.07629, allocations: 0 / 0.68 GB, free: 54.18 MB / 442.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.0004906/0.07679, allocations: 478.6 kB / 0.6805 GB, free: 53.67 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.07683, allocations: 8.828 kB / 0.6805 GB, free: 53.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.07796, allocations: 119.6 kB / 0.6806 GB, free: 53.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.07825, allocations: 267 kB / 0.6809 GB, free: 53.24 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.07828, allocations: 15.94 kB / 0.6809 GB, free: 53.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.07833, allocations: 20 kB / 0.6809 GB, free: 53.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005008/0.07885, allocations: 318.3 kB / 0.6812 GB, free: 52.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.07887, allocations: 3.938 kB / 0.6812 GB, free: 52.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.07891, allocations: 8 kB / 0.6812 GB, free: 52.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.07896, allocations: 19.98 kB / 0.6812 GB, free: 52.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005219/0.07949, allocations: 303.7 kB / 0.6815 GB, free: 52.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.08112, allocations: 1.289 MB / 0.6828 GB, free: 51.15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.08146, allocations: 198.3 kB / 0.683 GB, free: 50.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.08156, allocations: 41.77 kB / 0.683 GB, free: 50.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.08159, allocations: 8.125 kB / 0.683 GB, free: 50.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.08162, allocations: 34.56 kB / 0.683 GB, free: 50.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 2.278e-06/0.08163, allocations: 0 / 0.683 GB, free: 50.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003135/0.08195, allocations: 141.3 kB / 0.6832 GB, free: 50.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.08199, allocations: 81.11 kB / 0.6833 GB, free: 50.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.08219, allocations: 204.8 kB / 0.6835 GB, free: 50.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.08222, allocations: 33.7 kB / 0.6835 GB, free: 50.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.0823, allocations: 175.6 kB / 0.6837 GB, free: 50.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.08234, allocations: 35.55 kB / 0.6837 GB, free: 50.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.325e-06/0.08236, allocations: 4 kB / 0.6837 GB, free: 50.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.541e-05/0.08243, allocations: 322.8 kB / 0.684 GB, free: 49.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.787e-05/0.08252, allocations: 43.84 kB / 0.684 GB, free: 49.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.08264, allocations: 132.8 kB / 0.6842 GB, free: 49.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.08277, allocations: 67.92 kB / 0.6842 GB, free: 49.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.187e-06/0.08278, allocations: 0 / 0.6842 GB, free: 49.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003449/0.08314, allocations: 209.8 kB / 0.6844 GB, free: 49.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.08317, allocations: 8 kB / 0.6844 GB, free: 49.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.73e-06/0.08318, allocations: 3.938 kB / 0.6844 GB, free: 49.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.08321, allocations: 8 kB / 0.6845 GB, free: 49.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.08342, allocations: 43.94 kB / 0.6845 GB, free: 49.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.08345, allocations: 11.92 kB / 0.6845 GB, free: 49.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.08361, allocations: 27.69 kB / 0.6845 GB, free: 49.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.08364, allocations: 8 kB / 0.6845 GB, free: 49.18 MB / 442.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.0001183/0.08377, allocations: 153.9 kB / 0.6847 GB, free: 49.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.08383, allocations: 19.8 kB / 0.6847 GB, free: 49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.08405, allocations: 118.9 kB / 0.6848 GB, free: 48.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.221e-06/0.08407, allocations: 7.938 kB / 0.6848 GB, free: 48.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.08408, allocations: 3.953 kB / 0.6848 GB, free: 48.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.0841, allocations: 4.031 kB / 0.6848 GB, free: 48.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007517/0.08486, allocations: 0.572 MB / 0.6854 GB, free: 48.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.285e-06/0.08488, allocations: 4 kB / 0.6854 GB, free: 48.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.906e-05/0.08499, allocations: 16 kB / 0.6854 GB, free: 48.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.703e-06/0.08501, allocations: 3.984 kB / 0.6854 GB, free: 48.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.08503, allocations: 4.312 kB / 0.6854 GB, free: 48.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.74e-06/0.08505, allocations: 11.94 kB / 0.6854 GB, free: 48.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.799e-06/0.08506, allocations: 4 kB / 0.6854 GB, free: 48.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.0853, allocations: 291.6 kB / 0.6857 GB, free: 47.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.08537, allocations: 92.92 kB / 0.6858 GB, free: 47.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.08542, allocations: 4 kB / 0.6858 GB, free: 47.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.08559, allocations: 16.05 kB / 0.6858 GB, free: 47.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.08563, allocations: 12 kB / 0.6858 GB, free: 47.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.08565, allocations: 4 kB / 0.6858 GB, free: 47.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.08579, allocations: 164.4 kB / 0.686 GB, free: 47.53 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.99e-07/0.0858, allocations: 7.938 kB / 0.686 GB, free: 47.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004325/0.08624, allocations: 47.94 kB / 0.686 GB, free: 47.48 MB / 442.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 7.062e-05/0.08632, allocations: 98.97 kB / 0.6861 GB, free: 47.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.08656, allocations: 119.9 kB / 0.6863 GB, free: 47.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.576e-06/0.08658, allocations: 0 / 0.6863 GB, free: 47.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.54e-05/0.08667, allocations: 45.23 kB / 0.6863 GB, free: 47.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.08715, allocations: 36.3 kB / 0.6863 GB, free: 47.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/0.08784, allocations: 0.5143 MB / 0.6868 GB, free: 46.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.08807, allocations: 0.7557 MB / 0.6876 GB, free: 45.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.08822, allocations: 37.52 kB / 0.6876 GB, free: 45.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.08827, allocations: 15.44 kB / 0.6876 GB, free: 45.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.324e-06/0.08828, allocations: 0 / 0.6876 GB, free: 45.77 MB / 442.7 MB Notification: Performance of Templates: time 0.004187/0.09248, allocations: 1.101 MB / 0.6887 GB, free: 44.68 MB / 442.7 MB