Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001469/0.001473, allocations: 185.5 kB / 16.38 MB, free: 5.594 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 1.753/1.753, allocations: 194.5 MB / 211.6 MB, free: 11.16 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001706/0.001706, allocations: 128.2 kB / 256.9 MB, free: 14.4 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.3551/0.3551, allocations: 38.01 MB / 340.1 MB, free: 16.91 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004704, allocations: 12 kB / 403.8 MB, free: 1.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2568, allocations: 53.22 MB / 457 MB, free: 27.2 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.007513/0.2643, allocations: 7.605 MB / 464.6 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.2674, allocations: 2.2 MB / 466.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000455/0.2679, allocations: 58.41 kB / 466.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.2684, allocations: 200.6 kB / 467.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.2695, allocations: 0.5109 MB / 467.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005836/0.2701, allocations: 264.4 kB / 467.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007463/0.2709, allocations: 0.624 MB / 468.5 MB, free: 18.53 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003964/0.2713, allocations: 252 kB / 468.7 MB, free: 18.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005004/0.2718, allocations: 405.7 kB / 469.1 MB, free: 18.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006652/0.2725, allocations: 440 kB / 469.5 MB, free: 17.92 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.2726, allocations: 33.31 kB / 469.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.2728, allocations: 33.31 kB / 469.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.273, allocations: 274.7 kB / 469.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.2732, allocations: 182.6 kB / 470.1 MB, free: 17.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006029/0.2738, allocations: 0.6652 MB / 470.7 MB, free: 17.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.388e-06/0.2738, allocations: 0 / 470.7 MB, free: 17.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.138e-06/0.2739, allocations: 0 / 470.7 MB, free: 17.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.2739, allocations: 3.938 kB / 470.7 MB, free: 17.21 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001555/0.2754, allocations: 1.087 MB / 471.8 MB, free: 16.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.2755, allocations: 9.562 kB / 471.8 MB, free: 16.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.2756, allocations: 91.47 kB / 471.9 MB, free: 16.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.2767, allocations: 0.6439 MB / 472.6 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.2768, allocations: 49.31 kB / 472.6 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.2769, allocations: 59.95 kB / 472.7 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.2782, allocations: 0.7982 MB / 473.5 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.2782, allocations: 3.938 kB / 473.5 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-05/0.2783, allocations: 31.94 kB / 473.5 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/0.2783, allocations: 33.3 kB / 473.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009661/0.2793, allocations: 0.614 MB / 474.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/0.2825, allocations: 2.638 MB / 476.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009672/0.2835, allocations: 0.6284 MB / 477.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.2835, allocations: 4.5 kB / 477.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005277/0.2841, allocations: 491 kB / 477.9 MB, free: 10.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 3.209e-06/0.2841, allocations: 0 / 477.9 MB, free: 10.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=64): time 0.003147/0.2873, allocations: 2.507 MB / 480.4 MB, free: 7.316 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.2874, allocations: 255.8 kB / 480.6 MB, free: 7.008 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005542/0.2879, allocations: 0.5586 MB / 481.2 MB, free: 6.438 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.288, allocations: 37.7 kB / 481.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.2882, allocations: 403.4 kB / 481.6 MB, free: 5.992 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.2884, allocations: 205 kB / 481.8 MB, free: 5.789 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.2885, allocations: 16 kB / 481.9 MB, free: 5.773 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2886, allocations: 394.7 kB / 482.2 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.289, allocations: 221.9 kB / 482.5 MB, free: 5.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000546/0.2895, allocations: 457.8 kB / 482.9 MB, free: 4.613 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/0.29, allocations: 337.5 kB / 483.2 MB, free: 4.273 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.29, allocations: 8 kB / 483.2 MB, free: 4.266 MB / 314.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001498/0.2915, allocations: 0.9676 MB / 484.2 MB, free: 3.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.2916, allocations: 59.41 kB / 484.3 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.2916, allocations: 11.94 kB / 484.3 MB, free: 3.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004215/0.292, allocations: 134 kB / 484.4 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.2926, allocations: 143.7 kB / 484.5 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.2955, allocations: 3.242 MB / 487.8 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.296, allocations: 43.97 kB / 487.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.2962, allocations: 51.97 kB / 487.9 MB, free: 15.3 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005218/0.2967, allocations: 362.5 kB / 488.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.2968, allocations: 79.09 kB / 488.3 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.2984, allocations: 0.9849 MB / 489.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.2985, allocations: 8 kB / 489.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.464e-06/0.2985, allocations: 3.938 kB / 489.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.325e-06/0.2985, allocations: 3.984 kB / 489.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.3014, allocations: 1.749 MB / 491.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.534e-06/0.3014, allocations: 4.031 kB / 491.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/0.302, allocations: 104 kB / 491.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001365/0.3022, allocations: 41.7 kB / 491.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.354e-05/0.3022, allocations: 31.97 kB / 491.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/0.3047, allocations: 2.75 MB / 494 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3047, allocations: 0 / 494 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.3069, allocations: 1.437 MB / 495.4 MB, free: 7.195 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/0.3072, allocations: 192.1 kB / 495.6 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.3073, allocations: 16 kB / 495.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.3077, allocations: 36.03 kB / 495.7 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.3079, allocations: 44.33 kB / 495.7 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.308, allocations: 55.92 kB / 495.8 MB, free: 6.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006051/0.3086, allocations: 391 kB / 496.1 MB, free: 6.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.25e-07/0.3086, allocations: 0 / 496.1 MB, free: 6.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008462/0.3095, allocations: 192 kB / 496.3 MB, free: 6.277 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (trafo1.i1,trafo2.i1) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.3097, allocations: 117.4 kB / 496.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.3114, allocations: 1.015 MB / 497.5 MB, free: 5.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.991e-06/0.3114, allocations: 0 / 497.5 MB, free: 5.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009718/0.3124, allocations: 0.7108 MB / 498.2 MB, free: 4.328 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007333/0.3131, allocations: 143.1 kB / 498.3 MB, free: 4.188 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.3161, allocations: 1.821 MB / 0.4884 GB, free: 2.328 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008888/0.317, allocations: 1.037 MB / 0.4894 GB, free: 1.262 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005569/0.3176, allocations: 153.8 kB / 0.4896 GB, free: 1.109 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.3177, allocations: 47.44 kB / 0.4896 GB, free: 1.066 MB / 330.7 MB Notification: Performance of SimCode: time 1.223e-06/0.3177, allocations: 0 / 0.4896 GB, free: 1.066 MB / 330.7 MB Notification: Performance of Templates: time 0.01792/0.3357, allocations: 6.961 MB / 0.4964 GB, free: 10.12 MB / 346.7 MB