Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 111.4 kB / 17.29 MB, free: 6.219 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.002353/0.002353, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.373/2.373, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3751/0.3751, allocations: 38.02 MB / 330 MB, free: 8.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002504/0.002505, allocations: 64.44 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.169, allocations: 58.05 MB / 457 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.01778/0.1868, allocations: 8.965 MB / 466 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007329/0.1942, allocations: 2.205 MB / 468.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.1961, allocations: 67.56 kB / 468.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.1975, allocations: 202.8 kB / 468.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002944/0.2005, allocations: 0.5253 MB / 468.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2016, allocations: 187.8 kB / 469.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002578/0.2042, allocations: 1.266 MB / 470.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007795/0.205, allocations: 366.4 kB / 470.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.2064, allocations: 0.5484 MB / 471.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.2082, allocations: 0.6892 MB / 472 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.2084, allocations: 64 kB / 472.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.2086, allocations: 63.94 kB / 472.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005266/0.2092, allocations: 331.1 kB / 472.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007184/0.2099, allocations: 437.7 kB / 472.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.2111, allocations: 0.686 MB / 473.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.398e-05/0.2112, allocations: 8 kB / 473.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.2112, allocations: 3.938 kB / 473.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.125e-05/0.2112, allocations: 0 / 473.6 MB, free: 7.766 MB / 350.1 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.00336/0.2146, allocations: 1.221 MB / 474.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.2147, allocations: 11.89 kB / 474.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.215, allocations: 99.8 kB / 474.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.2168, allocations: 0.6681 MB / 475.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.924e-05/0.2169, allocations: 49.25 kB / 475.6 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.2171, allocations: 67.97 kB / 475.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.2191, allocations: 0.806 MB / 476.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.2192, allocations: 7.938 kB / 476.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.2193, allocations: 27.98 kB / 476.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-05/0.2194, allocations: 33.3 kB / 476.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.221, allocations: 0.6179 MB / 477.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005943/0.227, allocations: 2.63 MB / 479.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.2287, allocations: 0.6169 MB / 480.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.2297, allocations: 372 kB / 480.8 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.174e-05/0.2298, allocations: 8.438 kB / 480.8 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.2309, allocations: 490.9 kB / 481.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 5.601e-06/0.2309, allocations: 0 / 481.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.005169/0.2361, allocations: 1.981 MB / 483.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001942/0.2363, allocations: 247.8 kB / 483.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.2374, allocations: 0.5703 MB / 484.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/0.2375, allocations: 37.7 kB / 484.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004998/0.238, allocations: 399.5 kB / 484.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/0.2384, allocations: 205.1 kB / 484.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003321/0.2387, allocations: 150.6 kB / 484.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002759/0.239, allocations: 386.8 kB / 485.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006048/0.2396, allocations: 229.8 kB / 485.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008467/0.2405, allocations: 449.9 kB / 485.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.2421, allocations: 0.8012 MB / 486.7 MB, free: 9.914 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.2422, allocations: 4 kB / 486.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002828/0.245, allocations: 0.9481 MB / 487.6 MB, free: 8.938 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.202e-05/0.2451, allocations: 63.39 kB / 487.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.2452, allocations: 8.125 kB / 487.7 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006467/0.2458, allocations: 113.8 kB / 487.8 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009173/0.2467, allocations: 151.7 kB / 488 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004875/0.2516, allocations: 3.228 MB / 491.2 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.2527, allocations: 40.05 kB / 491.2 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.2529, allocations: 55.89 kB / 491.3 MB, free: 4.988 MB / 366.1 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,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 (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008315/0.2537, allocations: 354.6 kB / 491.6 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.2539, allocations: 79.05 kB / 491.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.256, allocations: 0.7895 MB / 492.5 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.256, allocations: 11.98 kB / 492.5 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.256, allocations: 4 kB / 492.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.609e-06/0.2561, allocations: 0 / 492.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.2598, allocations: 1.539 MB / 494 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.2599, allocations: 0 / 494 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009648/0.2609, allocations: 115.8 kB / 494.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/0.2609, allocations: 4 kB / 494.2 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.816e-05/0.261, allocations: 24.02 kB / 494.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.261, allocations: 4 kB / 494.2 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.261, allocations: 0 / 494.2 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.2638, allocations: 1.207 MB / 495.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004938/0.2644, allocations: 188.1 kB / 495.6 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.2645, allocations: 19.98 kB / 495.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/0.2651, allocations: 28.05 kB / 495.6 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.2653, allocations: 40.38 kB / 495.7 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.2654, allocations: 56 kB / 495.7 MB, free: 380 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008145/0.2663, allocations: 391.1 kB / 496.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.71e-07/0.2663, allocations: 0 / 496.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001222/0.2675, allocations: 179.9 kB / 496.3 MB, free: 15.82 MB / 382.1 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 (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.0002469/0.2678, allocations: 131.1 kB / 496.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003136/0.271, allocations: 1.101 MB / 497.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.271, allocations: 0 / 497.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.272, allocations: 497.2 kB / 498 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.2736, allocations: 163.6 kB / 498.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/0.2783, allocations: 1.915 MB / 0.4883 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.2794, allocations: 1.013 MB / 0.4893 GB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.2796, allocations: 55.42 kB / 0.4894 GB, free: 10.81 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.2797, allocations: 0 / 0.4894 GB, free: 10.81 MB / 382.1 MB Notification: Performance of Templates: time 0.03028/0.31, allocations: 12.04 MB / 0.5011 GB, free: 14.8 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1)