Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.0008522/0.0008522, 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.0008612/0.0008612, 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.8496/0.8496, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2253/0.2253, allocations: 29.41 MB / 290.1 MB, free: 2.414 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.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.096e-05, allocations: 4.25 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.006034/0.006055, allocations: 5.293 MB / 435.5 MB, free: 8.262 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.007588, allocations: 1.32 MB / 436.8 MB, free: 6.938 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.007803, allocations: 23.75 kB / 436.9 MB, free: 6.914 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.008167, allocations: 131 kB / 437 MB, free: 6.785 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005941/0.008761, allocations: 401.7 kB / 437.4 MB, free: 6.391 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.008992, allocations: 159.7 kB / 437.5 MB, free: 6.234 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005566/0.009548, allocations: 0.7979 MB / 438.3 MB, free: 5.434 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.009749, allocations: 150.1 kB / 438.5 MB, free: 5.281 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005263/0.01028, allocations: 470.5 kB / 438.9 MB, free: 4.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003983/0.01067, allocations: 379 kB / 439.3 MB, free: 4.449 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.73e-05/0.01072, allocations: 40 kB / 439.3 MB, free: 4.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.701e-05/0.01078, allocations: 40 kB / 439.4 MB, free: 4.371 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.01092, allocations: 215.3 kB / 439.6 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.01107, allocations: 187.5 kB / 439.8 MB, free: 3.977 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.0115, allocations: 0.5763 MB / 440.3 MB, free: 3.398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.0115, allocations: 0 / 440.3 MB, free: 3.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.0115, allocations: 3.938 kB / 440.4 MB, free: 3.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.01151, allocations: 0 / 440.4 MB, free: 3.395 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.0009275/0.01244, allocations: 0.8317 MB / 441.2 MB, free: 2.523 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.01247, allocations: 11.98 kB / 441.2 MB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.177e-05/0.01253, allocations: 82.7 kB / 441.3 MB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.0126, allocations: 64.52 kB / 441.3 MB, free: 2.359 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.01313, allocations: 460.3 kB / 441.8 MB, free: 1.879 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.01315, allocations: 29.38 kB / 441.8 MB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.01321, allocations: 44.12 kB / 441.9 MB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.01374, allocations: 0.5603 MB / 442.4 MB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.01375, allocations: 0 / 442.4 MB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.01378, allocations: 23.88 kB / 442.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.0138, allocations: 17 kB / 442.5 MB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.01422, allocations: 425.3 kB / 442.9 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1626/0.1768, allocations: 1.753 MB / 444.6 MB, free: 53.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.1773, allocations: 337.9 kB / 445 MB, free: 53.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.1775, allocations: 197.4 kB / 445.2 MB, free: 53.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1775, allocations: 3.281 kB / 445.2 MB, free: 53.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.1778, allocations: 303.9 kB / 445.5 MB, free: 53.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.274e-06/0.1778, allocations: 0 / 445.5 MB, free: 53.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001176/0.1789, allocations: 1.191 MB / 446.6 MB, free: 52.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.179, allocations: 171.5 kB / 446.8 MB, free: 52.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.1792, allocations: 403.8 kB / 447.2 MB, free: 52.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1792, allocations: 29.7 kB / 447.2 MB, free: 52.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.947e-05/0.1793, allocations: 298.7 kB / 447.5 MB, free: 52.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.1794, allocations: 117.7 kB / 447.6 MB, free: 51.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-05/0.1795, allocations: 99.61 kB / 447.7 MB, free: 51.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.1795, allocations: 363.5 kB / 448.1 MB, free: 51.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1796, allocations: 144.6 kB / 448.2 MB, free: 51.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.1798, allocations: 315.4 kB / 448.5 MB, free: 51.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.1801, allocations: 491.1 kB / 449 MB, free: 50.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1801, allocations: 3.156 kB / 449 MB, free: 50.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000416/0.1805, allocations: 0.5481 MB / 449.6 MB, free: 50.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.1805, allocations: 35.08 kB / 449.6 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.1806, allocations: 7.719 kB / 449.6 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.1806, allocations: 6.25 kB / 449.6 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.1808, allocations: 113.2 kB / 449.7 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1808, allocations: 10.22 kB / 449.7 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.181, allocations: 27.86 kB / 449.8 MB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.181, allocations: 29.45 kB / 449.8 MB, free: 50.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.1812, allocations: 252.9 kB / 450 MB, free: 50.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.1812, allocations: 45.88 kB / 450.1 MB, free: 50.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004105/0.1816, allocations: 485.9 kB / 450.6 MB, free: 50.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1816, allocations: 3.344 kB / 450.6 MB, free: 50.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1816, allocations: 0 / 450.6 MB, free: 50.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1816, allocations: 7.359 kB / 450.6 MB, free: 50.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007719/0.1824, allocations: 0.9545 MB / 451.5 MB, free: 49.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1824, allocations: 0 / 451.5 MB, free: 49.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.1826, allocations: 69.95 kB / 451.6 MB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1826, allocations: 7.156 kB / 451.6 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.1826, allocations: 13.06 kB / 451.6 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1826, allocations: 3.25 kB / 451.6 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1826, allocations: 0 / 451.6 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.1831, allocations: 0.7801 MB / 452.4 MB, free: 49.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.1832, allocations: 62.36 kB / 452.5 MB, free: 49.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.1832, allocations: 11.16 kB / 452.5 MB, free: 49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.1833, allocations: 16.92 kB / 452.5 MB, free: 49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.1834, allocations: 30.5 kB / 452.5 MB, free: 49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.1834, allocations: 34.89 kB / 452.6 MB, free: 48.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001368/0.1835, allocations: 263.9 kB / 452.8 MB, free: 48.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1835, allocations: 0 / 452.8 MB, free: 48.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002823/0.1838, allocations: 103.4 kB / 452.9 MB, free: 48.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0006617/0.1845, allocations: 1.33 MB / 454.2 MB, free: 47.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003801/0.1849, allocations: 447.2 kB / 454.7 MB, free: 47.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1849, allocations: 0 / 454.7 MB, free: 47.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.185, allocations: 263.9 kB / 454.9 MB, free: 47.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.1855, allocations: 102.6 kB / 455 MB, free: 47.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.1883, allocations: 4.237 MB / 459.3 MB, free: 44.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.1885, allocations: 281.3 kB / 459.5 MB, free: 44.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001761/0.1887, allocations: 92.19 kB / 459.6 MB, free: 44.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.1888, allocations: 174.5 kB / 459.8 MB, free: 44.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1888, allocations: 1.859 kB / 459.8 MB, free: 44.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.2106, allocations: 9.712 MB / 469.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.227/7.438, allocations: 3.188 kB / 469.5 MB, free: 42.95 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.4374577710405] Failed to read output from testmodel.py, exit status != 0: 7.521251841448247 7.527434674 7.514332654 Calling exit ...