Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Load.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.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002443/0.002447, allocations: 354.4 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.127/3.127, allocations: 388.9 MB / 406.2 MB, free: 6.934 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.003097/0.003097, allocations: 235.1 kB / 451.6 MB, free: 0.5781 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.5879/0.5879, allocations: 76.03 MB / 0.5594 GB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004884, allocations: 12 kB / 0.6216 GB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2505, allocations: 53.22 MB / 0.6736 GB, free: 62.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.004023/0.2546, allocations: 4.512 MB / 0.678 GB, free: 57.97 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.2571, allocations: 1.648 MB / 0.6796 GB, free: 56.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.2573, allocations: 19.88 kB / 0.6796 GB, free: 56.3 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.2575, allocations: 71.97 kB / 0.6797 GB, free: 56.23 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006244/0.2581, allocations: 305.2 kB / 0.68 GB, free: 55.94 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006427/0.2588, allocations: 242.3 kB / 0.6802 GB, free: 55.7 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005773/0.2594, allocations: 0.713 MB / 0.6809 GB, free: 54.99 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006681/0.2601, allocations: 486.1 kB / 0.6814 GB, free: 54.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.2604, allocations: 227 kB / 0.6816 GB, free: 54.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005154/0.2609, allocations: 374.9 kB / 0.682 GB, free: 53.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/0.261, allocations: 20 kB / 0.682 GB, free: 53.89 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.2612, allocations: 107.7 kB / 0.6821 GB, free: 53.78 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.2614, allocations: 215.5 kB / 0.6823 GB, free: 53.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.2615, allocations: 113.4 kB / 0.6824 GB, free: 53.45 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.2619, allocations: 494.9 kB / 0.6829 GB, free: 52.97 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.736e-06/0.2619, allocations: 0 / 0.6829 GB, free: 52.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.832e-06/0.2619, allocations: 0 / 0.6829 GB, free: 52.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.641e-06/0.262, allocations: 0 / 0.6829 GB, free: 52.97 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001629/0.2636, allocations: 0.797 MB / 0.6836 GB, free: 52.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.2636, allocations: 8.031 kB / 0.6837 GB, free: 52.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006157/0.2643, allocations: 99.19 kB / 0.6837 GB, free: 52.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009428/0.2652, allocations: 470.8 kB / 0.6842 GB, free: 51.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.2653, allocations: 37 kB / 0.6842 GB, free: 51.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.2654, allocations: 47.95 kB / 0.6843 GB, free: 51.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008675/0.2663, allocations: 0.6879 MB / 0.685 GB, free: 50.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.2663, allocations: 7.938 kB / 0.685 GB, free: 50.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.2664, allocations: 23.94 kB / 0.685 GB, free: 50.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001227/0.2665, allocations: 28.98 kB / 0.685 GB, free: 50.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008726/0.2674, allocations: 0.5267 MB / 0.6855 GB, free: 50.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.2708, allocations: 3.129 MB / 0.6886 GB, free: 46.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005416/0.2714, allocations: 317.2 kB / 0.6889 GB, free: 46.49 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.2716, allocations: 173.7 kB / 0.689 GB, free: 46.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.2717, allocations: 7.984 kB / 0.6891 GB, free: 46.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.2717, allocations: 42.55 kB / 0.6891 GB, free: 46.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 2.356e-06/0.2717, allocations: 3.938 kB / 0.6891 GB, free: 46.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001978/0.2737, allocations: 1.208 MB / 0.6903 GB, free: 45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.2738, allocations: 85.23 kB / 0.6904 GB, free: 44.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.2741, allocations: 393.5 kB / 0.6907 GB, free: 44.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.2742, allocations: 29.7 kB / 0.6908 GB, free: 44.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.2743, allocations: 295.2 kB / 0.691 GB, free: 44.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.204e-05/0.2744, allocations: 114.4 kB / 0.6912 GB, free: 44.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.2744, allocations: 8 kB / 0.6912 GB, free: 44.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.2745, allocations: 354.8 kB / 0.6915 GB, free: 43.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.2748, allocations: 185 kB / 0.6917 GB, free: 43.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.2752, allocations: 389.5 kB / 0.692 GB, free: 43.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/0.2757, allocations: 267.2 kB / 0.6923 GB, free: 42.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.856e-06/0.2757, allocations: 0 / 0.6923 GB, free: 42.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002114/0.2778, allocations: 0.842 MB / 0.6931 GB, free: 41.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2778, allocations: 8 kB / 0.6931 GB, free: 41.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.899e-06/0.2779, allocations: 4 kB / 0.6931 GB, free: 41.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/0.2794, allocations: 309.4 kB / 0.6934 GB, free: 41.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006714/0.2801, allocations: 135.8 kB / 0.6936 GB, free: 41.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004684/0.2848, allocations: 3.843 MB / 0.6973 GB, free: 37.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.2852, allocations: 31.97 kB / 0.6973 GB, free: 37.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/0.2852, allocations: 24 kB / 0.6974 GB, free: 37.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002498/0.2855, allocations: 217.7 kB / 0.6976 GB, free: 37.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.68e-05/0.2856, allocations: 47.44 kB / 0.6976 GB, free: 37.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007675/0.2864, allocations: 489.4 kB / 0.6981 GB, free: 36.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2864, allocations: 7.953 kB / 0.6981 GB, free: 36.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.491e-06/0.2864, allocations: 0 / 0.6981 GB, free: 36.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.934e-06/0.2864, allocations: 0 / 0.6981 GB, free: 36.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.2878, allocations: 1.025 MB / 0.6991 GB, free: 35.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.935e-06/0.2878, allocations: 3.938 kB / 0.6991 GB, free: 35.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/0.2884, allocations: 92.06 kB / 0.6992 GB, free: 35.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.975e-06/0.2885, allocations: 3.953 kB / 0.6992 GB, free: 35.37 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/0.2885, allocations: 15.98 kB / 0.6992 GB, free: 35.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.603e-06/0.2885, allocations: 4 kB / 0.6992 GB, free: 35.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.227e-06/0.2885, allocations: 0 / 0.6992 GB, free: 35.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009859/0.2895, allocations: 0.7534 MB / 0.6999 GB, free: 34.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.367e-05/0.2896, allocations: 120.6 kB / 0.7001 GB, free: 34.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.2897, allocations: 15.89 kB / 0.7001 GB, free: 34.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.29, allocations: 19.97 kB / 0.7001 GB, free: 34.4 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.2901, allocations: 27.95 kB / 0.7001 GB, free: 34.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.2901, allocations: 16 kB / 0.7001 GB, free: 34.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002476/0.2904, allocations: 267.1 kB / 0.7004 GB, free: 34.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.83e-07/0.2904, allocations: 0 / 0.7004 GB, free: 34.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005388/0.2909, allocations: 120 kB / 0.7005 GB, free: 33.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (39): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001022/0.291, allocations: 111.2 kB / 0.7006 GB, free: 33.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.2925, allocations: 0.7876 MB / 0.7014 GB, free: 33.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.067e-06/0.2926, allocations: 320 / 0.7014 GB, free: 33.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.2929, allocations: 211.6 kB / 0.7016 GB, free: 32.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.2935, allocations: 81.45 kB / 0.7017 GB, free: 32.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.2955, allocations: 1.533 MB / 0.7032 GB, free: 31.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.2959, allocations: 0.9096 MB / 0.704 GB, free: 30.26 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004437/0.2963, allocations: 131.3 kB / 0.7042 GB, free: 30.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.2965, allocations: 39.42 kB / 0.7042 GB, free: 30.09 MB / 346.7 MB Notification: Performance of SimCode: time 1.398e-06/0.2965, allocations: 0 / 0.7042 GB, free: 30.09 MB / 346.7 MB Notification: Performance of Templates: time 0.01143/0.308, allocations: 5.684 MB / 0.7098 GB, free: 24.46 MB / 346.7 MB