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.001023/0.001023, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001009/0.001009, allocations: 165 kB / 24.56 MB, free: 12 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.9429/0.9429, allocations: 177.1 MB / 205 MB, free: 5.613 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.2448/0.2448, allocations: 29.41 MB / 290.9 MB, free: 2.504 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 1.673e-06/1.673e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.617e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.007413/0.007439, allocations: 7.843 MB / 377.5 MB, free: 3.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004952/0.01239, allocations: 3.341 MB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007669/0.01316, allocations: 51.5 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.01433, allocations: 449.2 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.01647, allocations: 1.143 MB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.01786, allocations: 0.7284 MB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00255/0.02041, allocations: 2.417 MB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008845/0.02129, allocations: 0.6624 MB / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.02335, allocations: 1.481 MB / 387.7 MB, free: 8.805 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.02532, allocations: 1.227 MB / 389 MB, free: 7.574 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002719/0.02559, allocations: 116 kB / 389.1 MB, free: 7.461 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.02685, allocations: 0.616 MB / 389.7 MB, free: 6.844 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007379/0.02759, allocations: 0.9859 MB / 390.7 MB, free: 5.855 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007412/0.02833, allocations: 0.604 MB / 391.3 MB, free: 5.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.03044, allocations: 1.729 MB / 393 MB, free: 3.516 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.03045, allocations: 0 / 393 MB, free: 3.516 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.03045, allocations: 0 / 393 MB, free: 3.516 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.275e-05/0.03052, allocations: 3.938 kB / 393 MB, free: 3.512 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.002534/0.03306, allocations: 2.093 MB / 395.1 MB, free: 1.355 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.0331, allocations: 11.98 kB / 395.1 MB, free: 1.344 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.03462, allocations: 0.624 MB / 395.8 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.03573, allocations: 0.9326 MB / 396.7 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.403e-05/0.03579, allocations: 103.1 kB / 396.8 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.03602, allocations: 160.8 kB / 396.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.03788, allocations: 1.678 MB / 398.6 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/0.03792, allocations: 15.88 kB / 398.6 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.802e-05/0.03802, allocations: 63.97 kB / 398.7 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003009/0.03832, allocations: 222.8 kB / 398.9 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.04004, allocations: 0.9102 MB / 399.8 MB, free: 12.38 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.007244/0.04729, allocations: 9.452 MB / 409.3 MB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.04854, allocations: 0.962 MB / 410.2 MB, free: 1.535 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004302/0.04897, allocations: 381.6 kB / 410.6 MB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-05/0.04903, allocations: 21 kB / 410.6 MB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006684/0.0497, allocations: 0.7255 MB / 411.4 MB, free: 344 kB / 378.7 MB Notification: Performance of pre-optimization done (n=130): time 2.555e-06/0.0497, allocations: 0 / 411.4 MB, free: 344 kB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.00353/0.05323, allocations: 3.067 MB / 414.4 MB, free: 13.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.05333, allocations: 290.3 kB / 414.7 MB, free: 12.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.05437, allocations: 0.9115 MB / 415.6 MB, free: 11.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.469e-05/0.05445, allocations: 45.7 kB / 415.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005934/0.05504, allocations: 0.8501 MB / 416.5 MB, free: 10.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003827/0.05542, allocations: 472.1 kB / 417 MB, free: 10.51 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003938/0.05582, allocations: 341.3 kB / 417.3 MB, free: 10.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.056, allocations: 0.5394 MB / 417.9 MB, free: 9.621 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000553/0.05656, allocations: 315.2 kB / 418.2 MB, free: 9.301 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.0576, allocations: 1.158 MB / 419.3 MB, free: 7.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.05923, allocations: 1.613 MB / 420.9 MB, free: 5.762 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.05924, allocations: 4 kB / 420.9 MB, free: 5.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.00235/0.06159, allocations: 1.875 MB / 422.8 MB, free: 3.832 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.99e-05/0.06165, allocations: 64.41 kB / 422.9 MB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001301/0.06295, allocations: 0.9572 MB / 423.8 MB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.06398, allocations: 494 kB / 424.3 MB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/0.06465, allocations: 339.5 kB / 424.6 MB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005914/0.07056, allocations: 8.803 MB / 433.4 MB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/0.07123, allocations: 75.92 kB / 433.5 MB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.07135, allocations: 104 kB / 433.6 MB, free: 8.496 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.0004629/0.07181, allocations: 341.4 kB / 434 MB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.07197, allocations: 183.1 kB / 434.1 MB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.07322, allocations: 1.159 MB / 435.3 MB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.07323, allocations: 12 kB / 435.3 MB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.07323, allocations: 3.984 kB / 435.3 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.07324, allocations: 3.984 kB / 435.3 MB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/0.07629, allocations: 2.384 MB / 437.7 MB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.0763, allocations: 4 kB / 437.7 MB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006963/0.07699, allocations: 299.8 kB / 438 MB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.077, allocations: 4 kB / 438 MB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.764e-05/0.07706, allocations: 35.98 kB / 438 MB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.07707, allocations: 7.984 kB / 438 MB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.07707, allocations: 7.938 kB / 438 MB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.07869, allocations: 1.724 MB / 439.8 MB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/0.07903, allocations: 215.1 kB / 440 MB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.807e-05/0.07913, allocations: 32 kB / 440 MB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.0794, allocations: 43.97 kB / 440.1 MB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.07953, allocations: 80.86 kB / 440.1 MB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.585e-05/0.07962, allocations: 83.91 kB / 440.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004246/0.08004, allocations: 0.4926 MB / 440.7 MB, free: 1.156 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08004, allocations: 0 / 440.7 MB, free: 1.156 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001021/0.08106, allocations: 427.9 kB / 441.1 MB, free: 0.7383 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.0001672/0.08123, allocations: 143.1 kB / 441.3 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.131/0.2123, allocations: 2.142 MB / 443.4 MB, free: 95.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.2123, allocations: 0 / 443.4 MB, free: 95.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005433/0.2128, allocations: 0.6127 MB / 444 MB, free: 95.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007982/0.2136, allocations: 223.7 kB / 444.2 MB, free: 95.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.217, allocations: 2.951 MB / 447.2 MB, free: 94.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.2173, allocations: 447.8 kB / 447.6 MB, free: 93.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005615/0.2179, allocations: 397.8 kB / 448 MB, free: 93.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.2181, allocations: 91.47 kB / 448.1 MB, free: 93.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.873e-06/0.2181, allocations: 0 / 448.1 MB, free: 93.88 MB / 410.7 MB Notification: Performance of Templates: time 0.01782/0.2359, allocations: 16.02 MB / 464.1 MB, free: 92.3 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.3847687100060284]