Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002598/0.002602, allocations: 361.6 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.737/3.737, allocations: 388.9 MB / 406.8 MB, free: 12 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.003552/0.003552, allocations: 235.7 kB / 452.2 MB, free: 14.59 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.7378/0.7378, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004709, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.08922, allocations: 53.22 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.467/0.5563, allocations: 95.94 MB / 0.7679 GB, free: 81.41 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.5566, allocations: 96.66 kB / 0.768 GB, free: 81.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05052/0.6071, allocations: 12.55 MB / 0.7803 GB, free: 79.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6072, allocations: 0.6562 kB / 0.7803 GB, free: 79.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.19e-05/0.6072, allocations: 8.812 kB / 0.7803 GB, free: 79.48 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001674/0.6089, allocations: 0.7246 MB / 0.781 GB, free: 78.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.609, allocations: 11.69 kB / 0.781 GB, free: 78.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00086/0.6099, allocations: 94.64 kB / 0.7811 GB, free: 78.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.6113, allocations: 0.5393 MB / 0.7816 GB, free: 78.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.6113, allocations: 30.5 kB / 0.7816 GB, free: 78.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.6114, allocations: 48.23 kB / 0.7817 GB, free: 78.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.6127, allocations: 0.6185 MB / 0.7823 GB, free: 78.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.6127, allocations: 11.73 kB / 0.7823 GB, free: 78.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.295e-05/0.6128, allocations: 18.28 kB / 0.7823 GB, free: 78.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.666e-05/0.6129, allocations: 30.36 kB / 0.7823 GB, free: 78.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.6139, allocations: 450 kB / 0.7828 GB, free: 78.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004151/0.618, allocations: 2.929 MB / 0.7856 GB, free: 75.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.6185, allocations: 196.5 kB / 0.7858 GB, free: 75.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.6188, allocations: 138.3 kB / 0.7859 GB, free: 75.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.6189, allocations: 0 / 0.7859 GB, free: 75.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.6189, allocations: 44.58 kB / 0.786 GB, free: 75.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=24): time 2.244e-06/0.6189, allocations: 0 / 0.786 GB, free: 75.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.002111/0.621, allocations: 0.9706 MB / 0.7869 GB, free: 75.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.6211, allocations: 82.56 kB / 0.787 GB, free: 75.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004152/0.6215, allocations: 326.3 kB / 0.7873 GB, free: 75.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.6216, allocations: 29.45 kB / 0.7874 GB, free: 74.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.6217, allocations: 295.8 kB / 0.7876 GB, free: 74.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.36e-05/0.6218, allocations: 89.08 kB / 0.7877 GB, free: 74.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.6219, allocations: 10.44 kB / 0.7877 GB, free: 74.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.622, allocations: 343.9 kB / 0.7881 GB, free: 74.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.6223, allocations: 140.4 kB / 0.7882 GB, free: 74.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/0.6227, allocations: 335.7 kB / 0.7885 GB, free: 74.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.6231, allocations: 199.6 kB / 0.7887 GB, free: 74.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6232, allocations: 3.844 kB / 0.7887 GB, free: 74.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001487/0.6247, allocations: 0.5914 MB / 0.7893 GB, free: 73.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.6247, allocations: 7.656 kB / 0.7893 GB, free: 73.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000875/0.6256, allocations: 319.9 kB / 0.7896 GB, free: 73.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005102/0.6261, allocations: 85.75 kB / 0.7897 GB, free: 73.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000595/0.6267, allocations: 97.22 kB / 0.7898 GB, free: 73.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.6285, allocations: 1.594 MB / 0.7913 GB, free: 72.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.6291, allocations: 23.33 kB / 0.7914 GB, free: 72.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/0.6291, allocations: 23.3 kB / 0.7914 GB, free: 72.39 MB / 442.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 (48): * Single equations (assignments): 46 * 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: 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 prepare postOptimizeDAE: time 0.0003607/0.6295, allocations: 212.7 kB / 0.7916 GB, free: 72.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.6296, allocations: 38.91 kB / 0.7916 GB, free: 72.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008361/0.6304, allocations: 351.5 kB / 0.7919 GB, free: 72.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.6305, allocations: 3.875 kB / 0.792 GB, free: 72.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6305, allocations: 3.969 kB / 0.792 GB, free: 72.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.6305, allocations: 3.984 kB / 0.792 GB, free: 72.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.6323, allocations: 0.8636 MB / 0.7928 GB, free: 71.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.6324, allocations: 3.875 kB / 0.7928 GB, free: 71.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00056/0.6329, allocations: 57.69 kB / 0.7929 GB, free: 71.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.633, allocations: 7.828 kB / 0.7929 GB, free: 71.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.633, allocations: 7.062 kB / 0.7929 GB, free: 71.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.633, allocations: 0 / 0.7929 GB, free: 71.67 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.633, allocations: 3.844 kB / 0.7929 GB, free: 71.67 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009723/0.634, allocations: 0.5596 MB / 0.7934 GB, free: 71.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.49e-05/0.6341, allocations: 102.7 kB / 0.7935 GB, free: 71.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.211e-05/0.6342, allocations: 10.78 kB / 0.7935 GB, free: 71.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.6345, allocations: 16.23 kB / 0.7935 GB, free: 71.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.6346, allocations: 15.2 kB / 0.7936 GB, free: 71.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.6347, allocations: 3.844 kB / 0.7936 GB, free: 71.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002903/0.635, allocations: 221.2 kB / 0.7938 GB, free: 71.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.635, allocations: 3.844 kB / 0.7938 GB, free: 71.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006902/0.6357, allocations: 114.6 kB / 0.7939 GB, free: 71.19 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (25): * Single equations (assignments): 23 * 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.0002017/0.6359, allocations: 132.9 kB / 0.794 GB, free: 71.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.637, allocations: 485.9 kB / 0.7945 GB, free: 70.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.637, allocations: 6.531 kB / 0.7945 GB, free: 70.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.6373, allocations: 138.2 kB / 0.7946 GB, free: 70.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006752/0.638, allocations: 72.25 kB / 0.7947 GB, free: 70.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.6402, allocations: 1.236 MB / 0.7959 GB, free: 70.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.6407, allocations: 0.884 MB / 0.7968 GB, free: 69.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005242/0.6412, allocations: 107.5 kB / 0.7969 GB, free: 69.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.6414, allocations: 30.66 kB / 0.7969 GB, free: 69.24 MB / 442.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6414, allocations: 0 / 0.7969 GB, free: 69.24 MB / 442.7 MB Notification: Performance of Templates: time 0.01099/0.6524, allocations: 3.464 MB / 0.8003 GB, free: 67.62 MB / 442.7 MB