Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 119.9 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 189.2 kB / 20.73 MB, free: 2.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1989/0.1989, allocations: 38.51 MB / 342.5 MB, free: 8.078 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 68.56 kB / 478.6 MB, free: 33.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1225, allocations: 61.24 MB / 0.5272 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01023/0.1327, allocations: 7.702 MB / 0.5347 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009214/0.142, allocations: 5.41 MB / 0.54 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007432/0.1427, allocations: 27.88 kB / 0.54 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01119/0.1539, allocations: 5.204 MB / 0.5451 GB, free: 15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.156, allocations: 0.6416 MB / 0.5458 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.1573, allocations: 459.1 kB / 0.5462 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003639/0.1609, allocations: 2.21 MB / 0.5484 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.1625, allocations: 0.9479 MB / 0.5493 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.1636, allocations: 0.6462 MB / 0.5499 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.1647, allocations: 0.7903 MB / 0.5507 GB, free: 9.277 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.1649, allocations: 116 kB / 0.5508 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000732/0.1656, allocations: 407.5 kB / 0.5512 GB, free: 8.766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005024/0.1662, allocations: 0.5064 MB / 0.5517 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006506/0.1668, allocations: 0.6027 MB / 0.5523 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.169, allocations: 1.713 MB / 0.5539 GB, free: 5.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.169, allocations: 0 / 0.5539 GB, free: 5.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.169, allocations: 0 / 0.5539 GB, free: 5.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.1691, allocations: 0 / 0.5539 GB, free: 5.934 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002927/0.172, allocations: 1.454 MB / 0.5554 GB, free: 4.426 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.172, allocations: 11.89 kB / 0.5554 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/0.1722, allocations: 131.3 kB / 0.5555 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007684/0.173, allocations: 164.1 kB / 0.5556 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/0.1751, allocations: 0.9761 MB / 0.5566 GB, free: 3.094 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-05/0.1751, allocations: 61.98 kB / 0.5567 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.1754, allocations: 87.98 kB / 0.5567 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.1771, allocations: 1.067 MB / 0.5578 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.1772, allocations: 11.95 kB / 0.5578 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.846e-05/0.1773, allocations: 28 kB / 0.5578 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00022/0.1775, allocations: 73.95 kB / 0.5579 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.1789, allocations: 0.8392 MB / 0.5587 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006282/0.1852, allocations: 3.986 MB / 0.5626 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.1863, allocations: 0.5785 MB / 0.5632 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/0.1868, allocations: 311.2 kB / 0.5635 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.568e-05/0.1868, allocations: 8.562 kB / 0.5635 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.1869, allocations: 39.06 kB / 0.5635 GB, free: 11.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.485e-06/0.1869, allocations: 4 kB / 0.5635 GB, free: 11.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005198/0.1921, allocations: 2.601 MB / 0.5661 GB, free: 9.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.1922, allocations: 107.4 kB / 0.5662 GB, free: 8.906 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.1932, allocations: 0.6998 MB / 0.5668 GB, free: 8.195 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.617e-05/0.1933, allocations: 41.7 kB / 0.5669 GB, free: 8.148 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.1937, allocations: 492.2 kB / 0.5674 GB, free: 7.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.194, allocations: 253.8 kB / 0.5676 GB, free: 7.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.1942, allocations: 150.6 kB / 0.5677 GB, free: 7.254 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.1945, allocations: 386.8 kB / 0.5681 GB, free: 6.867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005171/0.195, allocations: 309.8 kB / 0.5684 GB, free: 6.566 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000715/0.1957, allocations: 0.5271 MB / 0.5689 GB, free: 5.949 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/0.1998, allocations: 1.664 MB / 0.5705 GB, free: 4.184 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1998, allocations: 0 / 0.5705 GB, free: 4.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002499/0.2023, allocations: 1.267 MB / 0.5718 GB, free: 2.902 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.2023, allocations: 8 kB / 0.5718 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.2024, allocations: 4 kB / 0.5718 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.2035, allocations: 409.5 kB / 0.5722 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/0.204, allocations: 143.8 kB / 0.5723 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00846/0.2124, allocations: 6.251 MB / 0.5784 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/0.213, allocations: 31.94 kB / 0.5785 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.2131, allocations: 40 kB / 0.5785 GB, free: 11.73 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.windGen.WT.turbine.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0006214/0.2137, allocations: 360.7 kB / 0.5788 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.2138, allocations: 83.48 kB / 0.5789 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.2156, allocations: 0.8878 MB / 0.5798 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2156, allocations: 8 kB / 0.5798 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.2156, allocations: 4 kB / 0.5798 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.2156, allocations: 3.984 kB / 0.5798 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003507/0.2191, allocations: 2.006 MB / 0.5818 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.2191, allocations: 4 kB / 0.5818 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/0.2197, allocations: 119.9 kB / 0.5819 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005423/0.2203, allocations: 190.5 kB / 0.5821 GB, free: 7.938 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/0.2203, allocations: 19.98 kB / 0.5821 GB, free: 7.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005244/0.2256, allocations: 5.492 MB / 0.5874 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.2256, allocations: 0 / 0.5874 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.2278, allocations: 1.267 MB / 0.5887 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/0.2282, allocations: 216.4 kB / 0.5889 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.2283, allocations: 31.92 kB / 0.5889 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.2288, allocations: 12 kB / 0.5889 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.2289, allocations: 52.48 kB / 0.589 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.2289, allocations: 16 kB / 0.589 GB, free: 360 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007113/0.2296, allocations: 499 kB / 0.5895 GB, free: 15.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2296, allocations: 0 / 0.5895 GB, free: 15.87 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001062/0.2307, allocations: 248 kB / 0.5897 GB, free: 15.62 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.genRotor.phi,windGen.WT.genRotor.w,windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * 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): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,5,100.0%), (1,5,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.003667/0.2344, allocations: 2.134 MB / 0.5918 GB, free: 13.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002173/0.2365, allocations: 1.094 MB / 0.5929 GB, free: 12.47 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.2366, allocations: 4 kB / 0.5929 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.2376, allocations: 0.6996 MB / 0.5935 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.2387, allocations: 178.8 kB / 0.5937 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/0.2533, allocations: 8.576 MB / 0.6021 GB, free: 2.648 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.2544, allocations: 1.15 MB / 0.6032 GB, free: 1.473 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000614/0.255, allocations: 154.6 kB / 0.6034 GB, free: 1.316 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/0.2555, allocations: 351.3 kB / 0.6037 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of SimCode: time 1.833e-06/0.2555, allocations: 0 / 0.6037 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3174/0.5729, allocations: 21.54 MB / 0.6247 GB, free: 66.69 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/15.82, allocations: 7.938 kB / 0.6247 GB, free: 66.68 MB / 462.1 MB " [Timeout remaining time 644] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine_fmu --startTime=0 --stopTime=60 --stepSize=0.06 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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: 19.113035269081593]