Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Machines.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.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Machines") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002344/0.002347, allocations: 353.8 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.057/3.057, allocations: 388.9 MB / 406.2 MB, free: 6.832 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.003136/0.003135, allocations: 228.5 kB / 451.6 MB, free: 0.5703 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.5983/0.5983, allocations: 76.03 MB / 0.5594 GB, free: 14.44 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004236, allocations: 12 kB / 0.6216 GB, free: 14.86 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2496, allocations: 53.21 MB / 0.6736 GB, free: 62.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.005126/0.2548, allocations: 5.512 MB / 0.679 GB, free: 57.11 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005686/0.2605, allocations: 4.138 MB / 0.683 GB, free: 52.97 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004577/0.261, allocations: 31.75 kB / 0.683 GB, free: 52.94 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007088/0.2681, allocations: 4.362 MB / 0.6873 GB, free: 48.57 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007781/0.2689, allocations: 370 kB / 0.6877 GB, free: 48.21 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.2696, allocations: 227.5 kB / 0.6879 GB, free: 47.99 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001666/0.2712, allocations: 1.797 MB / 0.6896 GB, free: 46.19 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006749/0.2719, allocations: 0.4946 MB / 0.6901 GB, free: 45.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.2722, allocations: 306.7 kB / 0.6904 GB, free: 45.36 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005089/0.2727, allocations: 438.4 kB / 0.6908 GB, free: 44.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.84e-05/0.2728, allocations: 24 kB / 0.6908 GB, free: 44.91 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002531/0.2731, allocations: 71.89 kB / 0.6909 GB, free: 44.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002405/0.2734, allocations: 259.2 kB / 0.6912 GB, free: 44.58 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.2735, allocations: 137.4 kB / 0.6913 GB, free: 44.44 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005079/0.274, allocations: 0.5533 MB / 0.6918 GB, free: 43.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.099e-06/0.274, allocations: 0 / 0.6918 GB, free: 43.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.832e-06/0.274, allocations: 0 / 0.6918 GB, free: 43.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.608e-05/0.2741, allocations: 0 / 0.6918 GB, free: 43.89 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001325/0.2754, allocations: 0.8081 MB / 0.6926 GB, free: 43.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.2754, allocations: 8.031 kB / 0.6926 GB, free: 43.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000467/0.2759, allocations: 111 kB / 0.6927 GB, free: 42.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009371/0.2769, allocations: 0.5171 MB / 0.6932 GB, free: 42.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.2769, allocations: 29 kB / 0.6933 GB, free: 42.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.2771, allocations: 55.89 kB / 0.6933 GB, free: 42.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009372/0.278, allocations: 0.6414 MB / 0.694 GB, free: 41.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.278, allocations: 7.875 kB / 0.694 GB, free: 41.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/0.2781, allocations: 19.98 kB / 0.694 GB, free: 41.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/0.2782, allocations: 52.92 kB / 0.694 GB, free: 41.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007804/0.279, allocations: 487.6 kB / 0.6945 GB, free: 41.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003091/0.2821, allocations: 2.512 MB / 0.6969 GB, free: 38.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.2826, allocations: 323.5 kB / 0.6973 GB, free: 38.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.2829, allocations: 186.5 kB / 0.6974 GB, free: 37.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.283, allocations: 4 kB / 0.6974 GB, free: 37.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.283, allocations: 39.03 kB / 0.6975 GB, free: 37.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 2.457e-06/0.283, allocations: 4 kB / 0.6975 GB, free: 37.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.0026/0.2856, allocations: 1.691 MB / 0.6991 GB, free: 35.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.2857, allocations: 110.8 kB / 0.6992 GB, free: 35.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.2861, allocations: 421.8 kB / 0.6996 GB, free: 35.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.2862, allocations: 37.86 kB / 0.6997 GB, free: 35.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.2863, allocations: 299.7 kB / 0.7 GB, free: 35.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.674e-05/0.2864, allocations: 130.2 kB / 0.7001 GB, free: 34.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.2865, allocations: 8 kB / 0.7001 GB, free: 34.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.2866, allocations: 362.8 kB / 0.7004 GB, free: 34.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.2869, allocations: 165 kB / 0.7006 GB, free: 34.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.2873, allocations: 298.2 kB / 0.7009 GB, free: 34.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.2876, allocations: 221.5 kB / 0.7011 GB, free: 33.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.846e-06/0.2876, allocations: 3.953 kB / 0.7011 GB, free: 33.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001356/0.289, allocations: 0.8121 MB / 0.7019 GB, free: 33.03 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.289, allocations: 10.97 kB / 0.7019 GB, free: 33.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.601e-06/0.289, allocations: 4 kB / 0.7019 GB, free: 33.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006892/0.2897, allocations: 205.8 kB / 0.7021 GB, free: 32.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.2901, allocations: 83.77 kB / 0.7022 GB, free: 32.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004068/0.2942, allocations: 3.875 MB / 0.706 GB, free: 28.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.2945, allocations: 23.92 kB / 0.706 GB, free: 28.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.2945, allocations: 20 kB / 0.706 GB, free: 28.54 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: 1 (system.initime) * 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: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002635/0.2948, allocations: 230.7 kB / 0.7062 GB, free: 28.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.2949, allocations: 55.34 kB / 0.7063 GB, free: 28.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008749/0.2958, allocations: 0.6353 MB / 0.7069 GB, free: 27.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2958, allocations: 4 kB / 0.7069 GB, free: 27.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2959, allocations: 8.031 kB / 0.7069 GB, free: 27.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.103e-06/0.2959, allocations: 7.938 kB / 0.7069 GB, free: 27.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.2977, allocations: 1.238 MB / 0.7081 GB, free: 26.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.037e-06/0.2977, allocations: 4 kB / 0.7081 GB, free: 26.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.2983, allocations: 71.89 kB / 0.7082 GB, free: 26.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001634/0.2984, allocations: 53.67 kB / 0.7082 GB, free: 26.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.2985, allocations: 12 kB / 0.7083 GB, free: 26.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.2999, allocations: 2.626 MB / 0.7108 GB, free: 23.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.341e-06/0.3, allocations: 12.25 kB / 0.7108 GB, free: 23.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.3012, allocations: 0.9704 MB / 0.7118 GB, free: 22.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.3014, allocations: 148.4 kB / 0.7119 GB, free: 21.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.914e-05/0.3014, allocations: 15.98 kB / 0.7119 GB, free: 21.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.3018, allocations: 11.94 kB / 0.712 GB, free: 21.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.3018, allocations: 31.91 kB / 0.712 GB, free: 21.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.3019, allocations: 16 kB / 0.712 GB, free: 21.87 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002898/0.3022, allocations: 291.1 kB / 0.7123 GB, free: 21.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.77e-07/0.3022, allocations: 0 / 0.7123 GB, free: 21.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006304/0.3028, allocations: 135.9 kB / 0.7124 GB, free: 21.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.w_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1]) * 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 (37): * Single equations (assignments): 34 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001183/0.3029, allocations: 111.2 kB / 0.7125 GB, free: 21.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.3042, allocations: 0.7286 MB / 0.7132 GB, free: 20.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.131e-06/0.3042, allocations: 0 / 0.7132 GB, free: 20.58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005216/0.3047, allocations: 422.7 kB / 0.7136 GB, free: 20.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008536/0.3056, allocations: 112.2 kB / 0.7137 GB, free: 20.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.3078, allocations: 1.845 MB / 0.7155 GB, free: 18.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.3082, allocations: 0.9562 MB / 0.7165 GB, free: 17.17 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003752/0.3086, allocations: 104.5 kB / 0.7166 GB, free: 17.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.3087, allocations: 35.44 kB / 0.7166 GB, free: 17.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.406e-06/0.3087, allocations: 0 / 0.7166 GB, free: 17.04 MB / 346.7 MB Notification: Performance of Templates: time 0.01352/0.3223, allocations: 6.285 MB / 0.7227 GB, free: 10.82 MB / 346.7 MB