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.0007928/0.0007928, 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.001347/0.001347, allocations: 170.3 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.9025/0.9025, 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.2288/0.2288, allocations: 29.42 MB / 290.1 MB, free: 2.465 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.392e-06/1.392e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.258e-05, allocations: 2.281 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.007238/0.007261, allocations: 8.434 MB / 438.6 MB, free: 5.145 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005287/0.01255, allocations: 3.208 MB / 441.8 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.01363, allocations: 51.56 kB / 441.9 MB, free: 1.875 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.01572, allocations: 1.015 MB / 442.9 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1821/0.1979, allocations: 1.138 MB / 444 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.1996, allocations: 0.7291 MB / 444.8 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002365/0.202, allocations: 2.424 MB / 447.2 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008952/0.2029, allocations: 0.6519 MB / 447.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.2046, allocations: 1.324 MB / 449.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.2059, allocations: 1.344 MB / 450.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.2061, allocations: 128.6 kB / 450.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009682/0.2071, allocations: 0.6145 MB / 451.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005921/0.2077, allocations: 0.9927 MB / 452.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004666/0.2082, allocations: 0.6223 MB / 452.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.2101, allocations: 2.421 MB / 455.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2101, allocations: 0.5625 kB / 455.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2101, allocations: 0 / 455.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.393e-05/0.2101, allocations: 3.969 kB / 455.3 MB, free: 42.22 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.002267/0.2124, allocations: 1.981 MB / 457.3 MB, free: 41.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2124, allocations: 13.36 kB / 457.3 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001772/0.2126, allocations: 241.3 kB / 457.5 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.2138, allocations: 483 kB / 458 MB, free: 40.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.215, allocations: 1.003 MB / 459 MB, free: 40.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/0.215, allocations: 101.4 kB / 459.1 MB, free: 40.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.2153, allocations: 163.5 kB / 459.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.2172, allocations: 2.392 MB / 461.7 MB, free: 39.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.2172, allocations: 9.844 kB / 461.7 MB, free: 39.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/0.2173, allocations: 64.12 kB / 461.7 MB, free: 39.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002733/0.2176, allocations: 224.6 kB / 461.9 MB, free: 39.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.2192, allocations: 1.896 MB / 463.8 MB, free: 38.43 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.005135/0.2244, allocations: 8.418 MB / 472.3 MB, free: 32.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.2256, allocations: 1.35 MB / 473.6 MB, free: 32.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004543/0.2261, allocations: 0.5992 MB / 474.2 MB, free: 31.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.895e-05/0.2261, allocations: 16.3 kB / 474.2 MB, free: 31.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006369/0.2267, allocations: 0.9228 MB / 475.2 MB, free: 31.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 2.675e-06/0.2267, allocations: 0 / 475.2 MB, free: 31.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=131): time 0.003465/0.2302, allocations: 4.135 MB / 479.3 MB, free: 29.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.2303, allocations: 287.4 kB / 479.6 MB, free: 28.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008077/0.2311, allocations: 0.9538 MB / 480.5 MB, free: 28.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.2311, allocations: 48.33 kB / 480.6 MB, free: 28.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.2315, allocations: 0.777 MB / 481.3 MB, free: 27.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.2317, allocations: 469 kB / 481.8 MB, free: 27.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.232, allocations: 327.6 kB / 482.1 MB, free: 27.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.947e-05/0.232, allocations: 361.4 kB / 482.5 MB, free: 27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006695/0.2327, allocations: 0.6323 MB / 483.1 MB, free: 26.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008204/0.2335, allocations: 1.222 MB / 484.3 MB, free: 25.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.2351, allocations: 2.001 MB / 486.3 MB, free: 24.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.2351, allocations: 5.094 kB / 486.3 MB, free: 24.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.002885/0.238, allocations: 2.537 MB / 488.9 MB, free: 23.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.2381, allocations: 77.61 kB / 488.9 MB, free: 23.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001799/0.2398, allocations: 1.552 MB / 490.5 MB, free: 22.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009285/0.2408, allocations: 0.537 MB / 491 MB, free: 22.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/0.2414, allocations: 328.5 kB / 491.4 MB, free: 22.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006538/0.2479, allocations: 8.965 MB / 0.4886 GB, free: 16.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.249, allocations: 74.14 kB / 0.4887 GB, free: 16.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.2491, allocations: 105.2 kB / 0.4888 GB, free: 16.24 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.0008116/0.2499, allocations: 0.6021 MB / 0.4894 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.25, allocations: 129.5 kB / 0.4895 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.2518, allocations: 1.61 MB / 0.4911 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.2518, allocations: 12.22 kB / 0.4911 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2518, allocations: 1 kB / 0.4911 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.2518, allocations: 10.78 kB / 0.4911 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003464/0.2553, allocations: 2.992 MB / 0.494 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.2553, allocations: 7.812 kB / 0.494 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007942/0.2561, allocations: 292.2 kB / 0.4943 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.2561, allocations: 15.22 kB / 0.4943 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.2562, allocations: 40.67 kB / 0.4943 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.2562, allocations: 11.31 kB / 0.4943 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2562, allocations: 5.375 kB / 0.4944 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.2586, allocations: 2.457 MB / 0.4968 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/0.2591, allocations: 219.2 kB / 0.497 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/0.2591, allocations: 31.45 kB / 0.497 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.2595, allocations: 43.41 kB / 0.497 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.2596, allocations: 83.47 kB / 0.4971 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.2597, allocations: 79.86 kB / 0.4972 GB, free: 12.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006477/0.2603, allocations: 0.6057 MB / 0.4978 GB, free: 12.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2603, allocations: 0 / 0.4978 GB, free: 12.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001146/0.2615, allocations: 423.3 kB / 0.4982 GB, free: 12.2 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.002174/0.2637, allocations: 3.048 MB / 0.5012 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00242/0.2661, allocations: 2.372 MB / 0.5035 GB, free: 8.574 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2661, allocations: 0 / 0.5035 GB, free: 8.574 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007624/0.2669, allocations: 0.8488 MB / 0.5043 GB, free: 7.793 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009572/0.2678, allocations: 222.5 kB / 0.5045 GB, free: 7.621 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/0.2816, allocations: 13.28 MB / 0.5175 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000951/0.2825, allocations: 0.8662 MB / 0.5183 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007845/0.2833, allocations: 470.3 kB / 0.5188 GB, free: 9.859 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004881/0.2838, allocations: 0.5706 MB / 0.5193 GB, free: 9.289 MB / 426.7 MB Notification: Performance of SimCode: time 1.442e-06/0.2838, allocations: 0 / 0.5193 GB, free: 9.289 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05138/0.3352, allocations: 28.82 MB / 0.5475 GB, free: 12.79 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/8.045, allocations: 18.95 kB / 0.5475 GB, free: 12.78 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.93583403993398] Failed to read output from testmodel.py, exit status != 0: 8.141907660290599 8.15185629 7.939881143 Calling exit ...