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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009455/0.0009455, allocations: 80.31 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 169.2 kB / 25.61 MB, free: 8.539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9409/0.9409, allocations: 177.1 MB / 206 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1211/0.1211, allocations: 29.42 MB / 292 MB, free: 2.652 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 370.9 MB, free: 32.35 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.426e-05, allocations: 3.656 kB / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.003701/0.003715, allocations: 5.873 MB / 376.7 MB, free: 26.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.005066, allocations: 1.714 MB / 378.5 MB, free: 24.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.005262, allocations: 43.62 kB / 378.5 MB, free: 24.69 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.005643, allocations: 206.5 kB / 378.7 MB, free: 24.49 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005409/0.006184, allocations: 0.5905 MB / 379.3 MB, free: 23.89 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.006379, allocations: 227.5 kB / 379.5 MB, free: 23.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005532/0.006932, allocations: 1.294 MB / 380.8 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.007149, allocations: 215 kB / 381 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006609/0.007809, allocations: 0.8923 MB / 381.9 MB, free: 21.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.008148, allocations: 0.5063 MB / 382.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.008196, allocations: 56 kB / 382.5 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.678e-05/0.008253, allocations: 56 kB / 382.5 MB, free: 20.65 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.008394, allocations: 351 kB / 382.9 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.008551, allocations: 279.3 kB / 383.1 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.008901, allocations: 0.6265 MB / 383.8 MB, free: 19.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.008903, allocations: 4 kB / 383.8 MB, free: 19.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.008904, allocations: 0 / 383.8 MB, free: 19.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.00891, allocations: 0 / 383.8 MB, free: 19.4 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.000845/0.009755, allocations: 1.236 MB / 385 MB, free: 18.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.009784, allocations: 8.031 kB / 385 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.009893, allocations: 148.3 kB / 385.2 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/0.01036, allocations: 0.609 MB / 385.8 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.01039, allocations: 41.69 kB / 385.8 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.01044, allocations: 68.36 kB / 385.9 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.01082, allocations: 0.5986 MB / 386.5 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.01084, allocations: 0 / 386.5 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.01087, allocations: 31.98 kB / 386.5 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.0109, allocations: 37.25 kB / 386.5 MB, free: 16.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.01111, allocations: 304.2 kB / 386.8 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.01246, allocations: 2.351 MB / 389.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.01281, allocations: 458.2 kB / 389.6 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.01301, allocations: 264.8 kB / 389.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.01303, allocations: 12.5 kB / 389.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.01326, allocations: 442.9 kB / 390.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 1.423e-06/0.01326, allocations: 0 / 390.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=64): time 0.001029/0.01429, allocations: 1.371 MB / 391.7 MB, free: 11.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.01434, allocations: 255.9 kB / 392 MB, free: 10.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.01459, allocations: 0.5607 MB / 392.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.01461, allocations: 41.7 kB / 392.6 MB, free: 10.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.01475, allocations: 470.9 kB / 393 MB, free: 9.621 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.978e-05/0.01483, allocations: 222.2 kB / 393.2 MB, free: 9.402 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.937e-05/0.01493, allocations: 148.2 kB / 393.4 MB, free: 9.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.01502, allocations: 0.5779 MB / 394 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.0151, allocations: 145.3 kB / 394.1 MB, free: 8.508 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.01526, allocations: 467.7 kB / 394.6 MB, free: 7.902 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.01555, allocations: 0.6506 MB / 395.2 MB, free: 7.094 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01556, allocations: 4 kB / 395.2 MB, free: 7.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0005682/0.01612, allocations: 0.7642 MB / 396 MB, free: 6.281 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.01615, allocations: 68.02 kB / 396 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.01616, allocations: 8.125 kB / 396.1 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/0.01635, allocations: 111.3 kB / 396.2 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.01659, allocations: 151.8 kB / 396.3 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.01772, allocations: 4.182 MB / 400.5 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.01789, allocations: 24 kB / 400.5 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.01793, allocations: 48.03 kB / 400.6 MB, free: 1.449 MB / 314.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,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.0001306/0.01806, allocations: 281.7 kB / 400.8 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.01812, allocations: 103.5 kB / 400.9 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.01852, allocations: 0.6426 MB / 401.6 MB, free: 384 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01852, allocations: 8 kB / 401.6 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01852, allocations: 7.875 kB / 401.6 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.01852, allocations: 3.984 kB / 401.6 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009072/0.01943, allocations: 1.185 MB / 402.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01943, allocations: 192 / 402.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.01967, allocations: 107.9 kB / 402.9 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.01967, allocations: 7.938 kB / 402.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.01969, allocations: 16 kB / 402.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.0197, allocations: 4 kB / 402.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.0197, allocations: 12.02 kB / 402.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006832/0.02038, allocations: 1.035 MB / 404 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.02049, allocations: 99.45 kB / 404.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.02054, allocations: 23.94 kB / 404.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.02067, allocations: 16 kB / 404.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.02073, allocations: 48.36 kB / 404.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/0.02078, allocations: 59.91 kB / 404.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.02094, allocations: 326.7 kB / 404.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02094, allocations: 0 / 404.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003851/0.02133, allocations: 184 kB / 404.7 MB, free: 13.11 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 9.659e-05/0.02142, allocations: 126.8 kB / 404.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006682/0.02209, allocations: 1.002 MB / 405.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.02209, allocations: 0 / 405.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.02232, allocations: 381.9 kB / 406.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/0.023, allocations: 176.1 kB / 406.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.02449, allocations: 1.417 MB / 407.8 MB, free: 9.812 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.02461, allocations: 203.4 kB / 408 MB, free: 9.594 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.02479, allocations: 89.69 kB / 408.1 MB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.02504, allocations: 246.1 kB / 408.3 MB, free: 9.262 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02504, allocations: 0 / 408.3 MB, free: 9.262 MB / 330.7 MB Notification: Performance of Templates: time 0.0098/0.03484, allocations: 8.396 MB / 416.7 MB, free: 1.027 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0917765987105668]