Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002397/0.002397, allocations: 355.1 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.108/3.108, allocations: 388.9 MB / 406.2 MB, free: 6.844 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003164/0.003163, allocations: 239.8 kB / 451.6 MB, free: 0.5781 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.5959/0.5959, allocations: 76.02 MB / 0.5594 GB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005019/0.0005023, allocations: 19.92 kB / 0.6216 GB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2519, allocations: 53.21 MB / 0.6736 GB, free: 62.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.004985/0.257, allocations: 5.781 MB / 0.6792 GB, free: 56.84 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.2592, allocations: 1.596 MB / 0.6808 GB, free: 55.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.2595, allocations: 37.59 kB / 0.6808 GB, free: 55.21 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.2598, allocations: 107.2 kB / 0.6809 GB, free: 55.11 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008369/0.2607, allocations: 400.8 kB / 0.6813 GB, free: 54.71 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.2611, allocations: 161.8 kB / 0.6815 GB, free: 54.56 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006853/0.2618, allocations: 0.9073 MB / 0.6824 GB, free: 53.65 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.262, allocations: 150.5 kB / 0.6825 GB, free: 53.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003011/0.2623, allocations: 266.7 kB / 0.6828 GB, free: 53.24 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005287/0.2628, allocations: 374.8 kB / 0.6831 GB, free: 52.88 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-05/0.2629, allocations: 20 kB / 0.6831 GB, free: 52.86 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.59e-05/0.263, allocations: 20 kB / 0.6832 GB, free: 52.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.2631, allocations: 175.5 kB / 0.6833 GB, free: 52.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.95e-05/0.2633, allocations: 117.4 kB / 0.6834 GB, free: 52.54 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.2636, allocations: 395 kB / 0.6838 GB, free: 52.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.155e-06/0.2636, allocations: 3.938 kB / 0.6838 GB, free: 52.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.659e-06/0.2636, allocations: 0 / 0.6838 GB, free: 52.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.2636, allocations: 8 kB / 0.6838 GB, free: 52.14 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001034/0.2647, allocations: 0.719 MB / 0.6845 GB, free: 51.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.2647, allocations: 15.97 kB / 0.6845 GB, free: 51.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.2649, allocations: 51.34 kB / 0.6846 GB, free: 51.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/0.2655, allocations: 443.4 kB / 0.685 GB, free: 50.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.2656, allocations: 32.98 kB / 0.685 GB, free: 50.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.471e-05/0.2656, allocations: 39.95 kB / 0.6851 GB, free: 50.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006814/0.2663, allocations: 0.4961 MB / 0.6856 GB, free: 50.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.2664, allocations: 3.938 kB / 0.6856 GB, free: 50.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.2664, allocations: 19.98 kB / 0.6856 GB, free: 50.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.2665, allocations: 17 kB / 0.6856 GB, free: 50.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006557/0.2671, allocations: 363.7 kB / 0.686 GB, free: 49.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.2695, allocations: 2.099 MB / 0.688 GB, free: 47.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.2699, allocations: 235.4 kB / 0.6882 GB, free: 47.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.2702, allocations: 134.1 kB / 0.6884 GB, free: 47.22 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.2702, allocations: 8.172 kB / 0.6884 GB, free: 47.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.2703, allocations: 34.75 kB / 0.6884 GB, free: 47.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.202e-06/0.2703, allocations: 3.938 kB / 0.6884 GB, free: 47.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.001221/0.2715, allocations: 0.7566 MB / 0.6891 GB, free: 46.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.2715, allocations: 81.06 kB / 0.6892 GB, free: 46.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.2719, allocations: 377.5 kB / 0.6896 GB, free: 45.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.272, allocations: 29.7 kB / 0.6896 GB, free: 45.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.2721, allocations: 295 kB / 0.6899 GB, free: 45.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.073e-05/0.2722, allocations: 78.91 kB / 0.69 GB, free: 45.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.2722, allocations: 8 kB / 0.69 GB, free: 45.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.2723, allocations: 354.8 kB / 0.6903 GB, free: 45.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.2725, allocations: 80.83 kB / 0.6904 GB, free: 45.03 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.2727, allocations: 273.2 kB / 0.6906 GB, free: 44.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.273, allocations: 137.5 kB / 0.6908 GB, free: 44.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.482e-06/0.273, allocations: 4 kB / 0.6908 GB, free: 44.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008049/0.2738, allocations: 453.7 kB / 0.6912 GB, free: 44.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.2739, allocations: 8 kB / 0.6912 GB, free: 44.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.2739, allocations: 8 kB / 0.6912 GB, free: 44.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/0.2741, allocations: 52.83 kB / 0.6913 GB, free: 44.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.2744, allocations: 79.83 kB / 0.6914 GB, free: 43.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.2756, allocations: 1.484 MB / 0.6928 GB, free: 42.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.2758, allocations: 19.98 kB / 0.6928 GB, free: 42.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.2759, allocations: 24 kB / 0.6928 GB, free: 42.29 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.2761, allocations: 211.6 kB / 0.693 GB, free: 42.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.2761, allocations: 43.52 kB / 0.6931 GB, free: 42.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.2765, allocations: 237.2 kB / 0.6933 GB, free: 41.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.453e-06/0.2765, allocations: 0 / 0.6933 GB, free: 41.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.91e-06/0.2765, allocations: 7.938 kB / 0.6933 GB, free: 41.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2765, allocations: 7.984 kB / 0.6933 GB, free: 41.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008367/0.2774, allocations: 0.679 MB / 0.694 GB, free: 41.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2774, allocations: 8.031 kB / 0.694 GB, free: 41.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.2777, allocations: 47.97 kB / 0.694 GB, free: 40.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.325e-06/0.2777, allocations: 4 kB / 0.6941 GB, free: 40.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.2777, allocations: 7.938 kB / 0.6941 GB, free: 40.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.2778, allocations: 3.938 kB / 0.6941 GB, free: 40.97 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.953e-06/0.2778, allocations: 4 kB / 0.6941 GB, free: 40.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.2783, allocations: 432.4 kB / 0.6945 GB, free: 40.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.2784, allocations: 128.6 kB / 0.6946 GB, free: 40.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.2785, allocations: 8 kB / 0.6946 GB, free: 40.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.2787, allocations: 0 / 0.6946 GB, free: 40.37 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.2788, allocations: 15.98 kB / 0.6946 GB, free: 40.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.2788, allocations: 4 kB / 0.6946 GB, free: 40.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.279, allocations: 259.1 kB / 0.6949 GB, free: 40.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.381e-06/0.279, allocations: 0 / 0.6949 GB, free: 40.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004907/0.2795, allocations: 96 kB / 0.695 GB, free: 40 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * 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.684e-05/0.2796, allocations: 99.25 kB / 0.6951 GB, free: 39.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005946/0.2802, allocations: 387.9 kB / 0.6954 GB, free: 39.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2803, allocations: 0 / 0.6954 GB, free: 39.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.2804, allocations: 91.84 kB / 0.6955 GB, free: 39.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.2811, allocations: 97.8 kB / 0.6956 GB, free: 39.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.2825, allocations: 1.038 MB / 0.6966 GB, free: 38.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.2828, allocations: 0.8704 MB / 0.6975 GB, free: 37.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003534/0.2832, allocations: 80.14 kB / 0.6976 GB, free: 37.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.2833, allocations: 35.42 kB / 0.6976 GB, free: 37.24 MB / 346.7 MB Notification: Performance of SimCode: time 1.382e-06/0.2833, allocations: 0 / 0.6976 GB, free: 37.24 MB / 346.7 MB Notification: Performance of Templates: time 0.008538/0.2919, allocations: 3.28 MB / 0.7008 GB, free: 34.02 MB / 346.7 MB