Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002579/0.002578, allocations: 361.4 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.756/3.756, allocations: 388.9 MB / 406.8 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.003549/0.003548, allocations: 237.6 kB / 452.2 MB, free: 14.49 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.7218/0.7218, allocations: 76 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004575/0.0004577, allocations: 12 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09022/0.0907, allocations: 53.23 MB / 0.6742 GB, free: 60.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4387/0.5295, allocations: 89.01 MB / 0.7611 GB, free: 81.88 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.5298, allocations: 84.98 kB / 0.7612 GB, free: 81.88 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04642/0.5763, allocations: 13.19 MB / 0.7741 GB, free: 80.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.5763, allocations: 0 / 0.7741 GB, free: 80.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.5764, allocations: 7.656 kB / 0.7741 GB, free: 80.69 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.0008003/0.5772, allocations: 0.4949 MB / 0.7746 GB, free: 80.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.5772, allocations: 11.22 kB / 0.7746 GB, free: 80.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.5784, allocations: 93.95 kB / 0.7747 GB, free: 80.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.5788, allocations: 263.5 kB / 0.7749 GB, free: 80.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.5789, allocations: 15.88 kB / 0.775 GB, free: 80.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.5789, allocations: 15.12 kB / 0.775 GB, free: 80.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/0.5795, allocations: 315.2 kB / 0.7753 GB, free: 79.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.5796, allocations: 0 / 0.7753 GB, free: 79.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.5796, allocations: 18.67 kB / 0.7753 GB, free: 79.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.5797, allocations: 27.47 kB / 0.7753 GB, free: 79.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005781/0.5803, allocations: 279.4 kB / 0.7756 GB, free: 79.92 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.5824, allocations: 1.292 MB / 0.7768 GB, free: 79.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.5829, allocations: 162.5 kB / 0.777 GB, free: 79.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.5831, allocations: 56.03 kB / 0.7771 GB, free: 79.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.5831, allocations: 5.328 kB / 0.7771 GB, free: 79.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.5831, allocations: 32.88 kB / 0.7771 GB, free: 79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 2.465e-06/0.5831, allocations: 3.938 kB / 0.7771 GB, free: 79 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.001214/0.5844, allocations: 417.6 kB / 0.7775 GB, free: 78.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.5844, allocations: 86.22 kB / 0.7776 GB, free: 78.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.5846, allocations: 197 kB / 0.7778 GB, free: 78.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.5847, allocations: 30.31 kB / 0.7778 GB, free: 78.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.5848, allocations: 163.5 kB / 0.7779 GB, free: 78.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.5848, allocations: 47.94 kB / 0.778 GB, free: 78.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.5849, allocations: 3.438 kB / 0.778 GB, free: 78.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.5849, allocations: 327.5 kB / 0.7783 GB, free: 78.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.5851, allocations: 53.75 kB / 0.7784 GB, free: 78.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.5852, allocations: 149.2 kB / 0.7785 GB, free: 77.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.5854, allocations: 79.17 kB / 0.7786 GB, free: 77.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5854, allocations: 0.6875 kB / 0.7786 GB, free: 77.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005906/0.586, allocations: 259.7 kB / 0.7788 GB, free: 77.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.5861, allocations: 11.67 kB / 0.7788 GB, free: 77.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5861, allocations: 3.875 kB / 0.7788 GB, free: 77.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003106/0.5864, allocations: 39.34 kB / 0.7789 GB, free: 77.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.5867, allocations: 46.83 kB / 0.7789 GB, free: 77.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.5879, allocations: 1.337 MB / 0.7802 GB, free: 76.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.5881, allocations: 12.66 kB / 0.7802 GB, free: 76.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.5881, allocations: 11.66 kB / 0.7803 GB, free: 76.54 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 (24): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001796/0.5883, allocations: 165.2 kB / 0.7804 GB, free: 76.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.5884, allocations: 15.5 kB / 0.7804 GB, free: 76.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005135/0.5889, allocations: 193.1 kB / 0.7806 GB, free: 76.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5889, allocations: 0 / 0.7806 GB, free: 76.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5889, allocations: 3.969 kB / 0.7806 GB, free: 76.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5889, allocations: 0 / 0.7806 GB, free: 76.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009831/0.5899, allocations: 0.5493 MB / 0.7811 GB, free: 75.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5899, allocations: 3.844 kB / 0.7812 GB, free: 75.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.5901, allocations: 19.52 kB / 0.7812 GB, free: 75.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002139/0.5903, allocations: 35.98 kB / 0.7812 GB, free: 75.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.5904, allocations: 0 / 0.7812 GB, free: 75.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009855/0.5914, allocations: 1.327 MB / 0.7825 GB, free: 74.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5914, allocations: 0 / 0.7825 GB, free: 74.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.5918, allocations: 301.1 kB / 0.7828 GB, free: 74.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.5919, allocations: 92.61 kB / 0.7829 GB, free: 74.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.592, allocations: 3.562 kB / 0.7829 GB, free: 74.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.5921, allocations: 3.844 kB / 0.7829 GB, free: 74.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.5922, allocations: 19 kB / 0.7829 GB, free: 74.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.5922, allocations: 4.781 kB / 0.7829 GB, free: 74.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001416/0.5924, allocations: 143.5 kB / 0.783 GB, free: 74.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5924, allocations: 7.938 kB / 0.7831 GB, free: 74.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005185/0.5929, allocations: 52.88 kB / 0.7831 GB, free: 74.17 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001261/0.593, allocations: 106.6 kB / 0.7832 GB, free: 74.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006118/0.5937, allocations: 271.4 kB / 0.7835 GB, free: 73.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5937, allocations: 0 / 0.7835 GB, free: 73.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.594, allocations: 173.7 kB / 0.7836 GB, free: 73.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.5944, allocations: 27.17 kB / 0.7837 GB, free: 73.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008846/0.5953, allocations: 0.5215 MB / 0.7842 GB, free: 73.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.5956, allocations: 0.7652 MB / 0.7849 GB, free: 72.69 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000185/0.5958, allocations: 41.19 kB / 0.7849 GB, free: 72.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.5959, allocations: 22.53 kB / 0.785 GB, free: 72.67 MB / 442.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5959, allocations: 0 / 0.785 GB, free: 72.67 MB / 442.7 MB Notification: Performance of Templates: time 0.005786/0.6017, allocations: 1.55 MB / 0.7865 GB, free: 71.95 MB / 442.7 MB