Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0012/0.0012, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001288/0.001288, allocations: 170.3 kB / 23.95 MB, free: 0.6133 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.9335/0.9335, allocations: 177.2 MB / 204.3 MB, free: 5.77 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.2332/0.2332, allocations: 29.4 MB / 290.1 MB, free: 2.441 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.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 430.2 MB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027e-05/1.132e-05, allocations: 2.281 kB / 430.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.005039/0.005051, allocations: 6.881 MB / 437.1 MB, free: 6.715 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.006631, allocations: 1.679 MB / 438.8 MB, free: 5.031 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.006851, allocations: 35.69 kB / 438.8 MB, free: 4.996 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004506/0.007302, allocations: 222.3 kB / 439 MB, free: 4.777 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008616/0.008164, allocations: 0.6022 MB / 439.6 MB, free: 4.172 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.008424, allocations: 219.6 kB / 439.8 MB, free: 3.957 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008896/0.009314, allocations: 1.3 MB / 441.1 MB, free: 2.652 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.009549, allocations: 215 kB / 441.3 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005901/0.01014, allocations: 0.7399 MB / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005188/0.01066, allocations: 0.6116 MB / 442.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.333e-05/0.01072, allocations: 64 kB / 442.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-05/0.0108, allocations: 64 kB / 442.8 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.01099, allocations: 358.9 kB / 443.2 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.01119, allocations: 291.3 kB / 443.5 MB, free: 324 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1684/0.1795, allocations: 0.9149 MB / 444.4 MB, free: 45.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1795, allocations: 0 / 444.4 MB, free: 45.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1795, allocations: 5.141 kB / 444.4 MB, free: 45.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.1796, allocations: 0 / 444.4 MB, free: 45.24 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.00127/0.1808, allocations: 1.158 MB / 445.5 MB, free: 44.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1809, allocations: 16.8 kB / 445.5 MB, free: 44.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.745e-05/0.181, allocations: 113.7 kB / 445.7 MB, free: 44.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.584e-05/0.181, allocations: 101.2 kB / 445.8 MB, free: 44.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000672/0.1817, allocations: 0.6266 MB / 446.4 MB, free: 44.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.1817, allocations: 49.73 kB / 446.4 MB, free: 44.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.1818, allocations: 62.88 kB / 446.5 MB, free: 44.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000668/0.1825, allocations: 0.8741 MB / 447.4 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1825, allocations: 2.781 kB / 447.4 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.1825, allocations: 29.03 kB / 447.4 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.643e-05/0.1825, allocations: 30.59 kB / 447.4 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005714/0.1831, allocations: 0.6736 MB / 448.1 MB, free: 44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.1848, allocations: 2.353 MB / 450.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.1853, allocations: 0.6161 MB / 451.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.1857, allocations: 393.9 kB / 451.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1857, allocations: 3.719 kB / 451.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003278/0.186, allocations: 0.5412 MB / 452 MB, free: 42.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 1.723e-06/0.186, allocations: 0 / 452 MB, free: 42.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.001567/0.1876, allocations: 2.053 MB / 454.1 MB, free: 41.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.1876, allocations: 259 kB / 454.3 MB, free: 41.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.188, allocations: 0.5713 MB / 454.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.188, allocations: 44.3 kB / 454.9 MB, free: 40.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.1881, allocations: 410.6 kB / 455.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/0.1882, allocations: 223.4 kB / 455.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.803e-05/0.1883, allocations: 143.9 kB / 455.7 MB, free: 40.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.45e-05/0.1883, allocations: 389.9 kB / 456.1 MB, free: 40.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.1885, allocations: 273.9 kB / 456.3 MB, free: 39.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.1888, allocations: 0.5033 MB / 456.8 MB, free: 39.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.1892, allocations: 0.7944 MB / 457.6 MB, free: 38.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.1892, allocations: 0 / 457.6 MB, free: 38.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0007909/0.19, allocations: 1.003 MB / 458.6 MB, free: 38.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.19, allocations: 71.45 kB / 458.7 MB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1901, allocations: 9.531 kB / 458.7 MB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.1903, allocations: 108.5 kB / 458.8 MB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.1905, allocations: 152.4 kB / 459 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.1918, allocations: 3.33 MB / 462.3 MB, free: 35.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.192, allocations: 37.22 kB / 462.3 MB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/0.1921, allocations: 56.12 kB / 462.4 MB, free: 35.35 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.0002079/0.1923, allocations: 349.4 kB / 462.7 MB, free: 35.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.1923, allocations: 78.88 kB / 462.8 MB, free: 35.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006272/0.193, allocations: 0.8623 MB / 463.7 MB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.193, allocations: 10.53 kB / 463.7 MB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.193, allocations: 0 / 463.7 MB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.193, allocations: 6.703 kB / 463.7 MB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.1941, allocations: 1.541 MB / 465.2 MB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1941, allocations: 3.062 kB / 465.2 MB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.1943, allocations: 105.6 kB / 465.3 MB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1943, allocations: 7.406 kB / 465.3 MB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.1944, allocations: 21.75 kB / 465.4 MB, free: 33.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1944, allocations: 6.906 kB / 465.4 MB, free: 33.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1944, allocations: 0 / 465.4 MB, free: 33.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008144/0.1952, allocations: 1.337 MB / 466.7 MB, free: 33.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.1953, allocations: 115 kB / 466.8 MB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.1953, allocations: 17.59 kB / 466.8 MB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.1955, allocations: 25.81 kB / 466.9 MB, free: 33.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.1956, allocations: 49.23 kB / 466.9 MB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.407e-05/0.1956, allocations: 65.11 kB / 467 MB, free: 33.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002158/0.1958, allocations: 390.6 kB / 467.3 MB, free: 32.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1958, allocations: 0 / 467.3 MB, free: 32.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003862/0.1962, allocations: 179.5 kB / 467.5 MB, free: 32.82 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.0009348/0.1971, allocations: 1.898 MB / 469.4 MB, free: 31.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007556/0.1979, allocations: 1.088 MB / 470.5 MB, free: 30.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1979, allocations: 4.781 kB / 470.5 MB, free: 30.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.1982, allocations: 496.5 kB / 471 MB, free: 30.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.1986, allocations: 167 kB / 471.2 MB, free: 30.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.203, allocations: 6.519 MB / 477.7 MB, free: 26.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.2032, allocations: 411.1 kB / 478.1 MB, free: 26.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.2034, allocations: 154.2 kB / 478.2 MB, free: 26.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.2036, allocations: 278.9 kB / 478.5 MB, free: 26.45 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2036, allocations: 0 / 478.5 MB, free: 26.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/0.2357, allocations: 15.35 MB / 493.9 MB, free: 24.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/7.628, allocations: 12.95 kB / 493.9 MB, free: 24.37 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_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_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.676993011496961] Failed to read output from testmodel.py, exit status != 0: 7.71811041329056 7.726514299 7.545646041 Calling exit ...