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.002175/0.002175, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002864/0.002864, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 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 1.541/1.541, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.2936/0.2936, allocations: 29.42 MB / 290.5 MB, free: 2.422 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 2.385e-06/2.385e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.15e-05/4.388e-05, allocations: 5.547 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.01159/0.01163, allocations: 6.882 MB / 375.8 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004113/0.01575, allocations: 1.663 MB / 377.4 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006768/0.01642, allocations: 35.69 kB / 377.5 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009898/0.01741, allocations: 234.3 kB / 377.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.01938, allocations: 0.5944 MB / 378.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006827/0.02007, allocations: 231.5 kB / 378.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002302/0.02237, allocations: 1.289 MB / 379.8 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.02286, allocations: 207 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.02459, allocations: 0.7515 MB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.02584, allocations: 0.6116 MB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.02597, allocations: 64 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.02613, allocations: 64 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004139/0.02654, allocations: 355 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000414/0.02696, allocations: 291.3 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.0282, allocations: 0.9228 MB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.0282, allocations: 4 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.02821, allocations: 0 / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.02822, allocations: 0 / 383 MB, free: 13.07 MB / 362.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.002395/0.03062, allocations: 1.164 MB / 384.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.03066, allocations: 11.98 kB / 384.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.03093, allocations: 148.3 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.03228, allocations: 0.67 MB / 385 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.725e-05/0.03233, allocations: 49.69 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.03246, allocations: 64.38 kB / 385.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.03394, allocations: 0.8756 MB / 386 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.03395, allocations: 0 / 386 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.744e-05/0.03402, allocations: 24 kB / 386 MB, free: 9.949 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.125e-05/0.03408, allocations: 37.3 kB / 386.1 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.03548, allocations: 0.672 MB / 386.8 MB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003826/0.03931, allocations: 2.272 MB / 389 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.04044, allocations: 0.6156 MB / 389.6 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007204/0.04117, allocations: 398.4 kB / 390 MB, free: 5.828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.0412, allocations: 12.5 kB / 390 MB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008053/0.04201, allocations: 0.5347 MB / 390.6 MB, free: 5.227 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 2.164e-06/0.04201, allocations: 0 / 390.6 MB, free: 5.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.003634/0.04565, allocations: 2.084 MB / 392.7 MB, free: 3.051 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002116/0.04586, allocations: 255.8 kB / 392.9 MB, free: 2.746 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007567/0.04661, allocations: 0.5614 MB / 393.5 MB, free: 2.176 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002826/0.0469, allocations: 37.7 kB / 393.5 MB, free: 2.133 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003942/0.04729, allocations: 408.4 kB / 393.9 MB, free: 1.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.04752, allocations: 214.2 kB / 394.1 MB, free: 1.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.04775, allocations: 146.6 kB / 394.3 MB, free: 1.371 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002612/0.04801, allocations: 390.7 kB / 394.6 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.04847, allocations: 277.3 kB / 394.9 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006696/0.04914, allocations: 0.5011 MB / 395.4 MB, free: 88 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.05032, allocations: 0.8005 MB / 396.2 MB, free: 15.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.05032, allocations: 4 kB / 396.2 MB, free: 15.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001988/0.05231, allocations: 1.04 MB / 397.3 MB, free: 14.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.713e-05/0.05241, allocations: 67.52 kB / 397.3 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.05243, allocations: 8 kB / 397.3 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/0.053, allocations: 125.6 kB / 397.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.05354, allocations: 135.8 kB / 397.6 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004117/0.05766, allocations: 3.306 MB / 400.9 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/0.05817, allocations: 40.11 kB / 400.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.05827, allocations: 59.89 kB / 401 MB, free: 10.12 MB / 378.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.0005346/0.05881, allocations: 350.9 kB / 401.3 MB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.05897, allocations: 103.5 kB / 401.4 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.06039, allocations: 0.8497 MB / 402.3 MB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.0604, allocations: 11.98 kB / 402.3 MB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.06041, allocations: 4 kB / 402.3 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.06041, allocations: 0 / 402.3 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.06284, allocations: 1.466 MB / 403.8 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.06284, allocations: 4 kB / 403.8 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/0.06339, allocations: 111.8 kB / 403.9 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.0634, allocations: 4 kB / 403.9 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.06344, allocations: 24.08 kB / 403.9 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.06345, allocations: 4 kB / 403.9 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.06345, allocations: 0 / 403.9 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.06546, allocations: 1.356 MB / 405.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.06571, allocations: 107.5 kB / 405.4 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.654e-05/0.0658, allocations: 20 kB / 405.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.06615, allocations: 27.97 kB / 405.4 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.06628, allocations: 40.44 kB / 405.5 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.06639, allocations: 63.91 kB / 405.5 MB, free: 5.398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005175/0.0669, allocations: 378.8 kB / 405.9 MB, free: 5.031 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0669, allocations: 7.938 kB / 405.9 MB, free: 5.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000799/0.0677, allocations: 179.9 kB / 406.1 MB, free: 4.848 MB / 378.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 0.0001894/0.06789, allocations: 120.1 kB / 406.2 MB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001842/0.06974, allocations: 1.095 MB / 407.3 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.06974, allocations: 0 / 407.3 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000954/0.07069, allocations: 498.2 kB / 407.8 MB, free: 3.027 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008868/0.07158, allocations: 169 kB / 407.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.07442, allocations: 1.573 MB / 409.5 MB, free: 1.227 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.07497, allocations: 417.1 kB / 409.9 MB, free: 0.793 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004386/0.07541, allocations: 137.7 kB / 410.1 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.07555, allocations: 56.48 kB / 410.1 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.07555, allocations: 4 kB / 410.1 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of Templates: time 0.01777/0.09332, allocations: 7.578 MB / 417.7 MB, free: 9.16 MB / 394.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.025690407957882]