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.0007949/0.0007949, allocations: 83.69 kB / 20.68 MB, free: 3.883 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.0008236/0.0008236, 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.8621/0.8621, allocations: 177.1 MB / 204.2 MB, free: 5.711 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.2157/0.2157, allocations: 29.4 MB / 290.1 MB, free: 2.445 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03e-05/1.154e-05, allocations: 3.828 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.005071/0.005083, allocations: 6.874 MB / 437.1 MB, free: 6.699 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.006802, allocations: 1.683 MB / 438.8 MB, free: 5.012 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.007037, allocations: 35.69 kB / 438.8 MB, free: 4.977 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004367/0.007474, allocations: 226.3 kB / 439 MB, free: 4.754 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007102/0.008184, allocations: 0.606 MB / 439.6 MB, free: 4.145 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.008425, allocations: 207.6 kB / 439.8 MB, free: 3.941 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007692/0.009194, allocations: 1.296 MB / 441.1 MB, free: 2.641 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.009463, allocations: 223 kB / 441.3 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008697/0.01033, allocations: 0.7438 MB / 442.1 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.01085, allocations: 0.6077 MB / 442.7 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.01091, allocations: 68 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.822e-05/0.01099, allocations: 64 kB / 442.8 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.01119, allocations: 358.9 kB / 443.2 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.0114, allocations: 295.2 kB / 443.5 MB, free: 296 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1673/0.1787, allocations: 0.9114 MB / 444.4 MB, free: 45.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1787, allocations: 0 / 444.4 MB, free: 45.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1787, allocations: 0 / 444.4 MB, free: 45.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.1787, allocations: 0 / 444.4 MB, free: 45.19 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001092/0.1798, allocations: 1.166 MB / 445.5 MB, free: 44.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1798, allocations: 13.67 kB / 445.6 MB, free: 44.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.192e-05/0.1799, allocations: 114.7 kB / 445.7 MB, free: 44.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.946e-05/0.18, allocations: 96.52 kB / 445.8 MB, free: 44.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006408/0.1806, allocations: 0.6357 MB / 446.4 MB, free: 44.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.1806, allocations: 48.03 kB / 446.4 MB, free: 44.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.1807, allocations: 61.09 kB / 446.5 MB, free: 44.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006595/0.1814, allocations: 0.8704 MB / 447.4 MB, free: 44.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1814, allocations: 0 / 447.4 MB, free: 44.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.1814, allocations: 33.62 kB / 447.4 MB, free: 44.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.1814, allocations: 36.44 kB / 447.4 MB, free: 44.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005379/0.182, allocations: 0.6684 MB / 448.1 MB, free: 43.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.1836, allocations: 2.349 MB / 450.5 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.1841, allocations: 0.6136 MB / 451.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.1845, allocations: 395 kB / 451.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1845, allocations: 10.97 kB / 451.5 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003079/0.1848, allocations: 0.5359 MB / 452 MB, free: 42.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 1.373e-06/0.1848, allocations: 0 / 452 MB, free: 42.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.001531/0.1863, allocations: 2.063 MB / 454.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.1864, allocations: 249.2 kB / 454.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.1867, allocations: 0.5775 MB / 454.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1867, allocations: 36.86 kB / 454.9 MB, free: 40.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.1868, allocations: 411.4 kB / 455.3 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.1869, allocations: 216.1 kB / 455.5 MB, free: 40.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.547e-05/0.187, allocations: 149.7 kB / 455.7 MB, free: 40.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.187, allocations: 387 kB / 456.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.1872, allocations: 277.4 kB / 456.3 MB, free: 39.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.1875, allocations: 0.4996 MB / 456.8 MB, free: 39.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.1879, allocations: 0.797 MB / 457.6 MB, free: 38.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1879, allocations: 3.438 kB / 457.6 MB, free: 38.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0007876/0.1887, allocations: 1.007 MB / 458.6 MB, free: 38.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.1887, allocations: 66.5 kB / 458.7 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1887, allocations: 6.156 kB / 458.7 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/0.1889, allocations: 105.1 kB / 458.8 MB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.1892, allocations: 146.8 kB / 459 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.1905, allocations: 3.34 MB / 462.3 MB, free: 35.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.1907, allocations: 38.86 kB / 462.3 MB, free: 35.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.1907, allocations: 57.41 kB / 462.4 MB, free: 35.29 MB / 410.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.0001872/0.1909, allocations: 348.1 kB / 462.7 MB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.1909, allocations: 81.69 kB / 462.8 MB, free: 35.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005931/0.1915, allocations: 0.8606 MB / 463.7 MB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1915, allocations: 9.594 kB / 463.7 MB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1915, allocations: 5.5 kB / 463.7 MB, free: 34.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1916, allocations: 0.8438 kB / 463.7 MB, free: 34.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.1927, allocations: 1.551 MB / 465.2 MB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1927, allocations: 3.062 kB / 465.2 MB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.1929, allocations: 107.3 kB / 465.3 MB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1929, allocations: 3.219 kB / 465.3 MB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.1929, allocations: 29.45 kB / 465.4 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1929, allocations: 3.219 kB / 465.4 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1929, allocations: 0 / 465.4 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008317/0.1938, allocations: 1.332 MB / 466.7 MB, free: 33.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.1939, allocations: 114.1 kB / 466.8 MB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.1939, allocations: 17 kB / 466.8 MB, free: 32.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.1941, allocations: 24.09 kB / 466.9 MB, free: 32.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.1941, allocations: 47.17 kB / 466.9 MB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.1942, allocations: 63.48 kB / 467 MB, free: 32.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002211/0.1944, allocations: 394.2 kB / 467.4 MB, free: 32.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1944, allocations: 2.906 kB / 467.4 MB, free: 32.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003753/0.1948, allocations: 176.5 kB / 467.5 MB, free: 32.77 MB / 410.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.0009614/0.1957, allocations: 1.904 MB / 469.4 MB, free: 31.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007982/0.1965, allocations: 1.084 MB / 470.5 MB, free: 30.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1965, allocations: 3.094 kB / 470.5 MB, free: 30.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.1968, allocations: 493.4 kB / 471 MB, free: 30.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.1972, allocations: 159.7 kB / 471.2 MB, free: 30.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.2015, allocations: 6.522 MB / 477.7 MB, free: 26.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.2017, allocations: 418.6 kB / 478.1 MB, free: 26.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002306/0.202, allocations: 153.2 kB / 478.2 MB, free: 26.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.2021, allocations: 276.7 kB / 478.5 MB, free: 26.39 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2021, allocations: 0 / 478.5 MB, free: 26.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.2311, allocations: 15.35 MB / 493.9 MB, free: 24.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/7.69, allocations: 11.88 kB / 493.9 MB, free: 24.3 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.611147504299879] Failed to read output from testmodel.py, exit status != 0: 7.779708603397012 7.790572888 7.610343802 Calling exit ...