Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002365/0.00237, allocations: 353 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.338/3.338, allocations: 388.9 MB / 406.2 MB, free: 11.93 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.003157/0.003157, allocations: 241.6 kB / 451.6 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.6073/0.6073, allocations: 76.01 MB / 0.5594 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003901, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0643/0.06471, allocations: 53.24 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.003862/0.06863, allocations: 3.991 MB / 0.6775 GB, free: 56.8 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.06999, allocations: 1.038 MB / 0.6785 GB, free: 55.76 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.0702, allocations: 27.88 kB / 0.6785 GB, free: 55.73 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.07034, allocations: 47.61 kB / 0.6786 GB, free: 55.69 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004914/0.07084, allocations: 190.8 kB / 0.6788 GB, free: 55.5 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.07108, allocations: 107.8 kB / 0.6789 GB, free: 55.39 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.07143, allocations: 410.5 kB / 0.6793 GB, free: 54.99 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.07158, allocations: 72.7 kB / 0.6793 GB, free: 54.91 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.07177, allocations: 135.3 kB / 0.6795 GB, free: 54.78 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.07202, allocations: 159.4 kB / 0.6796 GB, free: 54.62 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.07207, allocations: 8 kB / 0.6796 GB, free: 54.62 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.122e-05/0.07212, allocations: 16 kB / 0.6796 GB, free: 54.6 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.425e-05/0.0722, allocations: 71.78 kB / 0.6797 GB, free: 54.53 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.07227, allocations: 69.58 kB / 0.6798 GB, free: 54.46 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.07245, allocations: 195.4 kB / 0.68 GB, free: 54.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.832e-06/0.07246, allocations: 3.938 kB / 0.68 GB, free: 54.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.46e-06/0.07247, allocations: 0 / 0.68 GB, free: 54.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.757e-06/0.07249, allocations: 0 / 0.68 GB, free: 54.26 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006411/0.07314, allocations: 0.5114 MB / 0.6805 GB, free: 53.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.07318, allocations: 8.828 kB / 0.6805 GB, free: 53.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.07324, allocations: 31.7 kB / 0.6805 GB, free: 53.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.07362, allocations: 298.6 kB / 0.6808 GB, free: 53.33 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.07366, allocations: 12.44 kB / 0.6808 GB, free: 53.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.07371, allocations: 24 kB / 0.6808 GB, free: 53.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.07412, allocations: 274 kB / 0.6811 GB, free: 53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.07415, allocations: 0 / 0.6811 GB, free: 53 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.07418, allocations: 8 kB / 0.6811 GB, free: 52.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.819e-06/0.07419, allocations: 7.938 kB / 0.6811 GB, free: 52.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.07451, allocations: 167.6 kB / 0.6813 GB, free: 52.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.07561, allocations: 1.171 MB / 0.6824 GB, free: 51.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.07576, allocations: 81.16 kB / 0.6825 GB, free: 51.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.07582, allocations: 29.78 kB / 0.6825 GB, free: 51.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.07584, allocations: 0 / 0.6825 GB, free: 51.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.07587, allocations: 38.45 kB / 0.6825 GB, free: 51.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.07588, allocations: 0 / 0.6825 GB, free: 51.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005888/0.07648, allocations: 416.7 kB / 0.6829 GB, free: 50.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.07652, allocations: 81.11 kB / 0.683 GB, free: 50.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.07673, allocations: 242.5 kB / 0.6833 GB, free: 50.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.014e-06/0.07675, allocations: 25.7 kB / 0.6833 GB, free: 50.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.398e-05/0.07685, allocations: 191.6 kB / 0.6835 GB, free: 50.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.07688, allocations: 27.64 kB / 0.6835 GB, free: 50.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-06/0.0769, allocations: 8.125 kB / 0.6835 GB, free: 50.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.07696, allocations: 334.8 kB / 0.6838 GB, free: 49.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-05/0.07703, allocations: 28.3 kB / 0.6838 GB, free: 49.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.507e-05/0.07712, allocations: 125.5 kB / 0.684 GB, free: 49.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.263e-05/0.07721, allocations: 43.94 kB / 0.684 GB, free: 49.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.229e-06/0.07723, allocations: 4 kB / 0.684 GB, free: 49.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002629/0.0775, allocations: 181.4 kB / 0.6842 GB, free: 49.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.07752, allocations: 12.02 kB / 0.6842 GB, free: 49.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.625e-06/0.07754, allocations: 4 kB / 0.6842 GB, free: 49.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.07756, allocations: 4 kB / 0.6842 GB, free: 49.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.07772, allocations: 40.36 kB / 0.6842 GB, free: 49.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.07774, allocations: 8 kB / 0.6842 GB, free: 49.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.07787, allocations: 8 kB / 0.6843 GB, free: 49.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.07789, allocations: 15.98 kB / 0.6843 GB, free: 49.46 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 (22): * Single equations (assignments): 22 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.078, allocations: 149.7 kB / 0.6844 GB, free: 49.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.07806, allocations: 15.81 kB / 0.6844 GB, free: 49.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.07821, allocations: 111.2 kB / 0.6845 GB, free: 49.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.057e-06/0.07823, allocations: 0 / 0.6845 GB, free: 49.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.674e-06/0.07824, allocations: 0 / 0.6845 GB, free: 49.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.655e-06/0.07825, allocations: 0 / 0.6845 GB, free: 49.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.0787, allocations: 423.3 kB / 0.6849 GB, free: 48.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-06/0.07873, allocations: 3.938 kB / 0.6849 GB, free: 48.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.07885, allocations: 19.89 kB / 0.685 GB, free: 48.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.07887, allocations: 4 kB / 0.685 GB, free: 48.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.07889, allocations: 8.031 kB / 0.685 GB, free: 48.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.0789, allocations: 0 / 0.685 GB, free: 48.67 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.61e-06/0.07891, allocations: 7.984 kB / 0.685 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.07916, allocations: 217 kB / 0.6852 GB, free: 48.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.07922, allocations: 96.86 kB / 0.6853 GB, free: 48.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.07926, allocations: 3.953 kB / 0.6853 GB, free: 48.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.07938, allocations: 8.062 kB / 0.6853 GB, free: 48.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.07941, allocations: 7.984 kB / 0.6853 GB, free: 48.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.88e-06/0.07943, allocations: 4 kB / 0.6853 GB, free: 48.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001285/0.07956, allocations: 166 kB / 0.6855 GB, free: 48.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.04e-07/0.07957, allocations: 0 / 0.6855 GB, free: 48.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003412/0.07992, allocations: 40 kB / 0.6855 GB, free: 48.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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 7.137e-05/0.08, allocations: 103.2 kB / 0.6856 GB, free: 47.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.08018, allocations: 87.83 kB / 0.6857 GB, free: 47.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.281e-06/0.08019, allocations: 3.938 kB / 0.6857 GB, free: 47.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.937e-05/0.08025, allocations: 23.98 kB / 0.6857 GB, free: 47.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.08074, allocations: 49.56 kB / 0.6858 GB, free: 47.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007976/0.08156, allocations: 0.629 MB / 0.6864 GB, free: 47.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.0818, allocations: 0.7676 MB / 0.6871 GB, free: 46.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.08196, allocations: 34.27 kB / 0.6871 GB, free: 46.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.08201, allocations: 15.44 kB / 0.6872 GB, free: 46.32 MB / 442.7 MB Notification: Performance of SimCode: time 2.314e-06/0.08202, allocations: 0 / 0.6872 GB, free: 46.32 MB / 442.7 MB Notification: Performance of Templates: time 0.005081/0.08711, allocations: 1.619 MB / 0.6887 GB, free: 44.71 MB / 442.7 MB