Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002414/0.002414, allocations: 352.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.497/3.497, allocations: 388.9 MB / 406.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003516/0.003515, allocations: 235.8 kB / 451.6 MB, free: 14.61 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6486/0.6486, allocations: 76.01 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004815, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06702/0.06752, allocations: 53.23 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004504/0.07207, allocations: 4.58 MB / 0.6781 GB, free: 56.21 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.07458, allocations: 1.669 MB / 0.6797 GB, free: 54.54 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.07483, allocations: 31.81 kB / 0.6797 GB, free: 54.5 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.07501, allocations: 63.45 kB / 0.6798 GB, free: 54.44 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006381/0.07566, allocations: 298.4 kB / 0.6801 GB, free: 54.15 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.0763, allocations: 243.4 kB / 0.6803 GB, free: 53.91 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006059/0.07692, allocations: 0.7209 MB / 0.681 GB, free: 53.19 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006649/0.0776, allocations: 450.6 kB / 0.6815 GB, free: 52.71 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.07788, allocations: 223 kB / 0.6817 GB, free: 52.49 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004127/0.07831, allocations: 315 kB / 0.682 GB, free: 52.18 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/0.07837, allocations: 20 kB / 0.682 GB, free: 52.16 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.07861, allocations: 91.84 kB / 0.6821 GB, free: 52.07 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.0788, allocations: 203.4 kB / 0.6823 GB, free: 51.88 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.07891, allocations: 109.5 kB / 0.6824 GB, free: 51.76 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.07933, allocations: 462.8 kB / 0.6828 GB, free: 51.31 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.07935, allocations: 0 / 0.6828 GB, free: 51.31 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.632e-06/0.07936, allocations: 0 / 0.6828 GB, free: 51.31 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.545e-06/0.07938, allocations: 4 kB / 0.6828 GB, free: 51.3 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00108/0.08047, allocations: 0.6724 MB / 0.6835 GB, free: 50.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.08052, allocations: 8.828 kB / 0.6835 GB, free: 50.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007235/0.08125, allocations: 103.2 kB / 0.6836 GB, free: 50.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.08187, allocations: 398.8 kB / 0.684 GB, free: 50.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.08192, allocations: 29 kB / 0.684 GB, free: 50.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.08208, allocations: 55.88 kB / 0.684 GB, free: 49.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008648/0.08295, allocations: 0.6522 MB / 0.6847 GB, free: 49.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.08299, allocations: 3.938 kB / 0.6847 GB, free: 49.24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/0.08305, allocations: 20 kB / 0.6847 GB, free: 49.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/0.08321, allocations: 52.91 kB / 0.6847 GB, free: 49.17 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008425/0.08407, allocations: 487.5 kB / 0.6852 GB, free: 48.69 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.08721, allocations: 3.156 MB / 0.6883 GB, free: 45.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.08769, allocations: 241.9 kB / 0.6885 GB, free: 45.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.0879, allocations: 118 kB / 0.6886 GB, free: 44.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.08795, allocations: 8.188 kB / 0.6886 GB, free: 44.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.08798, allocations: 38.75 kB / 0.6887 GB, free: 44.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=23): time 3.371e-06/0.08799, allocations: 0 / 0.6887 GB, free: 44.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=24): time 0.001494/0.0895, allocations: 0.8908 MB / 0.6896 GB, free: 43.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.08955, allocations: 85.19 kB / 0.6896 GB, free: 43.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.08989, allocations: 332.3 kB / 0.69 GB, free: 43.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.08993, allocations: 29.7 kB / 0.69 GB, free: 43.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.09008, allocations: 299 kB / 0.6903 GB, free: 43.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.556e-05/0.09017, allocations: 82.84 kB / 0.6903 GB, free: 43.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.0902, allocations: 4 kB / 0.6903 GB, free: 43.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.09028, allocations: 350.8 kB / 0.6907 GB, free: 42.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.09054, allocations: 124.8 kB / 0.6908 GB, free: 42.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.09088, allocations: 325.1 kB / 0.6911 GB, free: 42.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.09119, allocations: 191.9 kB / 0.6913 GB, free: 42.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.75e-06/0.09121, allocations: 0 / 0.6913 GB, free: 42.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001137/0.09235, allocations: 0.5924 MB / 0.6919 GB, free: 41.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.09239, allocations: 12.08 kB / 0.6919 GB, free: 41.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007395/0.09314, allocations: 330.9 kB / 0.6922 GB, free: 41.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004815/0.09364, allocations: 113.6 kB / 0.6923 GB, free: 40.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.09402, allocations: 91.81 kB / 0.6924 GB, free: 40.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.09638, allocations: 3.018 MB / 0.6953 GB, free: 37.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.09671, allocations: 16 kB / 0.6954 GB, free: 37.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.09677, allocations: 27.98 kB / 0.6954 GB, free: 37.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * 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: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002551/0.09703, allocations: 221.7 kB / 0.6956 GB, free: 37.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.09711, allocations: 35.53 kB / 0.6956 GB, free: 37.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005405/0.09766, allocations: 316.9 kB / 0.6959 GB, free: 36.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.014e-06/0.09769, allocations: 8.141 kB / 0.6959 GB, free: 36.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.402e-06/0.0977, allocations: 0 / 0.6959 GB, free: 36.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.6e-06/0.09771, allocations: 3.984 kB / 0.6959 GB, free: 36.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.09884, allocations: 0.8124 MB / 0.6967 GB, free: 36.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.133e-06/0.09886, allocations: 0 / 0.6967 GB, free: 36.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.09924, allocations: 59.92 kB / 0.6968 GB, free: 36.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.775e-06/0.09926, allocations: 0 / 0.6968 GB, free: 36.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.0993, allocations: 8 kB / 0.6968 GB, free: 36.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.09931, allocations: 7.938 kB / 0.6968 GB, free: 36.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.035e-06/0.09932, allocations: 0 / 0.6968 GB, free: 36.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006505/0.09998, allocations: 0.5099 MB / 0.6973 GB, free: 35.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.1001, allocations: 124.7 kB / 0.6974 GB, free: 35.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.1002, allocations: 15.94 kB / 0.6974 GB, free: 35.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.1004, allocations: 11.94 kB / 0.6975 GB, free: 35.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.1005, allocations: 23.91 kB / 0.6975 GB, free: 35.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.1005, allocations: 12 kB / 0.6975 GB, free: 35.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002383/0.1007, allocations: 219 kB / 0.6977 GB, free: 35.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.9e-07/0.1008, allocations: 0 / 0.6977 GB, free: 35.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005792/0.1013, allocations: 100 kB / 0.6978 GB, free: 34.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * 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 (27): * Single equations (assignments): 26 * 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 9.993e-05/0.1014, allocations: 99.25 kB / 0.6979 GB, free: 34.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008683/0.1023, allocations: 0.5715 MB / 0.6984 GB, free: 34.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.184e-06/0.1024, allocations: 0 / 0.6984 GB, free: 34.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.1026, allocations: 129.1 kB / 0.6986 GB, free: 34.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000552/0.1031, allocations: 65.58 kB / 0.6986 GB, free: 34.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.1047, allocations: 1.219 MB / 0.6998 GB, free: 32.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1051, allocations: 0.8818 MB / 0.7007 GB, free: 31.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003855/0.1055, allocations: 115.2 kB / 0.7008 GB, free: 31.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.767e-05/0.1056, allocations: 31.44 kB / 0.7008 GB, free: 31.78 MB / 442.7 MB Notification: Performance of SimCode: time 1.849e-06/0.1056, allocations: 0 / 0.7008 GB, free: 31.78 MB / 442.7 MB Notification: Performance of Templates: time 0.008892/0.1145, allocations: 3.524 MB / 0.7043 GB, free: 28.26 MB / 442.7 MB