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.002426/0.002429, allocations: 356.2 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.47/3.47, allocations: 388.9 MB / 406.2 MB, free: 11.91 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.003496/0.003495, allocations: 233.6 kB / 451.6 MB, free: 14.5 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.6584/0.6584, allocations: 76 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004618, allocations: 8 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06765/0.06813, allocations: 53.25 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004296/0.07247, allocations: 4.37 MB / 0.6779 GB, free: 56.43 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.07406, allocations: 1.116 MB / 0.679 GB, free: 55.31 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.0743, allocations: 27.81 kB / 0.679 GB, free: 55.28 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.07446, allocations: 51.59 kB / 0.679 GB, free: 55.23 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005556/0.07502, allocations: 262.6 kB / 0.6793 GB, free: 54.97 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.07531, allocations: 111.8 kB / 0.6794 GB, free: 54.86 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005143/0.07584, allocations: 0.6192 MB / 0.68 GB, free: 54.24 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.07605, allocations: 105.7 kB / 0.6801 GB, free: 54.14 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.0763, allocations: 175.1 kB / 0.6803 GB, free: 53.96 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000379/0.07669, allocations: 263.1 kB / 0.6805 GB, free: 53.71 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.07675, allocations: 20 kB / 0.6805 GB, free: 53.69 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.992e-05/0.07682, allocations: 12 kB / 0.6806 GB, free: 53.68 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.07697, allocations: 135.6 kB / 0.6807 GB, free: 53.54 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.843e-05/0.07706, allocations: 89.45 kB / 0.6808 GB, free: 53.45 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.07732, allocations: 275.3 kB / 0.681 GB, free: 53.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.07733, allocations: 4 kB / 0.681 GB, free: 53.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.592e-06/0.07734, allocations: 0 / 0.681 GB, free: 53.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.07736, allocations: 0 / 0.681 GB, free: 53.18 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.000912/0.07828, allocations: 0.6008 MB / 0.6816 GB, free: 52.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.07832, allocations: 8.828 kB / 0.6816 GB, free: 52.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.898e-05/0.07842, allocations: 43.52 kB / 0.6817 GB, free: 52.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.07892, allocations: 338.8 kB / 0.682 GB, free: 52.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.07896, allocations: 20.56 kB / 0.682 GB, free: 52.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.07903, allocations: 27.95 kB / 0.682 GB, free: 52.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005283/0.07957, allocations: 356.7 kB / 0.6824 GB, free: 51.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.0796, allocations: 0 / 0.6824 GB, free: 51.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.07964, allocations: 15.98 kB / 0.6824 GB, free: 51.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.07976, allocations: 24.48 kB / 0.6824 GB, free: 51.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.08022, allocations: 246 kB / 0.6827 GB, free: 51.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.08184, allocations: 1.378 MB / 0.684 GB, free: 49.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.08222, allocations: 165 kB / 0.6842 GB, free: 49.76 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.08247, allocations: 106 kB / 0.6843 GB, free: 49.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.0825, allocations: 8 kB / 0.6843 GB, free: 49.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.08253, allocations: 34.56 kB / 0.6843 GB, free: 49.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 2.358e-06/0.08254, allocations: 0 / 0.6843 GB, free: 49.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.001322/0.08387, allocations: 0.752 MB / 0.685 GB, free: 48.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.08392, allocations: 81.11 kB / 0.6851 GB, free: 48.67 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.08421, allocations: 292.5 kB / 0.6854 GB, free: 48.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.08424, allocations: 29.7 kB / 0.6854 GB, free: 48.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.08436, allocations: 215.5 kB / 0.6856 GB, free: 48.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.08442, allocations: 59.19 kB / 0.6857 GB, free: 48.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.08444, allocations: 4 kB / 0.6857 GB, free: 48.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.774e-05/0.08452, allocations: 350.8 kB / 0.686 GB, free: 47.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.08466, allocations: 67.95 kB / 0.6861 GB, free: 47.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.08484, allocations: 165.5 kB / 0.6862 GB, free: 47.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.08502, allocations: 91.97 kB / 0.6863 GB, free: 47.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.56e-06/0.08504, allocations: 0 / 0.6863 GB, free: 47.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005828/0.08563, allocations: 320.7 kB / 0.6866 GB, free: 47.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.08566, allocations: 8.438 kB / 0.6866 GB, free: 47.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.595e-06/0.08568, allocations: 4 kB / 0.6866 GB, free: 47.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002043/0.08589, allocations: 48.83 kB / 0.6867 GB, free: 46.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.08612, allocations: 51.91 kB / 0.6867 GB, free: 46.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.08727, allocations: 1.487 MB / 0.6882 GB, free: 45.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.08749, allocations: 8 kB / 0.6882 GB, free: 45.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.08753, allocations: 15.98 kB / 0.6882 GB, free: 45.27 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.0001684/0.08771, allocations: 181.6 kB / 0.6884 GB, free: 45.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.544e-05/0.08779, allocations: 27.62 kB / 0.6884 GB, free: 45.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/0.08827, allocations: 236.4 kB / 0.6886 GB, free: 44.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.08829, allocations: 4 kB / 0.6886 GB, free: 44.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.039e-06/0.08831, allocations: 0 / 0.6886 GB, free: 44.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.712e-06/0.08832, allocations: 7.922 kB / 0.6887 GB, free: 44.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009403/0.08927, allocations: 0.6365 MB / 0.6893 GB, free: 44.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.472e-06/0.08929, allocations: 0 / 0.6893 GB, free: 44.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.08945, allocations: 23.98 kB / 0.6893 GB, free: 44.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002456/0.08971, allocations: 64.77 kB / 0.6894 GB, free: 44.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.08975, allocations: 4 kB / 0.6894 GB, free: 44.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.09094, allocations: 1.495 MB / 0.6908 GB, free: 42.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.623e-06/0.09097, allocations: 3.938 kB / 0.6908 GB, free: 42.37 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005872/0.09157, allocations: 401.5 kB / 0.6912 GB, free: 41.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.09165, allocations: 108.9 kB / 0.6913 GB, free: 41.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.09172, allocations: 7.984 kB / 0.6913 GB, free: 41.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.09192, allocations: 4 kB / 0.6913 GB, free: 41.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.09197, allocations: 15.92 kB / 0.6913 GB, free: 41.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.092, allocations: 15.94 kB / 0.6914 GB, free: 41.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002038/0.09221, allocations: 207.1 kB / 0.6916 GB, free: 41.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.86e-07/0.09223, allocations: 0 / 0.6916 GB, free: 41.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004761/0.09271, allocations: 64 kB / 0.6916 GB, free: 41.52 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 9.533e-05/0.09282, allocations: 107 kB / 0.6917 GB, free: 41.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000485/0.09332, allocations: 282.4 kB / 0.692 GB, free: 41.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.041e-06/0.09334, allocations: 0 / 0.692 GB, free: 41.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.09372, allocations: 209.5 kB / 0.6922 GB, free: 40.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.09429, allocations: 64.55 kB / 0.6922 GB, free: 40.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.09546, allocations: 0.8847 MB / 0.6931 GB, free: 39.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.09575, allocations: 0.8184 MB / 0.6939 GB, free: 39.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.09596, allocations: 42.95 kB / 0.694 GB, free: 39.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.09604, allocations: 27.42 kB / 0.694 GB, free: 39.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.445e-06/0.09605, allocations: 7.875 kB / 0.694 GB, free: 39.01 MB / 442.7 MB Notification: Performance of Templates: time 0.00734/0.1034, allocations: 2.707 MB / 0.6966 GB, free: 36.32 MB / 442.7 MB