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.002554/0.00256, allocations: 363.9 kB / 17.21 MB, free: 4.953 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.753/3.753, allocations: 388.9 MB / 406.8 MB, free: 12 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.003647/0.003647, allocations: 217.7 kB / 452.2 MB, free: 14.6 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.733/0.733, allocations: 76 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.0004641, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09172/0.09221, allocations: 53.23 MB / 0.6742 GB, free: 60.81 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4469/0.5391, allocations: 90.36 MB / 0.7625 GB, free: 81.81 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.5395, allocations: 89.58 kB / 0.7626 GB, free: 81.81 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05112/0.5906, allocations: 14.65 MB / 0.7769 GB, free: 80.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5907, allocations: 0 / 0.7769 GB, free: 80.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.5907, allocations: 3.844 kB / 0.7769 GB, free: 80.24 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.0008076/0.5915, allocations: 0.4978 MB / 0.7773 GB, free: 79.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.5916, allocations: 7.781 kB / 0.7774 GB, free: 79.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.593, allocations: 121.3 kB / 0.7775 GB, free: 79.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.5935, allocations: 268.5 kB / 0.7777 GB, free: 79.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.5936, allocations: 10.34 kB / 0.7777 GB, free: 79.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.5936, allocations: 26.64 kB / 0.7778 GB, free: 79.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006499/0.5943, allocations: 313.7 kB / 0.7781 GB, free: 79.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.5943, allocations: 0.5156 kB / 0.7781 GB, free: 79.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.5944, allocations: 7.562 kB / 0.7781 GB, free: 79.35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.422e-05/0.5944, allocations: 26.55 kB / 0.7781 GB, free: 79.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006332/0.595, allocations: 288.5 kB / 0.7784 GB, free: 79.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.5973, allocations: 1.28 MB / 0.7796 GB, free: 78.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.5978, allocations: 199.3 kB / 0.7798 GB, free: 78.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.464e-05/0.5979, allocations: 47.12 kB / 0.7799 GB, free: 78.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.5979, allocations: 0 / 0.7799 GB, free: 78.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.598, allocations: 44.28 kB / 0.7799 GB, free: 78.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 2.565e-06/0.598, allocations: 1.719 kB / 0.7799 GB, free: 78.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004096/0.5984, allocations: 131.2 kB / 0.78 GB, free: 78.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.5984, allocations: 77.11 kB / 0.7801 GB, free: 77.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.5987, allocations: 216.2 kB / 0.7803 GB, free: 77.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.5987, allocations: 25.7 kB / 0.7803 GB, free: 77.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.5988, allocations: 171.8 kB / 0.7805 GB, free: 77.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.5989, allocations: 38.89 kB / 0.7805 GB, free: 77.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.5989, allocations: 3 kB / 0.7805 GB, free: 77.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.756e-05/0.599, allocations: 324.5 kB / 0.7808 GB, free: 77.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.754e-05/0.5991, allocations: 43.47 kB / 0.7809 GB, free: 77.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.5992, allocations: 134.3 kB / 0.781 GB, free: 77.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.5994, allocations: 59.7 kB / 0.7811 GB, free: 77.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5994, allocations: 0 / 0.7811 GB, free: 77.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003918/0.5998, allocations: 207.1 kB / 0.7813 GB, free: 77.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5998, allocations: 8.219 kB / 0.7813 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.5998, allocations: 3.844 kB / 0.7813 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.5999, allocations: 7.406 kB / 0.7813 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.6002, allocations: 46.78 kB / 0.7813 GB, free: 77.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.6002, allocations: 11.69 kB / 0.7813 GB, free: 77.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.6004, allocations: 22.81 kB / 0.7814 GB, free: 77.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.6005, allocations: 15.2 kB / 0.7814 GB, free: 77.06 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.0001666/0.6006, allocations: 152.7 kB / 0.7815 GB, free: 76.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.6007, allocations: 17 kB / 0.7815 GB, free: 76.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.601, allocations: 121.7 kB / 0.7816 GB, free: 76.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.601, allocations: 0.5625 kB / 0.7817 GB, free: 76.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.601, allocations: 8.172 kB / 0.7817 GB, free: 76.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.601, allocations: 0 / 0.7817 GB, free: 76.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000979/0.602, allocations: 0.5812 MB / 0.7822 GB, free: 76.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.6021, allocations: 0 / 0.7822 GB, free: 76.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.6022, allocations: 19.39 kB / 0.7822 GB, free: 76.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.6022, allocations: 7.797 kB / 0.7823 GB, free: 76.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.6022, allocations: 3.844 kB / 0.7823 GB, free: 76.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.6023, allocations: 4.344 kB / 0.7823 GB, free: 76.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.6023, allocations: 9.031 kB / 0.7823 GB, free: 76.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.6026, allocations: 286.6 kB / 0.7825 GB, free: 76.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.6027, allocations: 95.02 kB / 0.7826 GB, free: 76.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.6027, allocations: 15.03 kB / 0.7826 GB, free: 76.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.6029, allocations: 5.469 kB / 0.7827 GB, free: 76.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.6029, allocations: 15.08 kB / 0.7827 GB, free: 76.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.603, allocations: 7.688 kB / 0.7827 GB, free: 76.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001587/0.6031, allocations: 147.8 kB / 0.7828 GB, free: 75.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6031, allocations: 0 / 0.7828 GB, free: 75.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005001/0.6037, allocations: 57.75 kB / 0.7829 GB, free: 75.95 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 0.0001263/0.6038, allocations: 111 kB / 0.783 GB, free: 75.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003/0.6041, allocations: 114.1 kB / 0.7831 GB, free: 75.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6041, allocations: 3.812 kB / 0.7831 GB, free: 75.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.6042, allocations: 42.41 kB / 0.7831 GB, free: 75.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.6048, allocations: 35.16 kB / 0.7832 GB, free: 75.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008802/0.6057, allocations: 0.513 MB / 0.7837 GB, free: 75.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.6059, allocations: 0.7644 MB / 0.7844 GB, free: 74.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001874/0.6061, allocations: 36.64 kB / 0.7844 GB, free: 74.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.6062, allocations: 18.75 kB / 0.7845 GB, free: 74.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6062, allocations: 0 / 0.7845 GB, free: 74.64 MB / 442.7 MB Notification: Performance of Templates: time 0.005/0.6112, allocations: 1.125 MB / 0.7856 GB, free: 74.12 MB / 442.7 MB