Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001238/0.001238, 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.0009723/0.0009723, 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.9015/0.9015, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2129/0.2129, 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.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.598e-05, allocations: 8.047 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.004291/0.004307, allocations: 5.293 MB / 435.5 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.006079, allocations: 1.309 MB / 436.8 MB, free: 6.961 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.00634, allocations: 23.75 kB / 436.8 MB, free: 6.938 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.006707, allocations: 131 kB / 437 MB, free: 6.809 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007231/0.00743, allocations: 409.7 kB / 437.4 MB, free: 6.406 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.007709, allocations: 147.7 kB / 437.5 MB, free: 6.262 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006808/0.00839, allocations: 0.8056 MB / 438.3 MB, free: 5.453 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.008596, allocations: 146.1 kB / 438.5 MB, free: 5.305 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005082/0.009104, allocations: 470.6 kB / 438.9 MB, free: 4.844 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003986/0.009503, allocations: 379 kB / 439.3 MB, free: 4.473 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.549e-05/0.009548, allocations: 40 kB / 439.3 MB, free: 4.434 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.374e-05/0.009602, allocations: 40 kB / 439.4 MB, free: 4.395 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.009871, allocations: 223.2 kB / 439.6 MB, free: 4.176 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.01001, allocations: 187.5 kB / 439.8 MB, free: 3.992 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.01046, allocations: 0.5801 MB / 440.4 MB, free: 3.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.01046, allocations: 0 / 440.4 MB, free: 3.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01046, allocations: 0 / 440.4 MB, free: 3.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.01047, allocations: 0 / 440.4 MB, free: 3.41 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.001024/0.01149, allocations: 0.8317 MB / 441.2 MB, free: 2.539 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.01153, allocations: 11.98 kB / 441.2 MB, free: 2.527 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/0.0116, allocations: 82.7 kB / 441.3 MB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.668e-05/0.01167, allocations: 64.52 kB / 441.3 MB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.01221, allocations: 452.3 kB / 441.8 MB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.01223, allocations: 33.38 kB / 441.8 MB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.01228, allocations: 44.12 kB / 441.9 MB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.01279, allocations: 0.5641 MB / 442.4 MB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.0128, allocations: 0 / 442.4 MB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.01283, allocations: 19.94 kB / 442.4 MB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.01285, allocations: 21 kB / 442.5 MB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/0.01326, allocations: 425.3 kB / 442.9 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1704/0.1837, allocations: 1.745 MB / 444.6 MB, free: 53.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.1841, allocations: 337.7 kB / 445 MB, free: 53.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.1843, allocations: 193.7 kB / 445.1 MB, free: 53.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1843, allocations: 3.25 kB / 445.1 MB, free: 53.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.1845, allocations: 307.6 kB / 445.4 MB, free: 53.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.543e-06/0.1845, allocations: 4.844 kB / 445.5 MB, free: 53.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001123/0.1856, allocations: 1.187 MB / 446.6 MB, free: 52.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.1857, allocations: 168.1 kB / 446.8 MB, free: 52.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.1859, allocations: 404.2 kB / 447.2 MB, free: 52.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1859, allocations: 32.98 kB / 447.2 MB, free: 52.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.757e-05/0.186, allocations: 300.8 kB / 447.5 MB, free: 52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.1861, allocations: 128.1 kB / 447.6 MB, free: 51.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.089e-05/0.1861, allocations: 92.17 kB / 447.7 MB, free: 51.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.644e-05/0.1862, allocations: 361.9 kB / 448.1 MB, free: 51.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.1863, allocations: 148.7 kB / 448.2 MB, free: 51.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.1864, allocations: 309 kB / 448.5 MB, free: 51.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.1867, allocations: 496.8 kB / 449 MB, free: 50.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1867, allocations: 0 / 449 MB, free: 50.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0003725/0.1871, allocations: 0.5501 MB / 449.6 MB, free: 50.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1871, allocations: 35.83 kB / 449.6 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1871, allocations: 7.25 kB / 449.6 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1871, allocations: 9.469 kB / 449.6 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.1873, allocations: 110 kB / 449.7 MB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1873, allocations: 6.219 kB / 449.7 MB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.1875, allocations: 28.36 kB / 449.8 MB, free: 50.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.1875, allocations: 36.98 kB / 449.8 MB, free: 50.5 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.0001272/0.1876, allocations: 246.7 kB / 450 MB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.1877, allocations: 47.25 kB / 450.1 MB, free: 50.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.188, allocations: 484.6 kB / 450.6 MB, free: 50.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.188, allocations: 6.625 kB / 450.6 MB, free: 50.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.188, allocations: 0 / 450.6 MB, free: 50.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.188, allocations: 0 / 450.6 MB, free: 50.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006685/0.1887, allocations: 0.9554 MB / 451.5 MB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1887, allocations: 3.219 kB / 451.5 MB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.1889, allocations: 69.97 kB / 451.6 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1889, allocations: 0 / 451.6 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.1889, allocations: 14.28 kB / 451.6 MB, free: 49.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1889, allocations: 3.125 kB / 451.6 MB, free: 49.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1889, allocations: 3.938 kB / 451.6 MB, free: 49.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004745/0.1894, allocations: 0.7728 MB / 452.4 MB, free: 49.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.1894, allocations: 65.89 kB / 452.5 MB, free: 49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.1895, allocations: 11.09 kB / 452.5 MB, free: 49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1896, allocations: 16.86 kB / 452.5 MB, free: 48.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.1896, allocations: 26.61 kB / 452.5 MB, free: 48.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.1896, allocations: 39.06 kB / 452.5 MB, free: 48.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.1898, allocations: 270.3 kB / 452.8 MB, free: 48.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1898, allocations: 0 / 452.8 MB, free: 48.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.19, allocations: 104.4 kB / 452.9 MB, free: 48.84 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.0005724/0.1906, allocations: 1.324 MB / 454.2 MB, free: 47.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.1909, allocations: 451.9 kB / 454.7 MB, free: 47.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1909, allocations: 0 / 454.7 MB, free: 47.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.191, allocations: 266 kB / 454.9 MB, free: 47.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1914, allocations: 103.9 kB / 455 MB, free: 47.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.1939, allocations: 4.23 MB / 459.3 MB, free: 44.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.1941, allocations: 289.7 kB / 459.6 MB, free: 44.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.1942, allocations: 88.23 kB / 459.6 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.1943, allocations: 177.8 kB / 459.8 MB, free: 44.49 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1943, allocations: 1.859 kB / 459.8 MB, free: 44.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.2141, allocations: 9.703 MB / 469.5 MB, free: 42.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/7.229, allocations: 6.484 kB / 469.5 MB, free: 42.92 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & python3 -m fmpy simulate --output-file PowerSystems_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_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.213668786920607] Failed to read output from testmodel.py, exit status != 0: 7.315883534029126 7.324757728 7.312651478 Calling exit ...