Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.0008595/0.0008595, allocations: 83.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.0009122/0.0009122, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8793/0.8793, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2095/0.2095, allocations: 29.41 MB / 290.1 MB, free: 2.438 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.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.959e-05, allocations: 6.219 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.005926/0.005945, allocations: 7.092 MB / 437.3 MB, free: 6.465 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.009242, allocations: 2.832 MB / 440.2 MB, free: 3.625 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003924/0.009634, allocations: 39.69 kB / 440.2 MB, free: 3.586 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.01071, allocations: 0.7184 MB / 440.9 MB, free: 2.867 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.01191, allocations: 0.7265 MB / 441.6 MB, free: 2.137 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.01256, allocations: 386.9 kB / 442 MB, free: 1.758 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.01399, allocations: 1.391 MB / 443.4 MB, free: 372 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1469/0.1609, allocations: 0.5471 MB / 444 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009946/0.1618, allocations: 0.7586 MB / 444.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005325/0.1624, allocations: 0.588 MB / 445.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.439e-05/0.1625, allocations: 78.16 kB / 445.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005466/0.163, allocations: 0.4957 MB / 445.9 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.1632, allocations: 473.4 kB / 446.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.1634, allocations: 362.7 kB / 446.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008799/0.1643, allocations: 1.447 MB / 448.1 MB, free: 43.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1643, allocations: 6.078 kB / 448.1 MB, free: 43.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1643, allocations: 0 / 448.1 MB, free: 43.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.1643, allocations: 0 / 448.1 MB, free: 43.53 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001222/0.1655, allocations: 1.22 MB / 449.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1656, allocations: 13.58 kB / 449.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.352e-05/0.1657, allocations: 139.4 kB / 449.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006087/0.1663, allocations: 222.7 kB / 449.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007885/0.1671, allocations: 0.6736 MB / 450.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.1671, allocations: 62.16 kB / 450.5 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.1672, allocations: 104 kB / 450.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000878/0.1681, allocations: 1.097 MB / 451.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.1681, allocations: 8.141 kB / 451.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.269e-05/0.1682, allocations: 29 kB / 451.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.959e-05/0.1682, allocations: 79.28 kB / 451.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000805/0.169, allocations: 0.8653 MB / 452.6 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.1716, allocations: 3.651 MB / 456.3 MB, free: 40.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.172, allocations: 339.8 kB / 456.6 MB, free: 40.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.1722, allocations: 259.7 kB / 456.9 MB, free: 40.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.1722, allocations: 6.688 kB / 456.9 MB, free: 40.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.1722, allocations: 41.61 kB / 456.9 MB, free: 40.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 1.553e-06/0.1722, allocations: 0 / 456.9 MB, free: 40.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=51): time 0.001581/0.1738, allocations: 1.671 MB / 458.6 MB, free: 39.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.1738, allocations: 87.41 kB / 458.7 MB, free: 39.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.1742, allocations: 0.5991 MB / 459.3 MB, free: 39.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.1742, allocations: 32.73 kB / 459.3 MB, free: 38.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.1743, allocations: 482.4 kB / 459.8 MB, free: 38.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.1744, allocations: 195.9 kB / 460 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1745, allocations: 135.8 kB / 460.1 MB, free: 38.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.672e-05/0.1746, allocations: 378.3 kB / 460.5 MB, free: 38.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.1748, allocations: 256.8 kB / 460.7 MB, free: 37.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.1751, allocations: 475.1 kB / 461.2 MB, free: 37.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005535/0.1756, allocations: 0.7828 MB / 462 MB, free: 37.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1756, allocations: 3.938 kB / 462 MB, free: 37.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00104/0.1766, allocations: 1.032 MB / 463 MB, free: 36.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1767, allocations: 9.469 kB / 463 MB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006983/0.1774, allocations: 0.7137 MB / 463.7 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.1777, allocations: 229.1 kB / 464 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.178, allocations: 157.4 kB / 464.1 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/0.1804, allocations: 5.308 MB / 469.4 MB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.1807, allocations: 42.03 kB / 469.5 MB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.1807, allocations: 33.03 kB / 469.5 MB, free: 32.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (80): * Single equations (assignments): 77 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002024/0.1809, allocations: 304.7 kB / 469.8 MB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.1809, allocations: 70.55 kB / 469.9 MB, free: 31.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005266/0.1815, allocations: 0.6223 MB / 470.5 MB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1815, allocations: 6.219 kB / 470.5 MB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.1815, allocations: 0 / 470.5 MB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1815, allocations: 8.188 kB / 470.5 MB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.1827, allocations: 1.402 MB / 471.9 MB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1827, allocations: 0 / 471.9 MB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.183, allocations: 125.8 kB / 472 MB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.183, allocations: 7.062 kB / 472 MB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.183, allocations: 18.05 kB / 472 MB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.183, allocations: 5.094 kB / 472 MB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.183, allocations: 3.531 kB / 472 MB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006704/0.1837, allocations: 0.9351 MB / 473 MB, free: 30.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.1838, allocations: 110.8 kB / 473.1 MB, free: 30.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.1839, allocations: 13.94 kB / 473.1 MB, free: 30.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.184, allocations: 26.36 kB / 473.1 MB, free: 30.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.1841, allocations: 34.69 kB / 473.2 MB, free: 30.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.1841, allocations: 19.88 kB / 473.2 MB, free: 30.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002698/0.1844, allocations: 421.5 kB / 473.6 MB, free: 30.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1844, allocations: 3.938 kB / 473.6 MB, free: 30.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004254/0.1848, allocations: 235.2 kB / 473.8 MB, free: 30.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 53 * 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.0008667/0.1857, allocations: 1.511 MB / 475.3 MB, free: 29.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008003/0.1865, allocations: 1.012 MB / 476.4 MB, free: 28.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1865, allocations: 1.312 kB / 476.4 MB, free: 28.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.1867, allocations: 249.4 kB / 476.6 MB, free: 28.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.1871, allocations: 162 kB / 476.8 MB, free: 28.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005352/0.1924, allocations: 6.987 MB / 483.7 MB, free: 24.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.1928, allocations: 489.8 kB / 484.2 MB, free: 24.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003133/0.1931, allocations: 191 kB / 484.4 MB, free: 24.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.1934, allocations: 327.9 kB / 484.7 MB, free: 24.35 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1934, allocations: 0 / 484.7 MB, free: 24.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/0.2312, allocations: 17.82 MB / 0.4908 GB, free: 21.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.546, allocations: 1.375 kB / 0.4908 GB, free: 21.43 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.44649569131434]