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.002454/0.002454, allocations: 354.1 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.152/3.152, allocations: 388.9 MB / 406.2 MB, free: 6.91 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.003407/0.003406, allocations: 226.4 kB / 451.6 MB, free: 0.5938 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.6424/0.6424, allocations: 76.02 MB / 0.5594 GB, free: 14.46 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004627, allocations: 8 kB / 0.6216 GB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2654, allocations: 53.21 MB / 0.6736 GB, free: 62.51 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.00344/0.2689, allocations: 3.625 MB / 0.6771 GB, free: 58.87 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.271, allocations: 1.787 MB / 0.6789 GB, free: 57.08 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.2712, allocations: 11.94 kB / 0.6789 GB, free: 57.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.2714, allocations: 47.62 kB / 0.6789 GB, free: 57.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006366/0.272, allocations: 303.2 kB / 0.6792 GB, free: 56.73 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.2723, allocations: 111.6 kB / 0.6793 GB, free: 56.62 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004894/0.2728, allocations: 0.6272 MB / 0.6799 GB, free: 55.99 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007399/0.2736, allocations: 407 kB / 0.6803 GB, free: 55.57 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.2738, allocations: 167.2 kB / 0.6805 GB, free: 55.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.2741, allocations: 219.3 kB / 0.6807 GB, free: 55.2 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.2741, allocations: 15.94 kB / 0.6807 GB, free: 55.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.2746, allocations: 239.2 kB / 0.6809 GB, free: 54.95 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.2747, allocations: 143.6 kB / 0.6811 GB, free: 54.8 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.812e-05/0.2748, allocations: 81.52 kB / 0.6812 GB, free: 54.72 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.2752, allocations: 355.1 kB / 0.6815 GB, free: 54.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2752, allocations: 4 kB / 0.6815 GB, free: 54.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2752, allocations: 0 / 0.6815 GB, free: 54.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.2752, allocations: 0 / 0.6815 GB, free: 54.37 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000625/0.2759, allocations: 0.5417 MB / 0.682 GB, free: 53.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.2759, allocations: 12.03 kB / 0.682 GB, free: 53.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.2774, allocations: 151.4 kB / 0.6822 GB, free: 53.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.2777, allocations: 287.6 kB / 0.6825 GB, free: 53.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.2778, allocations: 20.56 kB / 0.6825 GB, free: 53.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/0.2778, allocations: 28 kB / 0.6825 GB, free: 53.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000673/0.2785, allocations: 439.6 kB / 0.6829 GB, free: 52.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.2785, allocations: 3.938 kB / 0.6829 GB, free: 52.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.2786, allocations: 8 kB / 0.6829 GB, free: 52.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/0.2786, allocations: 32.53 kB / 0.683 GB, free: 52.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006929/0.2793, allocations: 425.9 kB / 0.6834 GB, free: 52.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.2818, allocations: 1.718 MB / 0.6851 GB, free: 50.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.2822, allocations: 290.7 kB / 0.6853 GB, free: 50.17 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.2824, allocations: 135.6 kB / 0.6855 GB, free: 50.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.2824, allocations: 12.17 kB / 0.6855 GB, free: 50.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.2825, allocations: 34.75 kB / 0.6855 GB, free: 49.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.452e-06/0.2825, allocations: 0 / 0.6855 GB, free: 49.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.001856/0.2843, allocations: 0.7824 MB / 0.6863 GB, free: 49.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.2844, allocations: 85.05 kB / 0.6863 GB, free: 49.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.2846, allocations: 218.3 kB / 0.6866 GB, free: 48.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.2846, allocations: 25.7 kB / 0.6866 GB, free: 48.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.2847, allocations: 184 kB / 0.6868 GB, free: 48.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.2848, allocations: 82.84 kB / 0.6868 GB, free: 48.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.2848, allocations: 4 kB / 0.6868 GB, free: 48.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.2849, allocations: 334.8 kB / 0.6872 GB, free: 48.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.2851, allocations: 104.5 kB / 0.6873 GB, free: 48.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.2853, allocations: 198.5 kB / 0.6874 GB, free: 47.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.2855, allocations: 145.2 kB / 0.6876 GB, free: 47.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2856, allocations: 0 / 0.6876 GB, free: 47.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008369/0.2864, allocations: 425.7 kB / 0.688 GB, free: 47.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2864, allocations: 8 kB / 0.688 GB, free: 47.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.198e-06/0.2865, allocations: 7.984 kB / 0.688 GB, free: 47.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004002/0.2869, allocations: 89.11 kB / 0.6881 GB, free: 47.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.2871, allocations: 59.89 kB / 0.6881 GB, free: 47.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.289, allocations: 1.791 MB / 0.6899 GB, free: 45.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.2892, allocations: 19.92 kB / 0.6899 GB, free: 45.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.2893, allocations: 12 kB / 0.6899 GB, free: 45.19 MB / 346.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.0001622/0.2894, allocations: 181.7 kB / 0.6901 GB, free: 45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.2895, allocations: 19.88 kB / 0.6901 GB, free: 44.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007738/0.2903, allocations: 386.3 kB / 0.6905 GB, free: 44.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.2903, allocations: 4 kB / 0.6905 GB, free: 44.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.869e-06/0.2903, allocations: 0 / 0.6905 GB, free: 44.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.208e-06/0.2903, allocations: 7.938 kB / 0.6905 GB, free: 44.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.2919, allocations: 0.9114 MB / 0.6914 GB, free: 43.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.981e-06/0.2919, allocations: 0 / 0.6914 GB, free: 43.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.2921, allocations: 39.97 kB / 0.6914 GB, free: 43.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000298/0.2924, allocations: 68.86 kB / 0.6915 GB, free: 43.49 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.2925, allocations: 8 kB / 0.6915 GB, free: 43.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.2941, allocations: 1.716 MB / 0.6932 GB, free: 41.63 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.362e-06/0.2941, allocations: 3.938 kB / 0.6932 GB, free: 41.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.2948, allocations: 466.3 kB / 0.6936 GB, free: 41.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.2949, allocations: 96.92 kB / 0.6937 GB, free: 41.03 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.295, allocations: 12 kB / 0.6937 GB, free: 41.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.2952, allocations: 7.984 kB / 0.6937 GB, free: 41.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.2952, allocations: 19.97 kB / 0.6938 GB, free: 40.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.2953, allocations: 11.95 kB / 0.6938 GB, free: 40.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000123/0.2954, allocations: 152.2 kB / 0.6939 GB, free: 40.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.76e-07/0.2954, allocations: 0 / 0.6939 GB, free: 40.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005821/0.296, allocations: 84 kB / 0.694 GB, free: 40.75 MB / 346.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 9.154e-05/0.2961, allocations: 111.2 kB / 0.6941 GB, free: 40.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007443/0.2968, allocations: 422.7 kB / 0.6945 GB, free: 40.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.772e-06/0.2969, allocations: 4.812 kB / 0.6945 GB, free: 40.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.2973, allocations: 286.6 kB / 0.6948 GB, free: 39.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.2978, allocations: 39.91 kB / 0.6948 GB, free: 39.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.2988, allocations: 0.7135 MB / 0.6955 GB, free: 39.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.2991, allocations: 0.8065 MB / 0.6963 GB, free: 38.28 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001931/0.2993, allocations: 49.91 kB / 0.6964 GB, free: 38.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.442e-05/0.2994, allocations: 31.42 kB / 0.6964 GB, free: 38.21 MB / 346.7 MB Notification: Performance of SimCode: time 1.302e-06/0.2994, allocations: 0 / 0.6964 GB, free: 38.21 MB / 346.7 MB Notification: Performance of Templates: time 0.008584/0.308, allocations: 2.713 MB / 0.699 GB, free: 35.52 MB / 346.7 MB