Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002776/0.002776, allocations: 363.7 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.749/3.749, 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.003603/0.003603, allocations: 231.5 kB / 452.2 MB, free: 14.59 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.8448/0.8448, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.0004414, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08919/0.08966, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5278, allocations: 89.05 MB / 0.7612 GB, free: 81.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.5281, allocations: 90.81 kB / 0.7613 GB, free: 81.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06465/0.5928, allocations: 17.98 MB / 0.7788 GB, free: 79.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5929, allocations: 0 / 0.7788 GB, free: 79.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.5929, allocations: 6.062 kB / 0.7788 GB, free: 79.2 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001015/0.5939, allocations: 0.5582 MB / 0.7794 GB, free: 78.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.594, allocations: 11.53 kB / 0.7794 GB, free: 78.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.5958, allocations: 140 kB / 0.7795 GB, free: 78.65 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.5963, allocations: 303.2 kB / 0.7798 GB, free: 78.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.5964, allocations: 23.61 kB / 0.7798 GB, free: 78.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.538e-05/0.5965, allocations: 22.94 kB / 0.7799 GB, free: 78.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008762/0.5974, allocations: 430.5 kB / 0.7803 GB, free: 78.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.5974, allocations: 0 / 0.7803 GB, free: 78.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.5975, allocations: 18.45 kB / 0.7803 GB, free: 78.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.5977, allocations: 34.69 kB / 0.7803 GB, free: 78.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008883/0.5986, allocations: 414.1 kB / 0.7807 GB, free: 78.14 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/0.6014, allocations: 1.713 MB / 0.7824 GB, free: 76.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.6019, allocations: 291 kB / 0.7827 GB, free: 76.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.6022, allocations: 134.7 kB / 0.7828 GB, free: 76.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.6023, allocations: 2.156 kB / 0.7828 GB, free: 76.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.6023, allocations: 38.72 kB / 0.7828 GB, free: 76.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 3.777e-06/0.6023, allocations: 4 kB / 0.7828 GB, free: 76.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=23): time 0.002486/0.6048, allocations: 0.7768 MB / 0.7836 GB, free: 76.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.6049, allocations: 81.02 kB / 0.7837 GB, free: 76.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.6052, allocations: 214.5 kB / 0.7839 GB, free: 76.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.6052, allocations: 29.45 kB / 0.7839 GB, free: 76.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.6053, allocations: 186.8 kB / 0.7841 GB, free: 75.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/0.6054, allocations: 77 kB / 0.7842 GB, free: 75.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.6054, allocations: 2.938 kB / 0.7842 GB, free: 75.92 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.437e-05/0.6055, allocations: 336.5 kB / 0.7845 GB, free: 75.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.6058, allocations: 103.7 kB / 0.7846 GB, free: 75.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.606, allocations: 207.3 kB / 0.7848 GB, free: 75.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.6064, allocations: 142.8 kB / 0.7849 GB, free: 75.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.6064, allocations: 3.969 kB / 0.7849 GB, free: 75.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001135/0.6075, allocations: 423.1 kB / 0.7853 GB, free: 75.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.6076, allocations: 3.844 kB / 0.7853 GB, free: 75.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.6076, allocations: 8.5 kB / 0.7853 GB, free: 75.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005625/0.6081, allocations: 83.48 kB / 0.7854 GB, free: 75.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.6086, allocations: 62.83 kB / 0.7855 GB, free: 75.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.611, allocations: 1.808 MB / 0.7872 GB, free: 73.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.6114, allocations: 25.95 kB / 0.7873 GB, free: 73.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.6115, allocations: 18.17 kB / 0.7873 GB, free: 73.76 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002553/0.6118, allocations: 176.2 kB / 0.7874 GB, free: 73.63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.6118, allocations: 23.34 kB / 0.7875 GB, free: 73.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.6129, allocations: 380.2 kB / 0.7878 GB, free: 73.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6129, allocations: 3.844 kB / 0.7878 GB, free: 73.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6129, allocations: 3.812 kB / 0.7878 GB, free: 73.49 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.6129, allocations: 0 / 0.7878 GB, free: 73.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.615, allocations: 0.9174 MB / 0.7887 GB, free: 72.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.615, allocations: 0.8125 kB / 0.7887 GB, free: 72.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.6153, allocations: 37.73 kB / 0.7888 GB, free: 72.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004218/0.6158, allocations: 69.94 kB / 0.7888 GB, free: 72.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.6158, allocations: 12.34 kB / 0.7889 GB, free: 72.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/0.618, allocations: 1.709 MB / 0.7905 GB, free: 71.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6181, allocations: 0 / 0.7905 GB, free: 71.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.6192, allocations: 466.7 kB / 0.791 GB, free: 71.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.073e-05/0.6193, allocations: 104.4 kB / 0.7911 GB, free: 71.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.6194, allocations: 7.594 kB / 0.7911 GB, free: 71.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.6196, allocations: 11.27 kB / 0.7911 GB, free: 71.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.6197, allocations: 19.05 kB / 0.7911 GB, free: 71.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.6197, allocations: 7.875 kB / 0.7911 GB, free: 71.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001747/0.6199, allocations: 152.1 kB / 0.7913 GB, free: 71.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6199, allocations: 3.781 kB / 0.7913 GB, free: 71.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006801/0.6206, allocations: 86.72 kB / 0.7913 GB, free: 71.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/0.6208, allocations: 114.3 kB / 0.7914 GB, free: 70.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009993/0.6218, allocations: 424 kB / 0.7919 GB, free: 70.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6218, allocations: 0 / 0.7919 GB, free: 70.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006228/0.6224, allocations: 290.2 kB / 0.7921 GB, free: 70.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.623, allocations: 41.25 kB / 0.7922 GB, free: 70.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.6244, allocations: 0.7181 MB / 0.7929 GB, free: 70.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.6248, allocations: 0.8106 MB / 0.7937 GB, free: 69.37 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002511/0.625, allocations: 51.92 kB / 0.7937 GB, free: 69.35 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/0.6251, allocations: 22.98 kB / 0.7937 GB, free: 69.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.223e-06/0.6251, allocations: 0 / 0.7937 GB, free: 69.34 MB / 442.7 MB Notification: Performance of Templates: time 0.008329/0.6335, allocations: 2.729 MB / 0.7964 GB, free: 68.07 MB / 442.7 MB