Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.Tables.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.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001414/0.001413, allocations: 185.6 kB / 16.38 MB, free: 5.594 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: 11.19 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.001867/0.001866, allocations: 120.6 kB / 256.9 MB, free: 14.41 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.3905/0.3905, allocations: 38.01 MB / 340.1 MB, free: 16.92 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004603, allocations: 16 kB / 403.8 MB, free: 1.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2753, allocations: 53.21 MB / 457 MB, free: 27 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001529/0.2768, allocations: 1.042 MB / 458 MB, free: 26.26 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004247/0.2773, allocations: 218.5 kB / 458.3 MB, free: 26.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.2773, allocations: 0 / 458.3 MB, free: 26.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.2775, allocations: 20.56 kB / 458.3 MB, free: 26.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.2776, allocations: 22.41 kB / 458.3 MB, free: 26.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.923e-05/0.2777, allocations: 28.12 kB / 458.3 MB, free: 26.08 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.845e-05/0.2779, allocations: 29.66 kB / 458.4 MB, free: 26.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.2779, allocations: 3 kB / 458.4 MB, free: 26.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.278, allocations: 24.91 kB / 458.4 MB, free: 26.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.2781, allocations: 19.73 kB / 458.4 MB, free: 26.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.2781, allocations: 2.469 kB / 458.4 MB, free: 26.04 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.179e-05/0.2782, allocations: 30.83 kB / 458.4 MB, free: 26.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.2783, allocations: 20.22 kB / 458.5 MB, free: 26.03 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.2783, allocations: 34.98 kB / 458.5 MB, free: 25.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.2785, allocations: 69.28 kB / 458.6 MB, free: 25.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.472e-06/0.2785, allocations: 0 / 458.6 MB, free: 25.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2785, allocations: 0 / 458.6 MB, free: 25.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.083e-06/0.2785, allocations: 0 / 458.6 MB, free: 25.96 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003017/0.2788, allocations: 393 kB / 458.9 MB, free: 25.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.2789, allocations: 13.64 kB / 459 MB, free: 25.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.2789, allocations: 7.594 kB / 459 MB, free: 25.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.2791, allocations: 181.5 kB / 459.1 MB, free: 25.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2791, allocations: 1.406 kB / 459.1 MB, free: 25.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.2792, allocations: 5.406 kB / 459.1 MB, free: 25.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.2793, allocations: 64.53 kB / 459.2 MB, free: 25.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.661e-06/0.2793, allocations: 1.156 kB / 459.2 MB, free: 25.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.906e-06/0.2793, allocations: 0 / 459.2 MB, free: 25.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.833e-06/0.2793, allocations: 1.344 kB / 459.2 MB, free: 25.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.717e-05/0.2794, allocations: 26.34 kB / 459.2 MB, free: 25.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.2797, allocations: 275.9 kB / 459.5 MB, free: 24.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.724e-05/0.2799, allocations: 40.53 kB / 459.5 MB, free: 24.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.2799, allocations: 1.531 kB / 459.5 MB, free: 24.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.2799, allocations: 31.08 kB / 459.6 MB, free: 24.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.045e-06/0.2799, allocations: 0 / 459.6 MB, free: 24.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001804/0.2801, allocations: 69.05 kB / 459.6 MB, free: 24.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.2802, allocations: 82.48 kB / 459.7 MB, free: 24.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.2803, allocations: 139.7 kB / 459.9 MB, free: 24.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.2803, allocations: 27.14 kB / 459.9 MB, free: 24.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.2804, allocations: 92.94 kB / 460 MB, free: 24.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.2804, allocations: 10.03 kB / 460 MB, free: 24.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-06/0.2804, allocations: 0 / 460 MB, free: 24.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.2805, allocations: 317.9 kB / 460.3 MB, free: 24.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.2805, allocations: 7 kB / 460.3 MB, free: 24.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.673e-05/0.2806, allocations: 26.81 kB / 460.3 MB, free: 24.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.672e-05/0.2806, allocations: 36.66 kB / 460.4 MB, free: 24.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-06/0.2806, allocations: 1.344 kB / 460.4 MB, free: 24.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001344/0.2808, allocations: 84.41 kB / 460.4 MB, free: 24.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.2808, allocations: 31.86 kB / 460.5 MB, free: 24.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.095e-06/0.2808, allocations: 0.7969 kB / 460.5 MB, free: 24.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2809, allocations: 3.953 kB / 460.5 MB, free: 24.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.2809, allocations: 10 kB / 460.5 MB, free: 24.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.065e-06/0.2809, allocations: 0 / 460.5 MB, free: 24.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.409e-05/0.281, allocations: 5.984 kB / 460.5 MB, free: 24.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.989e-06/0.281, allocations: 5.406 kB / 460.5 MB, free: 24.02 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.822e-05/0.2811, allocations: 125.1 kB / 460.6 MB, free: 23.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.2811, allocations: 2.75 kB / 460.6 MB, free: 23.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.2813, allocations: 62.77 kB / 460.7 MB, free: 23.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.2813, allocations: 5.328 kB / 460.7 MB, free: 23.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.426e-06/0.2813, allocations: 0.7031 kB / 460.7 MB, free: 23.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.398e-06/0.2813, allocations: 0 / 460.7 MB, free: 23.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.2815, allocations: 177.3 kB / 460.9 MB, free: 23.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-06/0.2815, allocations: 4 kB / 460.9 MB, free: 23.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.2816, allocations: 8.672 kB / 460.9 MB, free: 23.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.166e-06/0.2816, allocations: 2.172 kB / 460.9 MB, free: 23.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.54e-06/0.2816, allocations: 0 / 460.9 MB, free: 23.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.231e-06/0.2816, allocations: 0 / 460.9 MB, free: 23.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.663e-06/0.2816, allocations: 9.328 kB / 460.9 MB, free: 23.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.2817, allocations: 147.5 kB / 461 MB, free: 23.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.2818, allocations: 85.31 kB / 461.1 MB, free: 23.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.2818, allocations: 1.375 kB / 461.1 MB, free: 23.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.2819, allocations: 4.703 kB / 461.1 MB, free: 23.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.2819, allocations: 2.031 kB / 461.1 MB, free: 23.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.108e-06/0.2819, allocations: 5.328 kB / 461.1 MB, free: 23.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.202e-05/0.282, allocations: 108.2 kB / 461.2 MB, free: 23.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.28e-07/0.282, allocations: 0 / 461.2 MB, free: 23.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003296/0.2824, allocations: 19.11 kB / 461.3 MB, free: 23.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0009614/0.2834, allocations: 324.4 kB / 461.6 MB, free: 23.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.2835, allocations: 78.91 kB / 461.7 MB, free: 22.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.89e-06/0.2835, allocations: 0 / 461.7 MB, free: 22.99 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.893e-05/0.2836, allocations: 11.75 kB / 461.7 MB, free: 22.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.2838, allocations: 8.516 kB / 461.7 MB, free: 22.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.2841, allocations: 157.5 kB / 461.8 MB, free: 22.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.2843, allocations: 0.6884 MB / 462.5 MB, free: 22.15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.418e-05/0.2844, allocations: 15.16 kB / 462.5 MB, free: 22.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.2844, allocations: 17.7 kB / 462.5 MB, free: 22.13 MB / 314.7 MB Notification: Performance of SimCode: time 1.357e-06/0.2844, allocations: 0 / 462.5 MB, free: 22.13 MB / 314.7 MB Notification: Performance of Templates: time 0.003793/0.2882, allocations: 1.01 MB / 463.6 MB, free: 21.66 MB / 314.7 MB