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.0008252/0.0008252, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.004319/0.004319, allocations: 160.2 kB / 24.7 MB, free: 8.879 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.8599/0.8599, allocations: 177.1 MB / 205 MB, free: 5.734 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.2259/0.2259, allocations: 29.42 MB / 290.9 MB, free: 2.43 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 2.956e-06/2.956e-06, allocations: 4 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.373e-05, allocations: 7.766 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.006792/0.006826, allocations: 8.422 MB / 439.9 MB, free: 4.637 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004617/0.01144, allocations: 3.212 MB / 443.1 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000685/0.01213, allocations: 43.62 kB / 443.2 MB, free: 1.371 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.01369, allocations: 1.022 MB / 444.2 MB, free: 352 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2054/0.2191, allocations: 1.139 MB / 445.3 MB, free: 44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.2208, allocations: 0.7299 MB / 446 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002476/0.2233, allocations: 2.421 MB / 448.5 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000803/0.2241, allocations: 0.6594 MB / 449.1 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.2257, allocations: 1.317 MB / 450.4 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.2272, allocations: 1.341 MB / 451.8 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002259/0.2274, allocations: 129.6 kB / 451.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.2285, allocations: 0.615 MB / 452.5 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005477/0.229, allocations: 0.9927 MB / 453.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.2295, allocations: 0.6234 MB / 454.1 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.2315, allocations: 2.426 MB / 456.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2315, allocations: 0 / 456.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2315, allocations: 2.719 kB / 456.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.978e-05/0.2315, allocations: 0 / 456.6 MB, free: 42.49 MB / 410.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.002273/0.2338, allocations: 1.974 MB / 458.5 MB, free: 41.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2338, allocations: 15.92 kB / 458.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.2351, allocations: 482.9 kB / 459 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.2363, allocations: 0.9958 MB / 460 MB, free: 40.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.009e-05/0.2364, allocations: 103.5 kB / 460.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.2366, allocations: 169.5 kB / 460.3 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.239, allocations: 2.391 MB / 462.7 MB, free: 39.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.239, allocations: 8.375 kB / 462.7 MB, free: 39.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.144e-05/0.2391, allocations: 62.83 kB / 462.8 MB, free: 39.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003016/0.2394, allocations: 226.1 kB / 463 MB, free: 39.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.2413, allocations: 1.89 MB / 464.9 MB, free: 38.83 MB / 410.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.006036/0.2473, allocations: 8.229 MB / 473.1 MB, free: 33.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.2487, allocations: 1.345 MB / 474.4 MB, free: 32.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.2492, allocations: 0.6044 MB / 475 MB, free: 32.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.231e-05/0.2492, allocations: 16.34 kB / 475.1 MB, free: 32.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006811/0.2499, allocations: 0.9183 MB / 476 MB, free: 31.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 2.905e-06/0.2499, allocations: 3.125 kB / 476 MB, free: 31.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=131): time 0.003807/0.2537, allocations: 4.122 MB / 480.1 MB, free: 29.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.567e-05/0.2538, allocations: 290.8 kB / 480.4 MB, free: 29.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.2548, allocations: 0.9337 MB / 481.3 MB, free: 29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.346e-05/0.2549, allocations: 52.48 kB / 481.4 MB, free: 28.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005745/0.2555, allocations: 0.786 MB / 482.2 MB, free: 28.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/0.2558, allocations: 469.6 kB / 482.6 MB, free: 27.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003832/0.2561, allocations: 327.6 kB / 482.9 MB, free: 27.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2563, allocations: 362.5 kB / 483.3 MB, free: 27.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008888/0.2571, allocations: 0.6323 MB / 483.9 MB, free: 27.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009225/0.2581, allocations: 1.224 MB / 485.2 MB, free: 26.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.2597, allocations: 2.002 MB / 487.2 MB, free: 24.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.2597, allocations: 5.062 kB / 487.2 MB, free: 24.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.003001/0.2627, allocations: 2.536 MB / 489.7 MB, free: 24.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.2627, allocations: 69.52 kB / 489.8 MB, free: 24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001769/0.2645, allocations: 1.549 MB / 491.3 MB, free: 23.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009146/0.2654, allocations: 0.5398 MB / 491.8 MB, free: 23.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/0.2661, allocations: 330.6 kB / 492.2 MB, free: 23.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006547/0.2726, allocations: 8.874 MB / 0.4893 GB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.2737, allocations: 74.86 kB / 0.4894 GB, free: 16.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.2739, allocations: 102.9 kB / 0.4895 GB, free: 16.87 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.001099/0.275, allocations: 0.5933 MB / 0.4901 GB, free: 16.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.2751, allocations: 135.8 kB / 0.4902 GB, free: 16.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.277, allocations: 1.613 MB / 0.4918 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.277, allocations: 12.47 kB / 0.4918 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.277, allocations: 1.062 kB / 0.4918 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.277, allocations: 7.484 kB / 0.4918 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/0.2805, allocations: 2.805 MB / 0.4945 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2805, allocations: 5.906 kB / 0.4945 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007841/0.2812, allocations: 300.9 kB / 0.4948 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/0.2813, allocations: 4.938 kB / 0.4948 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.752e-05/0.2813, allocations: 35.47 kB / 0.4948 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.2813, allocations: 8.062 kB / 0.4949 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2813, allocations: 5.688 kB / 0.4949 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.2837, allocations: 2.461 MB / 0.4973 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000438/0.2841, allocations: 214.5 kB / 0.4975 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/0.2842, allocations: 30.12 kB / 0.4975 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.2845, allocations: 47.28 kB / 0.4975 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.2847, allocations: 92.64 kB / 0.4976 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.2848, allocations: 76.98 kB / 0.4977 GB, free: 13.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006064/0.2854, allocations: 0.5908 MB / 0.4983 GB, free: 12.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2854, allocations: 0 / 0.4983 GB, free: 12.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001263/0.2867, allocations: 422.5 kB / 0.4987 GB, free: 12.9 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.0001739/0.2868, allocations: 135.9 kB / 0.4988 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002585/0.2894, allocations: 2.385 MB / 0.5011 GB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2894, allocations: 1.625 kB / 0.5011 GB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007215/0.2902, allocations: 0.8358 MB / 0.502 GB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007906/0.2909, allocations: 232.7 kB / 0.5022 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/0.2952, allocations: 3.479 MB / 0.5056 GB, free: 7.879 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/0.2959, allocations: 0.8663 MB / 0.5064 GB, free: 7.219 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.2962, allocations: 106.3 kB / 0.5065 GB, free: 7.121 MB / 410.7 MB Notification: Performance of SimCode: time 2.023e-06/0.2962, allocations: 0 / 0.5065 GB, free: 7.121 MB / 410.7 MB Notification: Performance of Templates: time 0.02663/0.3228, allocations: 29.13 MB / 0.535 GB, free: 11.14 MB / 442.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.056294887326658] Failed to read output from testmodel.py, exit status != 0: 0.32967459224164486 0.338559543 0.10509315200000001 Calling exit ...