Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 174.1 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.208/1.208, allocations: 205.4 MB / 222.2 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007973/0.0007973, allocations: 81.5 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.162/0.162, allocations: 38.08 MB / 356.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003334, allocations: 16 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2227, allocations: 56.33 MB / 479.6 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.006877/0.2297, allocations: 8.033 MB / 487.7 MB, free: 3.738 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003389/0.2331, allocations: 2.177 MB / 489.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008991/0.234, allocations: 55.44 kB / 489.9 MB, free: 2.152 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007709/0.2348, allocations: 258.8 kB / 490.2 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.2366, allocations: 0.6379 MB / 490.8 MB, free: 1.695 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007847/0.2374, allocations: 266.4 kB / 491 MB, free: 1.566 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001802/0.2392, allocations: 1.533 MB / 492.6 MB, free: 1.004 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004236/0.2396, allocations: 290.9 kB / 492.9 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008886/0.2405, allocations: 481 kB / 493.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.2417, allocations: 0.6348 MB / 494 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.2418, allocations: 34.75 kB / 494 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.2421, allocations: 32.97 kB / 494 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003837/0.2425, allocations: 301.3 kB / 494.3 MB, free: 424 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000612/0.2431, allocations: 404 kB / 494.7 MB, free: 180 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008104/0.244, allocations: 0.6641 MB / 495.4 MB, free: 20 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.244, allocations: 4 kB / 495.4 MB, free: 16 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.244, allocations: 1.094 kB / 495.4 MB, free: 16 kB / 314.7 MB Notification: Performance of Transformations before backend: time 2.996e-05/0.244, allocations: 0 / 495.4 MB, free: 16 kB / 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.002134/0.2462, allocations: 1.079 MB / 496.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2462, allocations: 10.53 kB / 496.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.2465, allocations: 100 kB / 496.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.2477, allocations: 0.6527 MB / 497.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.466e-05/0.2478, allocations: 51.81 kB / 497.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.2479, allocations: 66.5 kB / 497.4 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.2493, allocations: 0.8043 MB / 498.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.2494, allocations: 1.062 kB / 498.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.164e-05/0.2494, allocations: 27.94 kB / 498.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-05/0.2495, allocations: 37.47 kB / 498.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.2506, allocations: 0.6144 MB / 498.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003586/0.2542, allocations: 2.647 MB / 0.4897 GB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009336/0.2551, allocations: 0.6021 MB / 0.4903 GB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005862/0.2557, allocations: 379.4 kB / 0.4907 GB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.2558, allocations: 5.156 kB / 0.4907 GB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005691/0.2563, allocations: 486.3 kB / 0.4911 GB, free: 11.22 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 2.444e-06/0.2564, allocations: 0 / 0.4911 GB, free: 11.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=64): time 0.003013/0.2594, allocations: 1.964 MB / 0.4931 GB, free: 9.969 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.2595, allocations: 259.3 kB / 0.4933 GB, free: 9.672 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006711/0.2602, allocations: 0.5635 MB / 0.4939 GB, free: 9.332 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.2602, allocations: 38.23 kB / 0.4939 GB, free: 9.293 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.2605, allocations: 398.9 kB / 0.4943 GB, free: 8.941 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.2607, allocations: 214 kB / 0.4945 GB, free: 8.758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.2608, allocations: 15.78 kB / 0.4945 GB, free: 8.746 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.2609, allocations: 381.6 kB / 0.4949 GB, free: 8.383 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.2613, allocations: 221.5 kB / 0.4951 GB, free: 8.277 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/0.2618, allocations: 460 kB / 0.4955 GB, free: 7.871 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009078/0.2627, allocations: 0.7992 MB / 0.4963 GB, free: 7.207 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.2627, allocations: 2.188 kB / 0.4963 GB, free: 7.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001515/0.2643, allocations: 0.9431 MB / 0.4972 GB, free: 6.676 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.2643, allocations: 61.03 kB / 0.4973 GB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.2643, allocations: 7.406 kB / 0.4973 GB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003965/0.2647, allocations: 113.9 kB / 0.4974 GB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.2652, allocations: 141.8 kB / 0.4975 GB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/0.2679, allocations: 2.999 MB / 0.5005 GB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.2684, allocations: 38.42 kB / 0.5005 GB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.822e-05/0.2685, allocations: 60.72 kB / 0.5005 GB, free: 3.559 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 (90): * Single equations (assignments): 86 * 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%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004917/0.269, allocations: 351.4 kB / 0.5009 GB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.2691, allocations: 70.75 kB / 0.501 GB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.2702, allocations: 0.7876 MB / 0.5017 GB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2703, allocations: 5.688 kB / 0.5017 GB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2703, allocations: 1.375 kB / 0.5017 GB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.2703, allocations: 3.984 kB / 0.5017 GB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.2724, allocations: 1.548 MB / 0.5032 GB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2724, allocations: 0 / 0.5032 GB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/0.2729, allocations: 111.9 kB / 0.5033 GB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.2729, allocations: 4 kB / 0.5034 GB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.273, allocations: 19.98 kB / 0.5034 GB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.273, allocations: 4 kB / 0.5034 GB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.273, allocations: 3.938 kB / 0.5034 GB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.2745, allocations: 1.207 MB / 0.5046 GB, free: 180 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.2748, allocations: 188.2 kB / 0.5047 GB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.2749, allocations: 20 kB / 0.5048 GB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.2752, allocations: 31.97 kB / 0.5048 GB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.463e-05/0.2753, allocations: 44.39 kB / 0.5048 GB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.193e-05/0.2754, allocations: 59.92 kB / 0.5049 GB, free: 15.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004354/0.2758, allocations: 383 kB / 0.5053 GB, free: 15.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2759, allocations: 0 / 0.5053 GB, free: 15.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000633/0.2765, allocations: 184 kB / 0.5054 GB, free: 15.27 MB / 346.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 (55): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001382/0.2766, allocations: 135 kB / 0.5056 GB, free: 15.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.278, allocations: 1.012 MB / 0.5065 GB, free: 14.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2781, allocations: 0 / 0.5065 GB, free: 14.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.2786, allocations: 489.2 kB / 0.507 GB, free: 13.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007864/0.2794, allocations: 150 kB / 0.5072 GB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.2818, allocations: 1.898 MB / 0.509 GB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/0.2824, allocations: 1.013 MB / 0.51 GB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.2826, allocations: 55.44 kB / 0.51 GB, free: 10.38 MB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2826, allocations: 0 / 0.51 GB, free: 10.38 MB / 346.7 MB Notification: Performance of Templates: time 0.01516/0.2977, allocations: 11.96 MB / 0.5217 GB, free: 14.41 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1)