Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0008499/0.0008499, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008206/0.0008206, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8802/0.8802, allocations: 177.1 MB / 204.3 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2418/0.2418, allocations: 29.41 MB / 290.1 MB, free: 2.438 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.612e-05, allocations: 8.531 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.007277/0.007303, allocations: 8.427 MB / 438.6 MB, free: 5.133 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00446/0.01176, allocations: 3.209 MB / 441.8 MB, free: 1.914 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007197/0.01248, allocations: 51.62 kB / 441.9 MB, free: 1.863 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.01441, allocations: 1.022 MB / 442.9 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1712/0.1856, allocations: 1.132 MB / 444.1 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.1869, allocations: 0.7323 MB / 444.8 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001462/0.1884, allocations: 2.42 MB / 447.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000501/0.1889, allocations: 0.657 MB / 447.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008373/0.1897, allocations: 1.321 MB / 449.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008172/0.1905, allocations: 1.342 MB / 450.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.1906, allocations: 130 kB / 450.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005444/0.1912, allocations: 0.614 MB / 451.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003999/0.1916, allocations: 0.9972 MB / 452.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.1919, allocations: 0.6198 MB / 452.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.1931, allocations: 2.425 MB / 455.3 MB, free: 42.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.1931, allocations: 0 / 455.3 MB, free: 42.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1931, allocations: 0 / 455.3 MB, free: 42.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.1931, allocations: 3.25 kB / 455.3 MB, free: 42.32 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.001702/0.1948, allocations: 1.976 MB / 457.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1949, allocations: 17.67 kB / 457.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.195, allocations: 235.6 kB / 457.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.1962, allocations: 486.9 kB / 458 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.1972, allocations: 0.9963 MB / 459 MB, free: 40.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.1972, allocations: 107.2 kB / 459.1 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.1974, allocations: 163.7 kB / 459.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.1992, allocations: 2.39 MB / 461.7 MB, free: 39.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.1992, allocations: 7 kB / 461.7 MB, free: 39.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.762e-05/0.1993, allocations: 62.2 kB / 461.7 MB, free: 39.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002554/0.1996, allocations: 222.9 kB / 461.9 MB, free: 39.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.2013, allocations: 1.906 MB / 463.9 MB, free: 38.52 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.004944/0.2062, allocations: 8.417 MB / 472.3 MB, free: 32.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.2074, allocations: 1.345 MB / 473.6 MB, free: 32.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004729/0.2079, allocations: 0.6036 MB / 474.2 MB, free: 31.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.155e-05/0.208, allocations: 17.72 kB / 474.2 MB, free: 31.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006503/0.2086, allocations: 0.919 MB / 475.2 MB, free: 31.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 2.635e-06/0.2086, allocations: 0 / 475.2 MB, free: 31.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=131): time 0.003238/0.2119, allocations: 4.13 MB / 479.3 MB, free: 29.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.2119, allocations: 286.7 kB / 479.6 MB, free: 28.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006874/0.2126, allocations: 0.9569 MB / 480.5 MB, free: 28.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.2127, allocations: 48.17 kB / 480.6 MB, free: 28.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.2129, allocations: 0.7806 MB / 481.3 MB, free: 27.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.2131, allocations: 468.9 kB / 481.8 MB, free: 27.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.2133, allocations: 324.9 kB / 482.1 MB, free: 27.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.199e-05/0.2134, allocations: 363.3 kB / 482.5 MB, free: 27.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/0.214, allocations: 0.6307 MB / 483.1 MB, free: 26.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000804/0.2148, allocations: 1.228 MB / 484.3 MB, free: 25.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.2163, allocations: 1.998 MB / 486.3 MB, free: 24.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.2163, allocations: 5.938 kB / 486.3 MB, free: 24.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.002702/0.219, allocations: 2.537 MB / 488.9 MB, free: 23.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.2191, allocations: 72.55 kB / 488.9 MB, free: 23.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00178/0.2208, allocations: 1.549 MB / 490.5 MB, free: 23.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000959/0.2218, allocations: 0.5449 MB / 491 MB, free: 22.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/0.2224, allocations: 323.7 kB / 491.4 MB, free: 22.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006055/0.2285, allocations: 8.969 MB / 0.4886 GB, free: 16.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005757/0.229, allocations: 75.47 kB / 0.4887 GB, free: 16.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.2292, allocations: 106.5 kB / 0.4888 GB, free: 16.34 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.0006795/0.2299, allocations: 0.5962 MB / 0.4894 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.23, allocations: 129.6 kB / 0.4895 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.2316, allocations: 1.615 MB / 0.4911 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.2317, allocations: 17.38 kB / 0.4911 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2317, allocations: 1.156 kB / 0.4911 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.2317, allocations: 7.672 kB / 0.4911 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.2349, allocations: 2.994 MB / 0.494 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2349, allocations: 1.562 kB / 0.494 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007332/0.2356, allocations: 292.9 kB / 0.4943 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.2356, allocations: 9.594 kB / 0.4943 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/0.2357, allocations: 47.03 kB / 0.4943 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.2357, allocations: 12.69 kB / 0.4944 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.2357, allocations: 7.797 kB / 0.4944 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.2378, allocations: 2.451 MB / 0.4968 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.2381, allocations: 222.9 kB / 0.497 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.117e-05/0.2382, allocations: 32.28 kB / 0.497 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.2385, allocations: 38.56 kB / 0.497 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.2386, allocations: 89.55 kB / 0.4971 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.491e-05/0.2387, allocations: 79.53 kB / 0.4972 GB, free: 12.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004512/0.2392, allocations: 0.6039 MB / 0.4978 GB, free: 12.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2392, allocations: 0 / 0.4978 GB, free: 12.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008373/0.24, allocations: 423.5 kB / 0.4982 GB, free: 12.3 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.0021/0.2421, allocations: 3.048 MB / 0.5012 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001883/0.244, allocations: 2.376 MB / 0.5035 GB, free: 8.645 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.244, allocations: 0 / 0.5035 GB, free: 8.645 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006099/0.2446, allocations: 0.8412 MB / 0.5043 GB, free: 7.871 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006329/0.2452, allocations: 221.5 kB / 0.5045 GB, free: 7.695 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.2563, allocations: 13.3 MB / 0.5175 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/0.257, allocations: 0.8658 MB / 0.5183 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007019/0.2577, allocations: 466.3 kB / 0.5188 GB, free: 9.863 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005292/0.2583, allocations: 0.5706 MB / 0.5194 GB, free: 9.293 MB / 426.7 MB Notification: Performance of SimCode: time 7.22e-07/0.2583, allocations: 0 / 0.5194 GB, free: 9.293 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04954/0.3078, allocations: 28.84 MB / 0.5475 GB, free: 12.77 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.72/8.028, allocations: 4.062 kB / 0.5475 GB, free: 12.77 MB / 458.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.041501987725496] Failed to read output from testmodel.py, exit status != 0: 8.12843438051641 8.138179138 7.942952907 Calling exit ...