Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.0007687/0.0007687, 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.0007607/0.0007607, allocations: 174.3 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.8693/0.8693, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.2074/0.2074, allocations: 29.41 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.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.799e-05, allocations: 6.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.008089/0.008107, allocations: 8.922 MB / 439.1 MB, free: 4.629 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00373/0.01184, allocations: 3.365 MB / 442.5 MB, free: 1.254 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007094/0.01255, allocations: 43.62 kB / 442.6 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001818/0.01436, allocations: 1.088 MB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1529/0.1672, allocations: 0.9178 MB / 444.6 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009453/0.1682, allocations: 0.5015 MB / 445.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.1695, allocations: 1.853 MB / 446.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006902/0.1702, allocations: 0.737 MB / 447.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007927/0.171, allocations: 1.043 MB / 448.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006667/0.1716, allocations: 0.8461 MB / 449.5 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.375e-05/0.1717, allocations: 110.2 kB / 449.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006456/0.1724, allocations: 0.5939 MB / 450.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.1727, allocations: 0.6775 MB / 450.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.173, allocations: 499 kB / 451.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.1742, allocations: 1.936 MB / 453.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1742, allocations: 3.25 kB / 453.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1742, allocations: 2.219 kB / 453.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.1742, allocations: 1.5 kB / 453.3 MB, free: 42.56 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.001672/0.1759, allocations: 1.585 MB / 454.9 MB, free: 41.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1759, allocations: 13.67 kB / 454.9 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.176, allocations: 174 kB / 455.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008827/0.1769, allocations: 321.1 kB / 455.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009968/0.1779, allocations: 0.8784 MB / 456.3 MB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.1779, allocations: 81.95 kB / 456.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.1781, allocations: 137.1 kB / 456.5 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.1793, allocations: 1.491 MB / 458 MB, free: 40.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.1793, allocations: 13.95 kB / 458 MB, free: 40.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.903e-05/0.1794, allocations: 45.3 kB / 458.1 MB, free: 40.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/0.1795, allocations: 95.19 kB / 458.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.1807, allocations: 1.248 MB / 459.4 MB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003764/0.1844, allocations: 4.868 MB / 464.3 MB, free: 36.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.185, allocations: 0.5586 MB / 464.8 MB, free: 36.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.1853, allocations: 377.9 kB / 465.2 MB, free: 36.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.1853, allocations: 14.06 kB / 465.2 MB, free: 36.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.1853, allocations: 41.69 kB / 465.3 MB, free: 36.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 3.477e-06/0.1853, allocations: 6.859 kB / 465.3 MB, free: 36.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.003737/0.1891, allocations: 3.209 MB / 468.5 MB, free: 35.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.1891, allocations: 84.11 kB / 468.6 MB, free: 35.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004845/0.1896, allocations: 0.7456 MB / 469.3 MB, free: 34.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.1896, allocations: 36.64 kB / 469.3 MB, free: 34.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.1898, allocations: 0.605 MB / 469.9 MB, free: 34.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.851e-05/0.1899, allocations: 279.6 kB / 470.2 MB, free: 34.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.19, allocations: 179.4 kB / 470.4 MB, free: 34.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.188e-05/0.1901, allocations: 406.4 kB / 470.8 MB, free: 33.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.1905, allocations: 396.9 kB / 471.2 MB, free: 33.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.1909, allocations: 0.659 MB / 471.8 MB, free: 33.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000789/0.1917, allocations: 1.143 MB / 473 MB, free: 32.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1917, allocations: 2.969 kB / 473 MB, free: 32.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001763/0.1934, allocations: 1.69 MB / 474.7 MB, free: 31.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.1934, allocations: 12.66 kB / 474.7 MB, free: 31.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001372/0.1948, allocations: 1.287 MB / 476 MB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009402/0.1958, allocations: 0.5729 MB / 476.5 MB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.1961, allocations: 173.2 kB / 476.7 MB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006216/0.2023, allocations: 9.758 MB / 486.5 MB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.2028, allocations: 49.52 kB / 486.5 MB, free: 24.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/0.2028, allocations: 43.88 kB / 486.6 MB, free: 24.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004395/0.2033, allocations: 387 kB / 486.9 MB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/0.2034, allocations: 93.33 kB / 487 MB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.2047, allocations: 1.246 MB / 488.3 MB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2047, allocations: 8.25 kB / 488.3 MB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2047, allocations: 8.062 kB / 488.3 MB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.2047, allocations: 4.844 kB / 488.3 MB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/0.2072, allocations: 2.278 MB / 490.6 MB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2072, allocations: 6.109 kB / 490.6 MB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.2074, allocations: 112.9 kB / 490.7 MB, free: 22.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006354/0.2081, allocations: 374.5 kB / 491.1 MB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.2081, allocations: 26.14 kB / 491.1 MB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00401/0.2121, allocations: 8.724 MB / 499.8 MB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2121, allocations: 2.5 kB / 499.8 MB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.214, allocations: 1.675 MB / 0.4897 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/0.2143, allocations: 154.7 kB / 0.4899 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.2143, allocations: 25.33 kB / 0.4899 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.2146, allocations: 30.86 kB / 0.4899 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.2147, allocations: 68.05 kB / 0.49 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.2148, allocations: 22.28 kB / 0.49 GB, free: 14.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005466/0.2153, allocations: 0.5054 MB / 0.4905 GB, free: 13.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2153, allocations: 0 / 0.4905 GB, free: 13.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001133/0.2164, allocations: 365.7 kB / 0.4909 GB, free: 13.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.phi,turboGrp.w,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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002097/0.2185, allocations: 2.251 MB / 0.4931 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.2202, allocations: 1.53 MB / 0.4946 GB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2202, allocations: 1.344 kB / 0.4946 GB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008371/0.221, allocations: 1.071 MB / 0.4956 GB, free: 11.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/0.2217, allocations: 218.3 kB / 0.4958 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009887/0.2316, allocations: 9.761 MB / 0.5053 GB, free: 6.098 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.2321, allocations: 0.6637 MB / 0.506 GB, free: 5.906 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004451/0.2326, allocations: 211.7 kB / 0.5062 GB, free: 5.863 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.2329, allocations: 446.4 kB / 0.5066 GB, free: 5.465 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2329, allocations: 0 / 0.5066 GB, free: 5.465 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04267/0.2756, allocations: 26.34 MB / 0.5323 GB, free: 12.47 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/8.627, allocations: 3.094 kB / 0.5323 GB, free: 12.47 MB / 442.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.449769590981305] Failed to read output from testmodel.py, exit status != 0: 8.730941949412227 8.738469506 8.562294573 Calling exit ...