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.0008825/0.0008825, allocations: 79.69 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.001044/0.001044, allocations: 170 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.9019/0.9019, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2341/0.2341, allocations: 29.41 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.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.767e-05, allocations: 6.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.009257/0.009285, allocations: 8.431 MB / 438.6 MB, free: 5.133 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004591/0.01388, allocations: 3.208 MB / 441.8 MB, free: 1.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007197/0.01459, allocations: 51.62 kB / 441.9 MB, free: 1.859 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.01627, allocations: 1.019 MB / 442.9 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1808/0.197, allocations: 1.136 MB / 444.1 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.1985, allocations: 0.7295 MB / 444.8 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002034/0.2005, allocations: 2.417 MB / 447.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006686/0.2012, allocations: 0.6594 MB / 447.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.2024, allocations: 1.317 MB / 449.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.2035, allocations: 1.343 MB / 450.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.2036, allocations: 133.5 kB / 450.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000798/0.2044, allocations: 0.6133 MB / 451.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000483/0.2049, allocations: 0.9993 MB / 452.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004266/0.2053, allocations: 0.6199 MB / 452.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.2069, allocations: 2.422 MB / 455.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2069, allocations: 0 / 455.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2069, allocations: 3.328 kB / 455.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.2069, allocations: 0 / 455.3 MB, free: 42.29 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.002239/0.2092, allocations: 1.976 MB / 457.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.2092, allocations: 14.89 kB / 457.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.2094, allocations: 244.1 kB / 457.5 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.2107, allocations: 482.2 kB / 458 MB, free: 40.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.2119, allocations: 0.9973 MB / 459 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.2119, allocations: 102.5 kB / 459.1 MB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.2121, allocations: 176.1 kB / 459.3 MB, free: 40.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.2141, allocations: 2.385 MB / 461.7 MB, free: 39.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/0.2142, allocations: 6.625 kB / 461.7 MB, free: 39.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.194e-05/0.2143, allocations: 63.5 kB / 461.7 MB, free: 39.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002843/0.2145, allocations: 222.7 kB / 461.9 MB, free: 39.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.2164, allocations: 1.9 MB / 463.8 MB, free: 38.48 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.006563/0.223, allocations: 8.417 MB / 472.3 MB, free: 32.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.2243, allocations: 1.349 MB / 473.6 MB, free: 32.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/0.2248, allocations: 0.5999 MB / 474.2 MB, free: 31.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.269e-05/0.2248, allocations: 20.52 kB / 474.2 MB, free: 31.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006869/0.2255, allocations: 0.9162 MB / 475.1 MB, free: 31.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.417e-06/0.2255, allocations: 2.906 kB / 475.2 MB, free: 31.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=131): time 0.003753/0.2292, allocations: 4.132 MB / 479.3 MB, free: 29.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.996e-05/0.2293, allocations: 287.1 kB / 479.6 MB, free: 28.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008982/0.2302, allocations: 0.956 MB / 480.5 MB, free: 28.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.2303, allocations: 49.08 kB / 480.6 MB, free: 28.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/0.2306, allocations: 0.7809 MB / 481.3 MB, free: 27.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.2308, allocations: 474.7 kB / 481.8 MB, free: 27.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.2311, allocations: 317.9 kB / 482.1 MB, free: 27.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.2312, allocations: 357.9 kB / 482.5 MB, free: 27.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006368/0.2318, allocations: 0.6346 MB / 483.1 MB, free: 26.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008266/0.2326, allocations: 1.222 MB / 484.3 MB, free: 25.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.2341, allocations: 2 MB / 486.3 MB, free: 24.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.2341, allocations: 9.656 kB / 486.3 MB, free: 24.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.002698/0.2368, allocations: 2.537 MB / 488.9 MB, free: 23.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.2369, allocations: 69.67 kB / 488.9 MB, free: 23.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001701/0.2386, allocations: 1.553 MB / 490.5 MB, free: 23.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008545/0.2394, allocations: 0.5389 MB / 491 MB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.24, allocations: 330.5 kB / 491.4 MB, free: 22.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00704/0.2471, allocations: 8.965 MB / 0.4886 GB, free: 16.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.2482, allocations: 78.38 kB / 0.4887 GB, free: 16.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.2483, allocations: 105.8 kB / 0.4888 GB, free: 16.29 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.0009173/0.2493, allocations: 0.5978 MB / 0.4894 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.2494, allocations: 128.4 kB / 0.4895 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.2513, allocations: 1.614 MB / 0.4911 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.2513, allocations: 11.81 kB / 0.4911 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2513, allocations: 1.25 kB / 0.4911 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.2513, allocations: 8.406 kB / 0.4911 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/0.255, allocations: 2.996 MB / 0.494 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.255, allocations: 2.312 kB / 0.494 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007486/0.2557, allocations: 293.8 kB / 0.4943 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.2557, allocations: 9.344 kB / 0.4943 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.734e-05/0.2558, allocations: 48.05 kB / 0.4943 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.2558, allocations: 14.78 kB / 0.4944 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2558, allocations: 0 / 0.4944 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.2581, allocations: 2.454 MB / 0.4967 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/0.2585, allocations: 218.5 kB / 0.497 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.2586, allocations: 34.09 kB / 0.497 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.2589, allocations: 43.81 kB / 0.497 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.259, allocations: 82.86 kB / 0.4971 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.2592, allocations: 87.09 kB / 0.4972 GB, free: 12.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005957/0.2597, allocations: 0.6008 MB / 0.4978 GB, free: 12.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2597, allocations: 0 / 0.4978 GB, free: 12.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001139/0.2609, allocations: 421.2 kB / 0.4982 GB, free: 12.25 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.002279/0.2632, allocations: 3.049 MB / 0.5012 GB, free: 10.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002489/0.2657, allocations: 2.377 MB / 0.5035 GB, free: 8.625 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2657, allocations: 1.938 kB / 0.5035 GB, free: 8.625 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006622/0.2663, allocations: 0.8436 MB / 0.5043 GB, free: 7.848 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007725/0.2671, allocations: 224.4 kB / 0.5045 GB, free: 7.672 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/0.2802, allocations: 13.3 MB / 0.5175 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007529/0.2809, allocations: 0.8658 MB / 0.5184 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007546/0.2817, allocations: 466.3 kB / 0.5188 GB, free: 9.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004971/0.2822, allocations: 0.5706 MB / 0.5194 GB, free: 9.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.734e-06/0.2822, allocations: 3.938 kB / 0.5194 GB, free: 9.246 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04364/0.3258, allocations: 28.82 MB / 0.5475 GB, free: 12.75 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/7.848, allocations: 22 kB / 0.5475 GB, free: 12.73 MB / 458.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file PowerSystems_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_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.830240010283887] Failed to read output from testmodel.py, exit status != 0: 7.9469577660784125 7.957215812 7.748311858 Calling exit ...