Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 111.8 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 190.9 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1759/0.1759, allocations: 37.99 MB / 309.8 MB, free: 5.969 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001499/0.0015, allocations: 59.91 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2731, allocations: 55.25 MB / 432 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.008766/0.2819, allocations: 9.082 MB / 441.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005256/0.2872, allocations: 3.408 MB / 444.5 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006564/0.2879, allocations: 43.75 kB / 444.6 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.2902, allocations: 1.038 MB / 445.6 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.2922, allocations: 1.101 MB / 446.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.2936, allocations: 0.6899 MB / 447.4 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00189/0.2955, allocations: 2.378 MB / 449.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009161/0.2964, allocations: 0.8191 MB / 450.6 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.2978, allocations: 0.9885 MB / 451.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.2997, allocations: 1.332 MB / 452.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002095/0.2999, allocations: 128 kB / 453 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.3011, allocations: 0.5851 MB / 453.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009165/0.302, allocations: 0.9197 MB / 454.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009515/0.303, allocations: 0.9018 MB / 455.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002435/0.3054, allocations: 2.34 MB / 457.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3054, allocations: 4 kB / 457.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3054, allocations: 0 / 457.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.3055, allocations: 0 / 457.8 MB, free: 9.629 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.003626/0.3091, allocations: 2.013 MB / 459.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3092, allocations: 15.89 kB / 459.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.3109, allocations: 358.3 kB / 460.2 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.3128, allocations: 1.075 MB / 461.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-05/0.3129, allocations: 107.1 kB / 461.3 MB, free: 5.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000349/0.3133, allocations: 164 kB / 461.5 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/0.3166, allocations: 2.339 MB / 463.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.3167, allocations: 11.84 kB / 463.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.3168, allocations: 67.95 kB / 463.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005026/0.3173, allocations: 226.8 kB / 464.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002919/0.3203, allocations: 1.846 MB / 466 MB, free: 1.145 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/0.3314, allocations: 9.505 MB / 475.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/0.3335, allocations: 1.536 MB / 477 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008484/0.3344, allocations: 0.6135 MB / 477.6 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.132e-05/0.3345, allocations: 20.98 kB / 477.7 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.3355, allocations: 0.8528 MB / 478.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=130): time 2.986e-06/0.3356, allocations: 0 / 478.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.005772/0.3413, allocations: 4.016 MB / 482.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.3415, allocations: 290.3 kB / 482.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.3426, allocations: 0.9184 MB / 483.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.288e-05/0.3427, allocations: 49.7 kB / 483.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005821/0.3433, allocations: 0.7628 MB / 484.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003453/0.3436, allocations: 461.6 kB / 485 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003998/0.3441, allocations: 319.2 kB / 485.3 MB, free: 13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3442, allocations: 361.9 kB / 485.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008379/0.3451, allocations: 0.5778 MB / 486.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.3464, allocations: 1.174 MB / 487.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.3486, allocations: 2.001 MB / 489.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.3487, allocations: 4 kB / 489.4 MB, free: 8.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004086/0.3528, allocations: 2.493 MB / 491.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.839e-05/0.3528, allocations: 63.59 kB / 492 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002656/0.3555, allocations: 1.567 MB / 493.5 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.3571, allocations: 0.5524 MB / 494.1 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.3581, allocations: 323.5 kB / 494.4 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0096/0.3677, allocations: 9.457 MB / 0.492 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.3688, allocations: 72.03 kB / 0.4921 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.369, allocations: 104 kB / 0.4922 GB, free: 9.086 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000859/0.3699, allocations: 0.5958 MB / 0.4928 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.37, allocations: 122.5 kB / 0.4929 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.3723, allocations: 1.535 MB / 0.4944 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.3723, allocations: 15.94 kB / 0.4944 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3723, allocations: 3.938 kB / 0.4944 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.3723, allocations: 11.91 kB / 0.4944 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004456/0.3768, allocations: 3.079 MB / 0.4974 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.3768, allocations: 4 kB / 0.4975 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/0.3782, allocations: 299.8 kB / 0.4977 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.3782, allocations: 4 kB / 0.4977 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.294e-05/0.3783, allocations: 35.98 kB / 0.4978 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.3783, allocations: 7.938 kB / 0.4978 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3783, allocations: 4 kB / 0.4978 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003028/0.3813, allocations: 2.318 MB / 0.5001 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005935/0.3819, allocations: 299.7 kB / 0.5003 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.3821, allocations: 35.98 kB / 0.5004 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005153/0.3826, allocations: 43.97 kB / 0.5004 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.3828, allocations: 76.84 kB / 0.5005 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/0.3829, allocations: 83.84 kB / 0.5006 GB, free: 340 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008614/0.3838, allocations: 0.6025 MB / 0.5012 GB, free: 15.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3838, allocations: 4 kB / 0.5012 GB, free: 15.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001663/0.3855, allocations: 424 kB / 0.5016 GB, free: 15.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * 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 (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002325/0.3857, allocations: 135.1 kB / 0.5017 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003697/0.3894, allocations: 2.335 MB / 0.504 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3894, allocations: 0 / 0.504 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.3906, allocations: 0.875 MB / 0.5048 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.3917, allocations: 224.7 kB / 0.505 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005996/0.3978, allocations: 3.369 MB / 0.5083 GB, free: 8.211 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.3991, allocations: 1.461 MB / 0.5098 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001077/0.4002, allocations: 462.3 kB / 0.5102 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.4004, allocations: 87.42 kB / 0.5103 GB, free: 6.172 MB / 398.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4004, allocations: 0 / 0.5103 GB, free: 6.172 MB / 398.1 MB Notification: Performance of Templates: time 0.2534/0.6538, allocations: 15.32 MB / 0.5252 GB, free: 83.68 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)