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.0007651/0.0007651, allocations: 79.69 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.0008111/0.0008111, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9014/0.9014, 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.2399/0.2399, allocations: 29.4 MB / 290.1 MB, free: 2.473 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.473e-06/1.473e-06, allocations: 0 / 430.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.907e-05, allocations: 2.281 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.005645/0.005664, allocations: 7.053 MB / 437.3 MB, free: 6.535 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003342/0.009006, allocations: 2.835 MB / 440.1 MB, free: 3.691 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003251/0.009332, allocations: 35.69 kB / 440.1 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.01046, allocations: 0.7505 MB / 440.9 MB, free: 2.902 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.01177, allocations: 0.7226 MB / 441.6 MB, free: 2.176 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007155/0.01248, allocations: 402.8 kB / 442 MB, free: 1.781 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.01361, allocations: 1.363 MB / 443.4 MB, free: 424 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1632/0.1769, allocations: 0.5515 MB / 443.9 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.1779, allocations: 0.7557 MB / 444.7 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006333/0.1786, allocations: 0.5936 MB / 445.3 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.616e-05/0.1786, allocations: 75.91 kB / 445.3 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006723/0.1793, allocations: 0.5007 MB / 445.8 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.1796, allocations: 485.2 kB / 446.3 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.1798, allocations: 358.8 kB / 446.7 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009798/0.1808, allocations: 1.454 MB / 448.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1808, allocations: 0 / 448.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1808, allocations: 0 / 448.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1808, allocations: 0 / 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.001333/0.1821, allocations: 1.21 MB / 449.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1822, allocations: 13.67 kB / 449.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.1823, allocations: 143.4 kB / 449.5 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007084/0.183, allocations: 218.1 kB / 449.7 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/0.1838, allocations: 0.6552 MB / 450.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.1838, allocations: 62.11 kB / 450.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.184, allocations: 98.94 kB / 450.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009701/0.185, allocations: 1.114 MB / 451.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.185, allocations: 9.5 kB / 451.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.185, allocations: 33.81 kB / 451.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.566e-05/0.1851, allocations: 66.83 kB / 451.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008487/0.186, allocations: 0.8856 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.002943/0.1889, allocations: 3.68 MB / 456.3 MB, free: 40.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.1893, allocations: 319.3 kB / 456.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.1896, allocations: 254.3 kB / 456.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.1896, allocations: 9.516 kB / 456.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.1896, allocations: 37.81 kB / 456.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.284e-06/0.1896, allocations: 3.938 kB / 456.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.002381/0.192, allocations: 1.938 MB / 458.8 MB, free: 39.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.192, allocations: 87.58 kB / 458.9 MB, free: 39.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.1924, allocations: 0.5776 MB / 459.5 MB, free: 38.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1924, allocations: 33.02 kB / 459.5 MB, free: 38.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.1926, allocations: 485.5 kB / 460 MB, free: 38.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.226e-05/0.1927, allocations: 199.2 kB / 460.2 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.1928, allocations: 144 kB / 460.4 MB, free: 38.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.1929, allocations: 386.1 kB / 460.7 MB, free: 37.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.1931, allocations: 270.5 kB / 461 MB, free: 37.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.1934, allocations: 0.5018 MB / 461.5 MB, free: 37.49 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.001632/0.195, allocations: 1.406 MB / 462.9 MB, free: 36.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.195, allocations: 0 / 462.9 MB, free: 36.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001054/0.1961, allocations: 1.02 MB / 463.9 MB, free: 36.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1961, allocations: 14.81 kB / 463.9 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006563/0.1968, allocations: 0.6775 MB / 464.6 MB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/0.1971, allocations: 159.7 kB / 464.8 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.1974, allocations: 179.6 kB / 464.9 MB, free: 36.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.1992, allocations: 4.526 MB / 469.5 MB, free: 32.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.1995, allocations: 37.84 kB / 469.5 MB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.1995, allocations: 32.62 kB / 469.5 MB, free: 32.11 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.0003469/0.1999, allocations: 324.7 kB / 469.9 MB, free: 31.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.1999, allocations: 71.31 kB / 469.9 MB, free: 31.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005916/0.2005, allocations: 0.6416 MB / 470.6 MB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2005, allocations: 6.531 kB / 470.6 MB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.2005, allocations: 11 kB / 470.6 MB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2005, allocations: 3.234 kB / 470.6 MB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.2019, allocations: 1.435 MB / 472 MB, free: 30.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2019, allocations: 0 / 472 MB, free: 30.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.2022, allocations: 125.7 kB / 472.1 MB, free: 30.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.2022, allocations: 3.062 kB / 472.1 MB, free: 30.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.2022, allocations: 17.83 kB / 472.2 MB, free: 30.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2022, allocations: 5.938 kB / 472.2 MB, free: 30.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2022, allocations: 0 / 472.2 MB, free: 30.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006777/0.2029, allocations: 0.9537 MB / 473.1 MB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.203, allocations: 107.4 kB / 473.2 MB, free: 30.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.2031, allocations: 21.23 kB / 473.3 MB, free: 30.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.2032, allocations: 24.33 kB / 473.3 MB, free: 30.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.2033, allocations: 41.66 kB / 473.3 MB, free: 30.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.2033, allocations: 16.03 kB / 473.3 MB, free: 30.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002583/0.2036, allocations: 412.8 kB / 473.7 MB, free: 30.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2036, allocations: 0 / 473.7 MB, free: 30.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005615/0.2041, allocations: 231.4 kB / 474 MB, free: 30.14 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.0009721/0.2051, allocations: 1.532 MB / 475.5 MB, free: 29.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008963/0.206, allocations: 0.9862 MB / 476.5 MB, free: 28.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.206, allocations: 3.031 kB / 476.5 MB, free: 28.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.2062, allocations: 250.1 kB / 476.7 MB, free: 28.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.2067, allocations: 157.9 kB / 476.9 MB, free: 28.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005711/0.2124, allocations: 6.875 MB / 483.8 MB, free: 24.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.2128, allocations: 494.2 kB / 484.2 MB, free: 24.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003624/0.2131, allocations: 202.9 kB / 484.4 MB, free: 24.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.2134, allocations: 326 kB / 484.8 MB, free: 24.3 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2134, allocations: 0 / 484.8 MB, free: 24.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03913/0.2525, allocations: 17.21 MB / 0.4902 GB, free: 21.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/7.545, allocations: 7.703 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.411674446426332] Failed to read output from testmodel.py, exit status != 0: 7.63463949598372 7.6442344349999996 7.461939336 Calling exit ...