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.002611/0.002615, allocations: 363.4 kB / 17.21 MB, free: 4.953 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.692/3.692, allocations: 388.9 MB / 406.8 MB, free: 11.98 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.003534/0.003534, allocations: 237.6 kB / 452.2 MB, free: 14.57 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.739/0.739, allocations: 76 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004535/0.0004538, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08816/0.08864, allocations: 53.24 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4459/0.5346, allocations: 97.01 MB / 0.769 GB, free: 81.54 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.5349, allocations: 93.81 kB / 0.769 GB, free: 81.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05782/0.5928, allocations: 14.57 MB / 0.7833 GB, free: 78.67 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5928, allocations: 4 kB / 0.7833 GB, free: 78.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.316e-05/0.5929, allocations: 7.531 kB / 0.7833 GB, free: 78.66 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.001649/0.5945, allocations: 0.7233 MB / 0.784 GB, free: 78.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.5946, allocations: 7.688 kB / 0.784 GB, free: 78.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00088/0.5955, allocations: 96.72 kB / 0.7841 GB, free: 78.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.5969, allocations: 0.5359 MB / 0.7846 GB, free: 77.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.597, allocations: 29.31 kB / 0.7846 GB, free: 77.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.5971, allocations: 45.83 kB / 0.7847 GB, free: 77.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.5983, allocations: 0.64 MB / 0.7853 GB, free: 77.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.5984, allocations: 3.938 kB / 0.7853 GB, free: 77.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.227e-05/0.5985, allocations: 21.52 kB / 0.7853 GB, free: 77.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/0.5986, allocations: 42.12 kB / 0.7854 GB, free: 77.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.5997, allocations: 466.8 kB / 0.7858 GB, free: 77.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/0.6039, allocations: 3.041 MB / 0.7888 GB, free: 74.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000671/0.6047, allocations: 264 kB / 0.789 GB, free: 74.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.605, allocations: 142.5 kB / 0.7892 GB, free: 74.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-05/0.6051, allocations: 15 kB / 0.7892 GB, free: 74.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.6051, allocations: 38.34 kB / 0.7892 GB, free: 74.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 3.246e-06/0.6051, allocations: 3.281 kB / 0.7892 GB, free: 74.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.002341/0.6075, allocations: 1.015 MB / 0.7902 GB, free: 74.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.6076, allocations: 80.92 kB / 0.7903 GB, free: 74.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.608, allocations: 315.4 kB / 0.7906 GB, free: 74.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.6081, allocations: 32.77 kB / 0.7906 GB, free: 74.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.6083, allocations: 280.2 kB / 0.7909 GB, free: 73.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.6084, allocations: 106.4 kB / 0.791 GB, free: 73.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.6085, allocations: 11.44 kB / 0.791 GB, free: 73.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.728e-05/0.6086, allocations: 345.1 kB / 0.7913 GB, free: 73.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.6089, allocations: 152.5 kB / 0.7915 GB, free: 73.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.6093, allocations: 322 kB / 0.7918 GB, free: 73.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/0.6098, allocations: 211.2 kB / 0.792 GB, free: 73.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.6098, allocations: 3.844 kB / 0.792 GB, free: 73.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001688/0.6115, allocations: 0.6034 MB / 0.7926 GB, free: 72.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.6116, allocations: 11.88 kB / 0.7926 GB, free: 72.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001117/0.6128, allocations: 379.5 kB / 0.793 GB, free: 72.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006537/0.6135, allocations: 108.4 kB / 0.7931 GB, free: 72.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/0.6141, allocations: 88.75 kB / 0.7932 GB, free: 72.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/0.6173, allocations: 3.015 MB / 0.7961 GB, free: 70.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/0.6179, allocations: 28.41 kB / 0.7961 GB, free: 70.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/0.618, allocations: 24.23 kB / 0.7961 GB, free: 70.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (46): * Single equations (assignments): 43 * Array equations: 1 * 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.0004056/0.6184, allocations: 216.9 kB / 0.7964 GB, free: 69.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.27e-05/0.6185, allocations: 34.94 kB / 0.7964 GB, free: 69.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009426/0.6195, allocations: 380 kB / 0.7967 GB, free: 69.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/0.6195, allocations: 3.844 kB / 0.7968 GB, free: 69.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6195, allocations: 3.875 kB / 0.7968 GB, free: 69.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.6195, allocations: 0 / 0.7968 GB, free: 69.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.6213, allocations: 0.8896 MB / 0.7976 GB, free: 69.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6213, allocations: 0 / 0.7976 GB, free: 69.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006944/0.622, allocations: 65.94 kB / 0.7977 GB, free: 69.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.6221, allocations: 0 / 0.7977 GB, free: 69.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.6221, allocations: 7.406 kB / 0.7977 GB, free: 69.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.6221, allocations: 12.36 kB / 0.7977 GB, free: 69.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6221, allocations: 3.469 kB / 0.7977 GB, free: 69.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.6232, allocations: 0.5827 MB / 0.7983 GB, free: 69.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.6235, allocations: 135.4 kB / 0.7984 GB, free: 68.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-05/0.6235, allocations: 8.75 kB / 0.7984 GB, free: 68.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.6239, allocations: 10.95 kB / 0.7984 GB, free: 68.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.624, allocations: 35.58 kB / 0.7985 GB, free: 68.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.624, allocations: 3.875 kB / 0.7985 GB, free: 68.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002972/0.6243, allocations: 213.2 kB / 0.7987 GB, free: 68.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6243, allocations: 0 / 0.7987 GB, free: 68.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007294/0.6251, allocations: 118.3 kB / 0.7988 GB, free: 68.84 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 (28): * Single equations (assignments): 26 * Array equations: 1 * 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.0002181/0.6253, allocations: 131.5 kB / 0.7989 GB, free: 68.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.6267, allocations: 0.6211 MB / 0.7995 GB, free: 68.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6267, allocations: 1.312 kB / 0.7995 GB, free: 68.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.627, allocations: 153.5 kB / 0.7997 GB, free: 68.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007235/0.6278, allocations: 66.41 kB / 0.7997 GB, free: 68.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.63, allocations: 1.248 MB / 0.8009 GB, free: 67.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.6305, allocations: 0.8898 MB / 0.8018 GB, free: 66.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005556/0.6311, allocations: 107.7 kB / 0.8019 GB, free: 66.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.6312, allocations: 32.69 kB / 0.8019 GB, free: 66.76 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6312, allocations: 3.938 kB / 0.8019 GB, free: 66.76 MB / 442.7 MB Notification: Performance of Templates: time 0.0121/0.6434, allocations: 3.825 MB / 0.8057 GB, free: 64.96 MB / 442.7 MB