Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002302/0.002306, allocations: 352.8 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.095/3.095, allocations: 388.9 MB / 406.2 MB, free: 7.02 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.003121/0.003121, allocations: 230.5 kB / 451.6 MB, free: 0.5938 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.6008/0.6008, allocations: 76.02 MB / 0.5594 GB, free: 14.47 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004535, allocations: 15.94 kB / 0.6216 GB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2544, allocations: 53.22 MB / 0.6736 GB, free: 62.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.00503/0.2595, allocations: 5.802 MB / 0.6793 GB, free: 56.67 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.2616, allocations: 1.641 MB / 0.6809 GB, free: 55.04 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.262, allocations: 35.75 kB / 0.6809 GB, free: 55 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.2623, allocations: 119.2 kB / 0.681 GB, free: 54.89 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007493/0.263, allocations: 399.9 kB / 0.6814 GB, free: 54.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.2634, allocations: 185 kB / 0.6816 GB, free: 54.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007194/0.2641, allocations: 0.9229 MB / 0.6825 GB, free: 53.39 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.2644, allocations: 155.1 kB / 0.6826 GB, free: 53.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004413/0.2649, allocations: 286.6 kB / 0.6829 GB, free: 52.95 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005642/0.2655, allocations: 394.6 kB / 0.6833 GB, free: 52.57 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.2656, allocations: 24 kB / 0.6833 GB, free: 52.54 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.871e-05/0.2656, allocations: 20 kB / 0.6833 GB, free: 52.52 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.2658, allocations: 179.5 kB / 0.6835 GB, free: 52.35 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.2659, allocations: 121.5 kB / 0.6836 GB, free: 52.22 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.2663, allocations: 426.9 kB / 0.684 GB, free: 51.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2663, allocations: 4 kB / 0.684 GB, free: 51.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.977e-06/0.2663, allocations: 0 / 0.684 GB, free: 51.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.293e-06/0.2663, allocations: 0 / 0.684 GB, free: 51.8 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001111/0.2674, allocations: 0.81 MB / 0.6848 GB, free: 50.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.2675, allocations: 8.031 kB / 0.6848 GB, free: 50.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.905e-05/0.2676, allocations: 59.25 kB / 0.6849 GB, free: 50.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000735/0.2683, allocations: 469.7 kB / 0.6853 GB, free: 50.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.2684, allocations: 29 kB / 0.6854 GB, free: 50.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/0.2684, allocations: 43.98 kB / 0.6854 GB, free: 50.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000834/0.2693, allocations: 0.5351 MB / 0.6859 GB, free: 49.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.2693, allocations: 0 / 0.6859 GB, free: 49.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.2694, allocations: 19.94 kB / 0.6859 GB, free: 49.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.271e-05/0.2694, allocations: 24.94 kB / 0.686 GB, free: 49.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006498/0.2701, allocations: 391.7 kB / 0.6863 GB, free: 49.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.2723, allocations: 1.94 MB / 0.6882 GB, free: 47.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.2729, allocations: 321.4 kB / 0.6885 GB, free: 46.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.2733, allocations: 185.7 kB / 0.6887 GB, free: 46.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.2733, allocations: 0 / 0.6887 GB, free: 46.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003342/0.2737, allocations: 276.3 kB / 0.689 GB, free: 46.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 2.523e-06/0.2737, allocations: 4 kB / 0.689 GB, free: 46.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001773/0.2755, allocations: 1.182 MB / 0.6901 GB, free: 45.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.2755, allocations: 158.2 kB / 0.6903 GB, free: 44.99 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/0.2759, allocations: 401.9 kB / 0.6907 GB, free: 44.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.276, allocations: 29.7 kB / 0.6907 GB, free: 44.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.2761, allocations: 299.5 kB / 0.691 GB, free: 44.26 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.053e-05/0.2762, allocations: 122.3 kB / 0.6911 GB, free: 44.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.2762, allocations: 8 kB / 0.6911 GB, free: 44.13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.2763, allocations: 362.7 kB / 0.6915 GB, free: 43.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.2766, allocations: 117.1 kB / 0.6916 GB, free: 43.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.2769, allocations: 290.1 kB / 0.6918 GB, free: 43.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.2772, allocations: 179.3 kB / 0.692 GB, free: 43.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/0.2772, allocations: 0 / 0.692 GB, free: 43.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000753/0.278, allocations: 0.5175 MB / 0.6925 GB, free: 42.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.278, allocations: 34.39 kB / 0.6925 GB, free: 42.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.503e-06/0.278, allocations: 4 kB / 0.6926 GB, free: 42.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2781, allocations: 12 kB / 0.6926 GB, free: 42.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.2785, allocations: 111.8 kB / 0.6927 GB, free: 42.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.2785, allocations: 15.92 kB / 0.6927 GB, free: 42.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.2788, allocations: 23.98 kB / 0.6927 GB, free: 42.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/0.2789, allocations: 35.97 kB / 0.6927 GB, free: 42.35 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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.000234/0.2792, allocations: 253.7 kB / 0.693 GB, free: 42.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.2792, allocations: 55.38 kB / 0.693 GB, free: 42.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007346/0.28, allocations: 446.7 kB / 0.6935 GB, free: 41.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.28, allocations: 7.984 kB / 0.6935 GB, free: 41.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.425e-06/0.28, allocations: 0 / 0.6935 GB, free: 41.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.203e-06/0.28, allocations: 4 kB / 0.6935 GB, free: 41.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.2813, allocations: 0.9673 MB / 0.6944 GB, free: 40.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.68e-06/0.2813, allocations: 0 / 0.6944 GB, free: 40.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.2817, allocations: 71.92 kB / 0.6945 GB, free: 40.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.743e-06/0.2817, allocations: 4 kB / 0.6945 GB, free: 40.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.2817, allocations: 8 kB / 0.6945 GB, free: 40.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.571e-06/0.2817, allocations: 7.938 kB / 0.6945 GB, free: 40.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2818, allocations: 0 / 0.6945 GB, free: 40.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/0.2827, allocations: 0.7116 MB / 0.6952 GB, free: 39.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.2829, allocations: 136.5 kB / 0.6953 GB, free: 39.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.283, allocations: 15.98 kB / 0.6953 GB, free: 39.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.2832, allocations: 12 kB / 0.6954 GB, free: 39.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.2833, allocations: 19.97 kB / 0.6954 GB, free: 39.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.2834, allocations: 35.95 kB / 0.6954 GB, free: 39.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002527/0.2836, allocations: 263.1 kB / 0.6957 GB, free: 39.22 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.45e-07/0.2836, allocations: 4 kB / 0.6957 GB, free: 39.22 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004701/0.2841, allocations: 104.1 kB / 0.6958 GB, free: 39.12 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: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.000105/0.2842, allocations: 115.1 kB / 0.6959 GB, free: 38.99 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006239/0.2849, allocations: 411.8 kB / 0.6963 GB, free: 38.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.59e-06/0.2849, allocations: 0 / 0.6963 GB, free: 38.58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.2852, allocations: 263.4 kB / 0.6965 GB, free: 38.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.2859, allocations: 93.05 kB / 0.6966 GB, free: 38.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.2874, allocations: 1.18 MB / 0.6978 GB, free: 37.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.2877, allocations: 0.8937 MB / 0.6986 GB, free: 36.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003881/0.2881, allocations: 88.3 kB / 0.6987 GB, free: 36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.2882, allocations: 35.44 kB / 0.6988 GB, free: 35.97 MB / 346.7 MB Notification: Performance of SimCode: time 1.509e-06/0.2883, allocations: 0 / 0.6988 GB, free: 35.97 MB / 346.7 MB Notification: Performance of Templates: time 0.009517/0.2978, allocations: 3.782 MB / 0.7024 GB, free: 32.25 MB / 346.7 MB