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.002379/0.002379, allocations: 356.2 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.157/3.157, allocations: 388.9 MB / 406.2 MB, free: 6.848 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003412/0.003412, allocations: 228.9 kB / 451.6 MB, free: 0.582 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6446/0.6446, allocations: 76.02 MB / 0.5594 GB, free: 14.45 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004863, allocations: 12 kB / 0.6216 GB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2621, allocations: 53.22 MB / 0.6736 GB, free: 62.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003092/0.2652, allocations: 3.167 MB / 0.6767 GB, free: 59.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.267, allocations: 1.423 MB / 0.6781 GB, free: 58.01 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.2672, allocations: 9 kB / 0.6781 GB, free: 58 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.2673, allocations: 39.7 kB / 0.6781 GB, free: 57.96 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004896/0.2678, allocations: 210.1 kB / 0.6783 GB, free: 57.76 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.2681, allocations: 91.64 kB / 0.6784 GB, free: 57.67 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.2684, allocations: 434.8 kB / 0.6788 GB, free: 57.24 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005788/0.269, allocations: 315.4 kB / 0.6791 GB, free: 56.92 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.2692, allocations: 116.3 kB / 0.6792 GB, free: 56.81 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.2695, allocations: 152.1 kB / 0.6794 GB, free: 56.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.2695, allocations: 8.656 kB / 0.6794 GB, free: 56.65 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003077/0.2698, allocations: 164.7 kB / 0.6796 GB, free: 56.49 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.019e-05/0.2699, allocations: 87.75 kB / 0.6796 GB, free: 56.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/0.27, allocations: 65.58 kB / 0.6797 GB, free: 56.34 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.2703, allocations: 240.1 kB / 0.6799 GB, free: 56.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.914e-06/0.2703, allocations: 0 / 0.6799 GB, free: 56.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.707e-06/0.2703, allocations: 0.5312 kB / 0.6799 GB, free: 56.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.803e-06/0.2703, allocations: 0 / 0.6799 GB, free: 56.1 MB / 346.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.0005204/0.2708, allocations: 493 kB / 0.6804 GB, free: 55.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.2709, allocations: 8.031 kB / 0.6804 GB, free: 55.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.2719, allocations: 99.61 kB / 0.6805 GB, free: 55.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.2722, allocations: 256.7 kB / 0.6807 GB, free: 55.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.2722, allocations: 16.53 kB / 0.6808 GB, free: 55.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.2723, allocations: 19.98 kB / 0.6808 GB, free: 55.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.2728, allocations: 306.4 kB / 0.6811 GB, free: 54.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.2728, allocations: 7.891 kB / 0.6811 GB, free: 54.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.2728, allocations: 4 kB / 0.6811 GB, free: 54.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.2729, allocations: 23.98 kB / 0.6811 GB, free: 54.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004806/0.2734, allocations: 283.7 kB / 0.6814 GB, free: 54.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.2753, allocations: 1.297 MB / 0.6826 GB, free: 53.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006135/0.2759, allocations: 209.2 kB / 0.6828 GB, free: 52.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.2761, allocations: 57.91 kB / 0.6829 GB, free: 52.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.2761, allocations: 3.938 kB / 0.6829 GB, free: 52.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.2761, allocations: 42.5 kB / 0.6829 GB, free: 52.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.348e-06/0.2761, allocations: 0 / 0.6829 GB, free: 52.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009558/0.2771, allocations: 427.6 kB / 0.6834 GB, free: 52.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.2771, allocations: 77.11 kB / 0.6834 GB, free: 52.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.2773, allocations: 197 kB / 0.6836 GB, free: 52.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.2774, allocations: 25.7 kB / 0.6836 GB, free: 52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.2774, allocations: 163.7 kB / 0.6838 GB, free: 51.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.2775, allocations: 47.48 kB / 0.6838 GB, free: 51.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.2775, allocations: 4 kB / 0.6838 GB, free: 51.78 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.639e-05/0.2776, allocations: 334.8 kB / 0.6842 GB, free: 51.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.2777, allocations: 51.97 kB / 0.6842 GB, free: 51.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.2778, allocations: 147.2 kB / 0.6844 GB, free: 51.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.278, allocations: 83.58 kB / 0.6844 GB, free: 51.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.643e-06/0.278, allocations: 4 kB / 0.6844 GB, free: 51.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005023/0.2785, allocations: 258.3 kB / 0.6847 GB, free: 50.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2786, allocations: 15.94 kB / 0.6847 GB, free: 50.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.305e-06/0.2786, allocations: 7.938 kB / 0.6847 GB, free: 50.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002372/0.2788, allocations: 36.83 kB / 0.6847 GB, free: 50.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.279, allocations: 39.92 kB / 0.6848 GB, free: 50.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009937/0.28, allocations: 1.343 MB / 0.6861 GB, free: 49.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.2802, allocations: 11.98 kB / 0.6861 GB, free: 49.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.2802, allocations: 16 kB / 0.6861 GB, free: 49.26 MB / 346.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.0001336/0.2804, allocations: 155.1 kB / 0.6863 GB, free: 49.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.2805, allocations: 23.75 kB / 0.6863 GB, free: 49.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.2809, allocations: 183.9 kB / 0.6865 GB, free: 48.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.843e-06/0.2809, allocations: 11.97 kB / 0.6865 GB, free: 48.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.563e-06/0.2809, allocations: 3.938 kB / 0.6865 GB, free: 48.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.583e-06/0.2809, allocations: 0 / 0.6865 GB, free: 48.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008945/0.2818, allocations: 0.5603 MB / 0.687 GB, free: 48.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.79e-06/0.2818, allocations: 0 / 0.687 GB, free: 48.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.282, allocations: 23.92 kB / 0.687 GB, free: 48.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001782/0.2822, allocations: 36.92 kB / 0.6871 GB, free: 48.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.2822, allocations: 4 kB / 0.6871 GB, free: 48.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009005/0.2831, allocations: 1.326 MB / 0.6884 GB, free: 46.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.404e-06/0.2831, allocations: 3.953 kB / 0.6884 GB, free: 46.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.2835, allocations: 303.2 kB / 0.6887 GB, free: 46.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.2836, allocations: 88.92 kB / 0.6888 GB, free: 46.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.2837, allocations: 11.98 kB / 0.6888 GB, free: 46.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.2838, allocations: 3.953 kB / 0.6888 GB, free: 46.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.2839, allocations: 15.92 kB / 0.6888 GB, free: 46.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.2839, allocations: 8 kB / 0.6888 GB, free: 46.26 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.284, allocations: 137.9 kB / 0.6889 GB, free: 46.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.284, allocations: 4 kB / 0.6889 GB, free: 46.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000454/0.2845, allocations: 48 kB / 0.689 GB, free: 46.07 MB / 346.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 8.715e-05/0.2846, allocations: 103.2 kB / 0.6891 GB, free: 45.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000492/0.2851, allocations: 263.3 kB / 0.6893 GB, free: 45.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2851, allocations: 4.062 kB / 0.6893 GB, free: 45.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002567/0.2854, allocations: 182.5 kB / 0.6895 GB, free: 45.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.2858, allocations: 24.17 kB / 0.6895 GB, free: 45.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007359/0.2866, allocations: 0.5262 MB / 0.69 GB, free: 44.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.2868, allocations: 0.7598 MB / 0.6908 GB, free: 44.13 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.287, allocations: 45.48 kB / 0.6908 GB, free: 44.08 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.2871, allocations: 19.44 kB / 0.6908 GB, free: 44.06 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2871, allocations: 0 / 0.6908 GB, free: 44.06 MB / 346.7 MB Notification: Performance of Templates: time 0.007648/0.2947, allocations: 1.544 MB / 0.6924 GB, free: 42.54 MB / 346.7 MB