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.0007546/0.0007546, 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.0007715/0.0007715, 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.8805/0.8805, 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.2121/0.2121, 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 2.585e-06/2.585e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/3.041e-05, allocations: 6.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.006522/0.006552, allocations: 6.866 MB / 437.1 MB, free: 6.707 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.008629, allocations: 1.686 MB / 438.8 MB, free: 5.016 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002839/0.008912, allocations: 35.69 kB / 438.8 MB, free: 4.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004808/0.009393, allocations: 230.3 kB / 439 MB, free: 4.754 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008692/0.01026, allocations: 0.5983 MB / 439.6 MB, free: 4.152 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.01057, allocations: 211.6 kB / 439.8 MB, free: 3.945 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009175/0.01149, allocations: 1.296 MB / 441.1 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.01175, allocations: 219 kB / 441.3 MB, free: 2.422 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007585/0.01251, allocations: 0.7515 MB / 442.1 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006131/0.01313, allocations: 0.6077 MB / 442.7 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.493e-05/0.0132, allocations: 64 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.502e-05/0.0133, allocations: 64 kB / 442.8 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.0135, allocations: 351 kB / 443.2 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.01371, allocations: 295.2 kB / 443.5 MB, free: 308 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1482/0.1619, allocations: 0.9173 MB / 444.4 MB, free: 45.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1619, allocations: 3.938 kB / 444.4 MB, free: 45.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1619, allocations: 0 / 444.4 MB, free: 45.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.1619, allocations: 1.531 kB / 444.4 MB, free: 45.2 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.001142/0.163, allocations: 1.163 MB / 445.5 MB, free: 44.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1631, allocations: 16.45 kB / 445.6 MB, free: 44.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.953e-05/0.1632, allocations: 107.1 kB / 445.7 MB, free: 44.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.246e-05/0.1632, allocations: 101 kB / 445.8 MB, free: 44.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007026/0.1639, allocations: 0.6369 MB / 446.4 MB, free: 44.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.164, allocations: 43.53 kB / 446.4 MB, free: 44.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.995e-05/0.164, allocations: 68.69 kB / 446.5 MB, free: 44.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007228/0.1648, allocations: 0.8655 MB / 447.4 MB, free: 44.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1648, allocations: 5.031 kB / 447.4 MB, free: 44.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.1648, allocations: 25.47 kB / 447.4 MB, free: 44.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/0.1649, allocations: 35.45 kB / 447.4 MB, free: 44.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000592/0.1654, allocations: 0.6703 MB / 448.1 MB, free: 43.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.1673, allocations: 2.356 MB / 450.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007072/0.168, allocations: 0.6147 MB / 451.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.1684, allocations: 391.4 kB / 451.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1684, allocations: 10.91 kB / 451.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000356/0.1687, allocations: 0.5379 MB / 452 MB, free: 42.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 1.643e-06/0.1687, allocations: 0 / 452 MB, free: 42.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.001691/0.1704, allocations: 2.052 MB / 454.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.1705, allocations: 255 kB / 454.3 MB, free: 41.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.1708, allocations: 0.5784 MB / 454.9 MB, free: 40.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1708, allocations: 37.02 kB / 454.9 MB, free: 40.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1709, allocations: 407.6 kB / 455.3 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/0.171, allocations: 214.9 kB / 455.5 MB, free: 40.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.944e-05/0.1711, allocations: 153.5 kB / 455.7 MB, free: 40.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.994e-05/0.1712, allocations: 387.1 kB / 456.1 MB, free: 40.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.1714, allocations: 283.3 kB / 456.3 MB, free: 39.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.1716, allocations: 0.4934 MB / 456.8 MB, free: 39.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.1721, allocations: 0.8014 MB / 457.6 MB, free: 38.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1721, allocations: 3.156 kB / 457.6 MB, free: 38.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0007714/0.1728, allocations: 1.005 MB / 458.6 MB, free: 38.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.1729, allocations: 64.33 kB / 458.7 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1729, allocations: 10.64 kB / 458.7 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002008/0.1731, allocations: 108.1 kB / 458.8 MB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.1733, allocations: 144.4 kB / 459 MB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.1746, allocations: 3.335 MB / 462.3 MB, free: 35.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.1748, allocations: 40.91 kB / 462.3 MB, free: 35.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.1748, allocations: 59.66 kB / 462.4 MB, free: 35.3 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.0001891/0.175, allocations: 344.7 kB / 462.7 MB, free: 35.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.1751, allocations: 81.25 kB / 462.8 MB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000575/0.1756, allocations: 0.8621 MB / 463.7 MB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1756, allocations: 5.688 kB / 463.7 MB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.1756, allocations: 5.5 kB / 463.7 MB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1756, allocations: 3.422 kB / 463.7 MB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.1767, allocations: 1.547 MB / 465.2 MB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1767, allocations: 2.844 kB / 465.2 MB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.1769, allocations: 110.6 kB / 465.3 MB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1769, allocations: 3.375 kB / 465.3 MB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.177, allocations: 25.41 kB / 465.4 MB, free: 33.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.177, allocations: 6.656 kB / 465.4 MB, free: 33.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.177, allocations: 0 / 465.4 MB, free: 33.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008241/0.1778, allocations: 1.33 MB / 466.7 MB, free: 33.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.1779, allocations: 110.9 kB / 466.8 MB, free: 33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.1779, allocations: 20.94 kB / 466.8 MB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.1781, allocations: 31.06 kB / 466.9 MB, free: 32.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.1782, allocations: 46.36 kB / 466.9 MB, free: 32.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.1782, allocations: 63.52 kB / 467 MB, free: 32.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002279/0.1784, allocations: 394.9 kB / 467.4 MB, free: 32.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1784, allocations: 2.906 kB / 467.4 MB, free: 32.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003895/0.1788, allocations: 177.8 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.001027/0.1799, allocations: 1.895 MB / 469.4 MB, free: 31.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007672/0.1806, allocations: 1.085 MB / 470.5 MB, free: 30.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1806, allocations: 0 / 470.5 MB, free: 30.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.1809, allocations: 0.4925 MB / 471 MB, free: 30.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.1813, allocations: 167.6 kB / 471.2 MB, free: 30.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.1855, allocations: 6.511 MB / 477.7 MB, free: 26.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.1857, allocations: 413.1 kB / 478.1 MB, free: 26.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002145/0.1859, allocations: 153.3 kB / 478.2 MB, free: 26.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.1861, allocations: 282.4 kB / 478.5 MB, free: 26.4 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1861, allocations: 0 / 478.5 MB, free: 26.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.2121, allocations: 15.34 MB / 493.9 MB, free: 24.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.52, allocations: 7.625 kB / 493.9 MB, free: 24.31 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.37107390537858] Failed to read output from testmodel.py, exit status != 0: 7.609463746659458 7.620726571 7.457414138 Calling exit ...