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.000847/0.000847, 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.0009537/0.0009537, 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.9187/0.9187, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2322/0.2322, allocations: 29.4 MB / 290.1 MB, free: 2.453 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.482e-06/1.482e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.333e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.00629/0.006313, allocations: 6.87 MB / 437.1 MB, free: 6.703 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.008912, allocations: 1.683 MB / 438.8 MB, free: 5.016 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005747/0.009487, allocations: 43.69 kB / 438.8 MB, free: 4.973 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008076/0.01029, allocations: 222.3 kB / 439 MB, free: 4.754 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.01164, allocations: 0.6022 MB / 439.6 MB, free: 4.148 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.01207, allocations: 211.6 kB / 439.8 MB, free: 3.941 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.0133, allocations: 1.296 MB / 441.1 MB, free: 2.641 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003284/0.01363, allocations: 215 kB / 441.3 MB, free: 2.422 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.01463, allocations: 0.7515 MB / 442.1 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007153/0.01535, allocations: 0.6038 MB / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.01543, allocations: 60 kB / 442.7 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.01554, allocations: 64 kB / 442.8 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.01579, allocations: 358.9 kB / 443.2 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.01604, allocations: 299.3 kB / 443.5 MB, free: 304 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.186/0.2021, allocations: 0.916 MB / 444.4 MB, free: 45.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2021, allocations: 3.25 kB / 444.4 MB, free: 45.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2021, allocations: 0 / 444.4 MB, free: 45.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.2021, allocations: 0 / 444.4 MB, free: 45.18 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.001268/0.2034, allocations: 1.165 MB / 445.5 MB, free: 44.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.2034, allocations: 13.05 kB / 445.6 MB, free: 44.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.634e-05/0.2035, allocations: 112 kB / 445.7 MB, free: 44.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.255e-05/0.2036, allocations: 98.77 kB / 445.8 MB, free: 44.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006958/0.2043, allocations: 0.6343 MB / 446.4 MB, free: 44.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.2043, allocations: 44.06 kB / 446.4 MB, free: 44.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-05/0.2044, allocations: 68.64 kB / 446.5 MB, free: 44.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007344/0.2051, allocations: 0.8672 MB / 447.4 MB, free: 44.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.2051, allocations: 6.188 kB / 447.4 MB, free: 44.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.2052, allocations: 24.27 kB / 447.4 MB, free: 44.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.584e-05/0.2052, allocations: 32.86 kB / 447.4 MB, free: 44.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006021/0.2058, allocations: 0.674 MB / 448.1 MB, free: 43.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.2077, allocations: 2.354 MB / 450.5 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/0.2082, allocations: 0.6144 MB / 451.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.2086, allocations: 389.1 kB / 451.5 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.2086, allocations: 6.375 kB / 451.5 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003452/0.209, allocations: 0.5399 MB / 452 MB, free: 42.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 1.904e-06/0.209, allocations: 0 / 452 MB, free: 42.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.001749/0.2107, allocations: 2.06 MB / 454.1 MB, free: 41.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.2108, allocations: 255.3 kB / 454.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.2111, allocations: 0.5769 MB / 454.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.2111, allocations: 37.02 kB / 454.9 MB, free: 40.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.2113, allocations: 408.1 kB / 455.3 MB, free: 40.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/0.2113, allocations: 216.4 kB / 455.5 MB, free: 40.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.731e-05/0.2114, allocations: 143.8 kB / 455.7 MB, free: 40.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.2115, allocations: 389.1 kB / 456.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.2117, allocations: 283.4 kB / 456.3 MB, free: 39.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.212, allocations: 0.499 MB / 456.8 MB, free: 39.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.2125, allocations: 0.7997 MB / 457.6 MB, free: 38.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2125, allocations: 3.344 kB / 457.6 MB, free: 38.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0008688/0.2133, allocations: 1.006 MB / 458.6 MB, free: 38.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.2134, allocations: 64.86 kB / 458.7 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2134, allocations: 6.438 kB / 458.7 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002168/0.2136, allocations: 111.4 kB / 458.8 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.2138, allocations: 143.4 kB / 459 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.2153, allocations: 3.337 MB / 462.3 MB, free: 35.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.2156, allocations: 37.73 kB / 462.3 MB, free: 35.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.2156, allocations: 53.94 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.0002318/0.2158, allocations: 351.7 kB / 462.7 MB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.2159, allocations: 87.22 kB / 462.8 MB, free: 35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006724/0.2166, allocations: 0.8566 MB / 463.7 MB, free: 34.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.2166, allocations: 8.188 kB / 463.7 MB, free: 34.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.2166, allocations: 1.5 kB / 463.7 MB, free: 34.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.2166, allocations: 3.328 kB / 463.7 MB, free: 34.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.2178, allocations: 1.557 MB / 465.2 MB, free: 33.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2178, allocations: 0 / 465.2 MB, free: 33.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.218, allocations: 106.6 kB / 465.3 MB, free: 33.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.218, allocations: 3.188 kB / 465.3 MB, free: 33.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.2181, allocations: 24.81 kB / 465.4 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2181, allocations: 3.281 kB / 465.4 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2181, allocations: 96 / 465.4 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008605/0.2189, allocations: 1.339 MB / 466.7 MB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.219, allocations: 115.2 kB / 466.8 MB, free: 32.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.2191, allocations: 14.19 kB / 466.8 MB, free: 32.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.2192, allocations: 31.08 kB / 466.9 MB, free: 32.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.2193, allocations: 38.94 kB / 466.9 MB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.2194, allocations: 68.06 kB / 467 MB, free: 32.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002358/0.2196, allocations: 384.2 kB / 467.3 MB, free: 32.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2196, allocations: 2.906 kB / 467.3 MB, free: 32.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004207/0.22, allocations: 182.2 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.0009997/0.221, allocations: 1.9 MB / 469.4 MB, free: 31.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000853/0.2219, allocations: 1.087 MB / 470.5 MB, free: 30.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2219, allocations: 2.734 kB / 470.5 MB, free: 30.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.2222, allocations: 0.4919 MB / 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.0005105/0.2227, allocations: 161 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.004788/0.2275, allocations: 6.515 MB / 477.7 MB, free: 26.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.2278, allocations: 412.5 kB / 478.1 MB, free: 26.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002686/0.228, allocations: 156.8 kB / 478.2 MB, free: 26.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.2282, allocations: 282.3 kB / 478.5 MB, free: 26.39 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2282, allocations: 0 / 478.5 MB, free: 26.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.2594, allocations: 15.33 MB / 493.8 MB, free: 24.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.799, allocations: 16.58 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.859307633712888] Failed to read output from testmodel.py, exit status != 0: 7.895636988803744 7.902306353 7.698431083 Calling exit ...