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.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.0009682/0.0009682, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.0009323/0.0009323, allocations: 161 kB / 24.56 MB, free: 20 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 0.9777/0.9777, allocations: 177.1 MB / 205 MB, free: 5.637 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.2398/0.2398, allocations: 29.42 MB / 290.9 MB, free: 2.531 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.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.51e-07/9.51e-07, allocations: 0 / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.235e-05, allocations: 2.312 kB / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.005902/0.005914, allocations: 7.839 MB / 377.5 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003717/0.009631, allocations: 3.345 MB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003291/0.009961, allocations: 47.62 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008056/0.01077, allocations: 461.1 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.01195, allocations: 1.127 MB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009226/0.01288, allocations: 0.7284 MB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.01438, allocations: 2.417 MB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005996/0.01498, allocations: 0.6625 MB / 386.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.01599, allocations: 1.293 MB / 387.5 MB, free: 9.035 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.01708, allocations: 1.356 MB / 388.9 MB, free: 7.676 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.01723, allocations: 128 kB / 389 MB, free: 7.551 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007031/0.01793, allocations: 0.6238 MB / 389.6 MB, free: 6.926 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005672/0.0185, allocations: 1.009 MB / 390.7 MB, free: 5.914 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008179/0.01931, allocations: 0.6158 MB / 391.3 MB, free: 5.297 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002109/0.02142, allocations: 1.799 MB / 393.1 MB, free: 3.492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.02143, allocations: 0 / 393.1 MB, free: 3.492 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.02143, allocations: 0 / 393.1 MB, free: 3.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.068e-05/0.0215, allocations: 0 / 393.1 MB, free: 3.492 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.002934/0.02443, allocations: 2.109 MB / 395.2 MB, free: 1.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.02447, allocations: 15.98 kB / 395.2 MB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.02596, allocations: 0.624 MB / 395.8 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.02719, allocations: 0.9823 MB / 396.8 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.719e-05/0.02725, allocations: 107.1 kB / 396.9 MB, free: 15.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002275/0.02748, allocations: 168.7 kB / 397.1 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.02921, allocations: 1.678 MB / 398.7 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.02925, allocations: 7.938 kB / 398.8 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/0.02934, allocations: 59.97 kB / 398.8 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003006/0.02964, allocations: 226.8 kB / 399 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.03092, allocations: 0.914 MB / 399.9 MB, free: 12.27 MB / 378.7 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.006672/0.03759, allocations: 9.456 MB / 409.4 MB, free: 2.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.03873, allocations: 0.9619 MB / 410.4 MB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/0.03912, allocations: 377.7 kB / 410.7 MB, free: 1.047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/0.03918, allocations: 28.98 kB / 410.8 MB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006376/0.03982, allocations: 0.7177 MB / 411.5 MB, free: 244 kB / 378.7 MB Notification: Performance of pre-optimization done (n=130): time 2.825e-06/0.03982, allocations: 0 / 411.5 MB, free: 244 kB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.003333/0.04315, allocations: 3.067 MB / 414.5 MB, free: 13.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.04326, allocations: 282.3 kB / 414.8 MB, free: 12.74 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.04429, allocations: 0.9115 MB / 415.7 MB, free: 11.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.04434, allocations: 53.95 kB / 415.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.04474, allocations: 0.85 MB / 416.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/0.04497, allocations: 476.1 kB / 417.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.04525, allocations: 333.1 kB / 417.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.04539, allocations: 0.5394 MB / 418 MB, free: 9.527 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.04577, allocations: 315.2 kB / 418.3 MB, free: 9.207 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007331/0.0465, allocations: 1.162 MB / 419.4 MB, free: 7.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.04772, allocations: 1.61 MB / 421 MB, free: 5.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.04772, allocations: 7.938 kB / 421.1 MB, free: 5.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.002478/0.0502, allocations: 1.884 MB / 422.9 MB, free: 3.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.744e-05/0.05025, allocations: 71.39 kB / 423 MB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001278/0.05153, allocations: 0.9417 MB / 423.9 MB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009944/0.05252, allocations: 0.4937 MB / 424.4 MB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.05314, allocations: 339.5 kB / 424.8 MB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008233/0.06137, allocations: 8.79 MB / 433.6 MB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.06238, allocations: 67.94 kB / 433.6 MB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.06256, allocations: 107.9 kB / 433.7 MB, free: 8.406 MB / 410.7 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.0005541/0.06312, allocations: 353.4 kB / 434.1 MB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.06334, allocations: 175.1 kB / 434.3 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.0651, allocations: 1.162 MB / 435.4 MB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.06511, allocations: 12 kB / 435.4 MB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.06511, allocations: 0 / 435.4 MB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.06512, allocations: 7.984 kB / 435.4 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.06783, allocations: 2.388 MB / 437.8 MB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.06784, allocations: 0 / 437.8 MB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007003/0.06854, allocations: 299.8 kB / 438.1 MB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.06854, allocations: 4 kB / 438.1 MB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.0686, allocations: 39.97 kB / 438.2 MB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.0686, allocations: 4 kB / 438.2 MB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.06861, allocations: 4 kB / 438.2 MB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.07018, allocations: 1.736 MB / 439.9 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003284/0.07051, allocations: 211 kB / 440.1 MB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/0.0706, allocations: 28.06 kB / 440.1 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.07085, allocations: 47.97 kB / 440.2 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.07097, allocations: 88.72 kB / 440.3 MB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-05/0.07105, allocations: 75.92 kB / 440.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004107/0.07146, allocations: 0.4887 MB / 440.8 MB, free: 1.059 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07146, allocations: 0 / 440.8 MB, free: 1.059 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009732/0.07243, allocations: 424 kB / 441.2 MB, free: 0.6445 MB / 410.7 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.0001522/0.07258, allocations: 147 kB / 441.4 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1193/0.1919, allocations: 2.13 MB / 443.5 MB, free: 95.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.1919, allocations: 3.469 kB / 443.5 MB, free: 95.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006562/0.1926, allocations: 0.6141 MB / 444.1 MB, free: 94.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.1937, allocations: 219.7 kB / 444.3 MB, free: 94.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.1979, allocations: 2.955 MB / 447.3 MB, free: 93.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.1983, allocations: 454.9 kB / 447.7 MB, free: 93.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008121/0.1991, allocations: 411.3 kB / 448.2 MB, free: 93.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.1994, allocations: 91.28 kB / 448.2 MB, free: 93.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.1994, allocations: 0 / 448.2 MB, free: 93.46 MB / 410.7 MB Notification: Performance of Templates: time 0.02149/0.2208, allocations: 15.42 MB / 463.7 MB, free: 91.97 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6774510368704796]