Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.0008381/0.0008381, allocations: 79.7 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.0009168/0.0009168, allocations: 174 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.8666/0.8666, allocations: 177.1 MB / 204.3 MB, free: 5.746 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.2136/0.2136, allocations: 29.41 MB / 290.1 MB, free: 2.449 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.Generation.PowerAngle,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.709e-05, allocations: 10.22 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.005753/0.00577, allocations: 7.047 MB / 437.3 MB, free: 6.512 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003254/0.009024, allocations: 2.839 MB / 440.1 MB, free: 3.664 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/0.009405, allocations: 39.69 kB / 440.1 MB, free: 3.625 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.01052, allocations: 0.7466 MB / 440.9 MB, free: 2.875 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.01175, allocations: 0.7226 MB / 441.6 MB, free: 2.148 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006647/0.01241, allocations: 405.8 kB / 442 MB, free: 1.754 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.01352, allocations: 1.355 MB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1531/0.1666, allocations: 0.5596 MB / 443.9 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.1677, allocations: 0.7563 MB / 444.7 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006432/0.1684, allocations: 0.5907 MB / 445.3 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.048e-05/0.1684, allocations: 73.69 kB / 445.3 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006476/0.1691, allocations: 0.5014 MB / 445.8 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.1693, allocations: 485.7 kB / 446.3 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.1696, allocations: 359.7 kB / 446.7 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.1706, allocations: 1.451 MB / 448.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1706, allocations: 0.6562 kB / 448.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1706, allocations: 0 / 448.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.1706, allocations: 3.812 kB / 448.1 MB, free: 43.45 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001277/0.1719, allocations: 1.212 MB / 449.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1719, allocations: 13.73 kB / 449.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.928e-05/0.172, allocations: 137.2 kB / 449.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006923/0.1727, allocations: 221.6 kB / 449.7 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007562/0.1735, allocations: 0.6576 MB / 450.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.1735, allocations: 59.19 kB / 450.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.1736, allocations: 100.1 kB / 450.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009009/0.1745, allocations: 1.113 MB / 451.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.1746, allocations: 5.969 kB / 451.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.1746, allocations: 34.14 kB / 451.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.491e-05/0.1747, allocations: 74.52 kB / 451.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008094/0.1755, allocations: 0.884 MB / 452.6 MB, free: 42.31 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.00262/0.1781, allocations: 3.673 MB / 456.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.1785, allocations: 326.1 kB / 456.6 MB, free: 40.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.1787, allocations: 248.9 kB / 456.9 MB, free: 40.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.1787, allocations: 16.73 kB / 456.9 MB, free: 40.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.1787, allocations: 37.81 kB / 456.9 MB, free: 40.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.184e-06/0.1787, allocations: 3.938 kB / 456.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.002301/0.181, allocations: 1.934 MB / 458.9 MB, free: 39.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.1811, allocations: 83.64 kB / 458.9 MB, free: 39.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.1814, allocations: 0.5791 MB / 459.5 MB, free: 38.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1815, allocations: 37.02 kB / 459.6 MB, free: 38.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.1816, allocations: 479.1 kB / 460 MB, free: 38.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.33e-05/0.1817, allocations: 204.8 kB / 460.2 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.1818, allocations: 144.5 kB / 460.4 MB, free: 38.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.1819, allocations: 375.2 kB / 460.7 MB, free: 37.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.1821, allocations: 271.1 kB / 461 MB, free: 37.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.1824, allocations: 0.5083 MB / 461.5 MB, free: 37.47 MB / 410.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.184, allocations: 1.403 MB / 462.9 MB, free: 36.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.184, allocations: 3.094 kB / 462.9 MB, free: 36.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001089/0.1851, allocations: 1.019 MB / 463.9 MB, free: 36.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1851, allocations: 15.56 kB / 463.9 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006636/0.1858, allocations: 0.6878 MB / 464.6 MB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000297/0.1861, allocations: 155.3 kB / 464.8 MB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.1864, allocations: 179.3 kB / 465 MB, free: 36.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.1883, allocations: 4.523 MB / 469.5 MB, free: 32.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.1887, allocations: 42.22 kB / 469.5 MB, free: 32.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.1887, allocations: 29.91 kB / 469.5 MB, free: 32.09 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000395/0.1891, allocations: 320.1 kB / 469.9 MB, free: 31.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.1891, allocations: 71.5 kB / 469.9 MB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006238/0.1898, allocations: 0.6411 MB / 470.6 MB, free: 31.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1898, allocations: 6.5 kB / 470.6 MB, free: 31.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1898, allocations: 15 kB / 470.6 MB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1898, allocations: 6.625 kB / 470.6 MB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.1912, allocations: 1.43 MB / 472 MB, free: 30.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.1912, allocations: 2.906 kB / 472 MB, free: 30.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.1915, allocations: 130 kB / 472.2 MB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1915, allocations: 2.906 kB / 472.2 MB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.1915, allocations: 13.53 kB / 472.2 MB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1915, allocations: 3.031 kB / 472.2 MB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1915, allocations: 6.719 kB / 472.2 MB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006921/0.1922, allocations: 0.9492 MB / 473.1 MB, free: 30.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.1923, allocations: 103.8 kB / 473.2 MB, free: 30.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.1924, allocations: 27.8 kB / 473.3 MB, free: 30.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.1926, allocations: 24 kB / 473.3 MB, free: 30.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.1926, allocations: 42.52 kB / 473.3 MB, free: 30.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.1926, allocations: 14.31 kB / 473.3 MB, free: 30.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002595/0.1929, allocations: 416 kB / 473.7 MB, free: 30.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1929, allocations: 0 / 473.7 MB, free: 30.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005385/0.1934, allocations: 230.8 kB / 474 MB, free: 30.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * 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.0009469/0.1944, allocations: 1.52 MB / 475.5 MB, free: 29.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008388/0.1952, allocations: 0.9906 MB / 476.5 MB, free: 28.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1952, allocations: 3.031 kB / 476.5 MB, free: 28.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.1954, allocations: 250.8 kB / 476.7 MB, free: 28.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.1959, allocations: 158.2 kB / 476.9 MB, free: 28.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005589/0.2015, allocations: 6.871 MB / 483.8 MB, free: 24.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.2018, allocations: 493.3 kB / 484.2 MB, free: 24.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003954/0.2022, allocations: 205.1 kB / 484.4 MB, free: 24.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.2025, allocations: 329.4 kB / 484.8 MB, free: 24.27 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2025, allocations: 1.094 kB / 484.8 MB, free: 24.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.2358, allocations: 17.21 MB / 0.4902 GB, free: 21.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.225/7.46, allocations: 5.828 kB / 0.4902 GB, free: 21.61 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.344533222727478] Failed to read output from testmodel.py, exit status != 0: 7.55102710146457 7.56083689 7.387651546 Calling exit ...