Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002638/0.002638, allocations: 364.1 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.862/3.862, allocations: 388.9 MB / 406.8 MB, free: 11.92 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.00359/0.00359, allocations: 237.6 kB / 452.2 MB, free: 14.52 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.7499/0.7499, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004578, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09086/0.09134, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4516/0.543, allocations: 90.25 MB / 0.7624 GB, free: 81.66 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.5433, allocations: 92.67 kB / 0.7624 GB, free: 81.66 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03102/0.5743, allocations: 7.347 MB / 0.7696 GB, free: 80.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5744, allocations: 2.156 kB / 0.7696 GB, free: 80.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.041e-05/0.5744, allocations: 5.812 kB / 0.7696 GB, free: 80.86 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001377/0.5758, allocations: 0.6348 MB / 0.7703 GB, free: 80.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.5759, allocations: 10.97 kB / 0.7703 GB, free: 80.38 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.576, allocations: 39.31 kB / 0.7703 GB, free: 80.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.5773, allocations: 0.5011 MB / 0.7708 GB, free: 80.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.5774, allocations: 15.47 kB / 0.7708 GB, free: 80.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.571e-05/0.5775, allocations: 25.44 kB / 0.7708 GB, free: 80.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.5782, allocations: 352.1 kB / 0.7712 GB, free: 80.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.5782, allocations: 0.9375 kB / 0.7712 GB, free: 80.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.5783, allocations: 17.88 kB / 0.7712 GB, free: 80.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.5783, allocations: 6.156 kB / 0.7712 GB, free: 80.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000552/0.5788, allocations: 236.2 kB / 0.7714 GB, free: 80 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.581, allocations: 1.365 MB / 0.7727 GB, free: 79.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/0.5815, allocations: 161.5 kB / 0.7729 GB, free: 79.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.5818, allocations: 108.7 kB / 0.773 GB, free: 79.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.5819, allocations: 0.8125 kB / 0.773 GB, free: 79.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.5819, allocations: 38.84 kB / 0.773 GB, free: 79.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 3.246e-06/0.5819, allocations: 0 / 0.773 GB, free: 79.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.001752/0.5837, allocations: 0.7341 MB / 0.7738 GB, free: 78.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.5837, allocations: 85.2 kB / 0.7738 GB, free: 78.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.5841, allocations: 290.8 kB / 0.7741 GB, free: 78.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.5842, allocations: 29.14 kB / 0.7741 GB, free: 78.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.5843, allocations: 222.2 kB / 0.7744 GB, free: 78.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.5844, allocations: 53.5 kB / 0.7744 GB, free: 78.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.5844, allocations: 7.781 kB / 0.7744 GB, free: 78.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.5845, allocations: 339.4 kB / 0.7747 GB, free: 77.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.5847, allocations: 62.5 kB / 0.7748 GB, free: 77.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.5849, allocations: 162.3 kB / 0.775 GB, free: 77.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.5851, allocations: 97.58 kB / 0.775 GB, free: 77.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5851, allocations: 0.75 kB / 0.775 GB, free: 77.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007131/0.5859, allocations: 308.3 kB / 0.7753 GB, free: 77.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5859, allocations: 7.656 kB / 0.7753 GB, free: 77.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.5859, allocations: 4.469 kB / 0.7754 GB, free: 77.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002896/0.5862, allocations: 49.06 kB / 0.7754 GB, free: 77.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.5866, allocations: 49.39 kB / 0.7754 GB, free: 77.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.588, allocations: 1.462 MB / 0.7769 GB, free: 76.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.5883, allocations: 10.89 kB / 0.7769 GB, free: 76.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.5883, allocations: 14.25 kB / 0.7769 GB, free: 76.37 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002693/0.5886, allocations: 176.5 kB / 0.7771 GB, free: 76.24 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.5887, allocations: 30.5 kB / 0.7771 GB, free: 76.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005996/0.5893, allocations: 223.1 kB / 0.7773 GB, free: 76.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.5893, allocations: 96 / 0.7773 GB, free: 76.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5893, allocations: 7.969 kB / 0.7773 GB, free: 76.17 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.5893, allocations: 7.234 kB / 0.7773 GB, free: 76.17 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.5905, allocations: 0.6314 MB / 0.7779 GB, free: 75.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.5905, allocations: 0 / 0.7779 GB, free: 75.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.5907, allocations: 26.59 kB / 0.778 GB, free: 75.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002839/0.591, allocations: 56.48 kB / 0.778 GB, free: 75.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.591, allocations: 7.875 kB / 0.778 GB, free: 75.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.5924, allocations: 1.463 MB / 0.7795 GB, free: 74.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5925, allocations: 0 / 0.7795 GB, free: 74.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008119/0.5933, allocations: 392.6 kB / 0.7798 GB, free: 74.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.5934, allocations: 101.5 kB / 0.7799 GB, free: 74.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.908e-05/0.5935, allocations: 7.875 kB / 0.7799 GB, free: 74.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.5937, allocations: 13.97 kB / 0.7799 GB, free: 74.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.5938, allocations: 12.09 kB / 0.78 GB, free: 74.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.5938, allocations: 5.859 kB / 0.78 GB, free: 74.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002861/0.5941, allocations: 211.6 kB / 0.7802 GB, free: 74.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5941, allocations: 3.938 kB / 0.7802 GB, free: 74.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005346/0.5947, allocations: 73.25 kB / 0.7802 GB, free: 74.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[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 (16): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001458/0.5948, allocations: 110 kB / 0.7803 GB, free: 74.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006727/0.5955, allocations: 275.8 kB / 0.7806 GB, free: 73.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5955, allocations: 0 / 0.7806 GB, free: 73.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004726/0.596, allocations: 210.8 kB / 0.7808 GB, free: 73.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.5967, allocations: 69.03 kB / 0.7809 GB, free: 73.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.5983, allocations: 0.8786 MB / 0.7817 GB, free: 73.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.5987, allocations: 0.8221 MB / 0.7825 GB, free: 72.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002733/0.599, allocations: 48.45 kB / 0.7826 GB, free: 72.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.599, allocations: 19.12 kB / 0.7826 GB, free: 72.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5991, allocations: 0 / 0.7826 GB, free: 72.64 MB / 442.7 MB Notification: Performance of Templates: time 0.008906/0.608, allocations: 2.704 MB / 0.7852 GB, free: 72.35 MB / 442.7 MB