Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002317/0.00232, allocations: 353.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.025/3.025, allocations: 388.9 MB / 406.2 MB, free: 6.855 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.00316/0.00316, allocations: 232 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.6418/0.6418, allocations: 76.03 MB / 0.5594 GB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004328, allocations: 12 kB / 0.6216 GB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2526, allocations: 53.21 MB / 0.6736 GB, free: 62.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.005302/0.2579, allocations: 5.575 MB / 0.679 GB, free: 57.04 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.2606, allocations: 2.078 MB / 0.6811 GB, free: 54.97 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/0.2609, allocations: 31.81 kB / 0.6811 GB, free: 54.94 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.2614, allocations: 143.1 kB / 0.6812 GB, free: 54.8 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009859/0.2624, allocations: 385.7 kB / 0.6816 GB, free: 54.42 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.2628, allocations: 183.6 kB / 0.6818 GB, free: 54.24 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008668/0.2637, allocations: 0.8836 MB / 0.6826 GB, free: 53.35 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003968/0.2641, allocations: 366.2 kB / 0.683 GB, free: 52.99 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.2644, allocations: 281.5 kB / 0.6833 GB, free: 52.71 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.2648, allocations: 310.8 kB / 0.6836 GB, free: 52.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.2649, allocations: 28 kB / 0.6836 GB, free: 52.38 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.2651, allocations: 67.92 kB / 0.6837 GB, free: 52.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.2652, allocations: 151.5 kB / 0.6838 GB, free: 52.17 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.2653, allocations: 133.4 kB / 0.6839 GB, free: 52.03 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.2659, allocations: 0.5532 MB / 0.6845 GB, free: 51.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.577e-06/0.2659, allocations: 3.938 kB / 0.6845 GB, free: 51.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.836e-06/0.2659, allocations: 0 / 0.6845 GB, free: 51.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.472e-06/0.2659, allocations: 0 / 0.6845 GB, free: 51.47 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001274/0.2672, allocations: 0.8102 MB / 0.6853 GB, free: 50.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2673, allocations: 12.03 kB / 0.6853 GB, free: 50.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.2674, allocations: 59.25 kB / 0.6853 GB, free: 50.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000741/0.2681, allocations: 493.7 kB / 0.6858 GB, free: 50.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.2682, allocations: 29 kB / 0.6858 GB, free: 49.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.2683, allocations: 55.94 kB / 0.6859 GB, free: 49.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007688/0.2691, allocations: 0.5095 MB / 0.6864 GB, free: 49.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.2691, allocations: 11.84 kB / 0.6864 GB, free: 49.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/0.2692, allocations: 20 kB / 0.6864 GB, free: 49.35 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.026e-05/0.2693, allocations: 20.97 kB / 0.6864 GB, free: 49.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005923/0.2699, allocations: 331.7 kB / 0.6867 GB, free: 49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002392/0.2723, allocations: 2.066 MB / 0.6888 GB, free: 46.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.2727, allocations: 235.6 kB / 0.689 GB, free: 46.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.2729, allocations: 86.97 kB / 0.6891 GB, free: 46.47 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.2729, allocations: 240 / 0.6891 GB, free: 46.47 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.2732, allocations: 171.8 kB / 0.6892 GB, free: 46.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 2.354e-06/0.2732, allocations: 4 kB / 0.6892 GB, free: 46.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.001939/0.2751, allocations: 1.149 MB / 0.6904 GB, free: 45.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.2752, allocations: 140.5 kB / 0.6905 GB, free: 44.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/0.2756, allocations: 413.8 kB / 0.6909 GB, free: 44.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.2757, allocations: 33.7 kB / 0.6909 GB, free: 44.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.2759, allocations: 295.6 kB / 0.6912 GB, free: 44.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.952e-05/0.276, allocations: 86.73 kB / 0.6913 GB, free: 44.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.276, allocations: 15.94 kB / 0.6913 GB, free: 44.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.2761, allocations: 350.8 kB / 0.6916 GB, free: 43.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.2763, allocations: 92.83 kB / 0.6917 GB, free: 43.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.2765, allocations: 233.4 kB / 0.6919 GB, free: 43.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.2768, allocations: 145.7 kB / 0.6921 GB, free: 43.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.304e-06/0.2768, allocations: 0 / 0.6921 GB, free: 43.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009118/0.2777, allocations: 482 kB / 0.6925 GB, free: 42.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.2778, allocations: 33.7 kB / 0.6926 GB, free: 42.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.528e-06/0.2778, allocations: 4 kB / 0.6926 GB, free: 42.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000494/0.2783, allocations: 101.3 kB / 0.6927 GB, free: 42.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.2786, allocations: 71.91 kB / 0.6927 GB, free: 42.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.2805, allocations: 1.691 MB / 0.6944 GB, free: 40.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.2808, allocations: 23.97 kB / 0.6944 GB, free: 40.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.2808, allocations: 27.94 kB / 0.6944 GB, free: 40.58 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.00022/0.2811, allocations: 201.7 kB / 0.6946 GB, free: 40.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.2811, allocations: 43.53 kB / 0.6947 GB, free: 40.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005752/0.2817, allocations: 290 kB / 0.695 GB, free: 40.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.074e-06/0.2817, allocations: 7.953 kB / 0.695 GB, free: 40.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.743e-06/0.2817, allocations: 4 kB / 0.695 GB, free: 40.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.331e-06/0.2818, allocations: 0 / 0.695 GB, free: 40.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.283, allocations: 0.7878 MB / 0.6957 GB, free: 39.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.695e-06/0.283, allocations: 0 / 0.6957 GB, free: 39.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.2834, allocations: 55.91 kB / 0.6958 GB, free: 39.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002495/0.2836, allocations: 48.81 kB / 0.6958 GB, free: 39.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.2837, allocations: 4 kB / 0.6958 GB, free: 39.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.2848, allocations: 1.44 MB / 0.6972 GB, free: 37.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.293e-06/0.2848, allocations: 4.031 kB / 0.6972 GB, free: 37.49 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007182/0.2856, allocations: 491.7 kB / 0.6977 GB, free: 36.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.2857, allocations: 132.7 kB / 0.6978 GB, free: 36.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.2858, allocations: 4 kB / 0.6978 GB, free: 36.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.2861, allocations: 15.98 kB / 0.6979 GB, free: 36.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.23e-05/0.2862, allocations: 27.92 kB / 0.6979 GB, free: 36.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.2862, allocations: 4 kB / 0.6979 GB, free: 36.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003382/0.2866, allocations: 299 kB / 0.6982 GB, free: 36.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.14e-07/0.2866, allocations: 0 / 0.6982 GB, free: 36.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005715/0.2872, allocations: 120 kB / 0.6983 GB, free: 36.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.motor.phi_el,dcm_par.motor.w_el,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009007/0.2881, allocations: 328.4 kB / 0.6986 GB, free: 36.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007616/0.2889, allocations: 449.9 kB / 0.699 GB, free: 35.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.073e-06/0.2889, allocations: 4 kB / 0.699 GB, free: 35.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.2893, allocations: 231.2 kB / 0.6993 GB, free: 35.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007534/0.29, allocations: 118.6 kB / 0.6994 GB, free: 35.35 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.292, allocations: 1.493 MB / 0.7008 GB, free: 33.83 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.2923, allocations: 0.8896 MB / 0.7017 GB, free: 32.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003064/0.2926, allocations: 68.22 kB / 0.7018 GB, free: 32.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.872e-05/0.2927, allocations: 35.42 kB / 0.7018 GB, free: 32.81 MB / 346.7 MB Notification: Performance of SimCode: time 1.216e-06/0.2928, allocations: 0 / 0.7018 GB, free: 32.81 MB / 346.7 MB Notification: Performance of Templates: time 0.01291/0.3057, allocations: 5.807 MB / 0.7075 GB, free: 27.05 MB / 346.7 MB