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.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.001116/0.001116, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008989/0.0008989, allocations: 170 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.9225/0.9225, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2329/0.2329, allocations: 29.41 MB / 290.1 MB, free: 2.441 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.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 1.713e-06/1.713e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.706e-05, allocations: 8.953 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.00647/0.006487, allocations: 7.221 MB / 437.4 MB, free: 6.336 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005842/0.01233, allocations: 5.094 MB / 442.5 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004112/0.01274, allocations: 35.75 kB / 442.6 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2037/0.2164, allocations: 5.746 MB / 448.3 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.218, allocations: 0.7024 MB / 449 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009628/0.219, allocations: 476.8 kB / 449.5 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00216/0.2211, allocations: 2.337 MB / 451.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009067/0.222, allocations: 0.9794 MB / 452.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009968/0.223, allocations: 0.8957 MB / 453.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006826/0.2237, allocations: 0.6962 MB / 454.4 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.2238, allocations: 119 kB / 454.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006262/0.2244, allocations: 450 kB / 454.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.2247, allocations: 0.526 MB / 455.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.225, allocations: 415.2 kB / 455.9 MB, free: 42.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.2264, allocations: 1.805 MB / 457.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2264, allocations: 0 / 457.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.2264, allocations: 0 / 457.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.2265, allocations: 6.672 kB / 457.7 MB, free: 41.66 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001878/0.2283, allocations: 1.39 MB / 459.1 MB, free: 40.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.2284, allocations: 17.56 kB / 459.1 MB, free: 40.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.2285, allocations: 131.3 kB / 459.2 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005204/0.229, allocations: 181.5 kB / 459.4 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.2301, allocations: 0.8949 MB / 460.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.2302, allocations: 62.31 kB / 460.4 MB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.2303, allocations: 97.81 kB / 460.5 MB, free: 40.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.2314, allocations: 1.098 MB / 461.6 MB, free: 39.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.2314, allocations: 11.42 kB / 461.6 MB, free: 39.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.021e-05/0.2314, allocations: 31.03 kB / 461.6 MB, free: 39.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.2316, allocations: 71.94 kB / 461.7 MB, free: 39.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008534/0.2324, allocations: 0.83 MB / 462.5 MB, free: 39.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003399/0.2358, allocations: 3.627 MB / 466.1 MB, free: 36.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007804/0.2366, allocations: 0.5087 MB / 466.6 MB, free: 36.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.2369, allocations: 289.1 kB / 466.9 MB, free: 36.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.913e-05/0.237, allocations: 10.84 kB / 466.9 MB, free: 36.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.237, allocations: 38.28 kB / 467 MB, free: 36.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=57): time 5.029e-06/0.237, allocations: 0 / 467 MB, free: 36.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.003297/0.2403, allocations: 2.371 MB / 469.3 MB, free: 35.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.2403, allocations: 113.6 kB / 469.4 MB, free: 35.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006575/0.241, allocations: 0.7272 MB / 470.2 MB, free: 35.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.241, allocations: 37.02 kB / 470.2 MB, free: 34.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.2412, allocations: 0.4893 MB / 470.7 MB, free: 34.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.2414, allocations: 247.4 kB / 470.9 MB, free: 34.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.2415, allocations: 148.2 kB / 471.1 MB, free: 34.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.2416, allocations: 400.5 kB / 471.5 MB, free: 33.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.2419, allocations: 306.6 kB / 471.8 MB, free: 33.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.2423, allocations: 0.5404 MB / 472.3 MB, free: 33.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.2444, allocations: 1.602 MB / 473.9 MB, free: 32.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.2444, allocations: 2.969 kB / 473.9 MB, free: 32.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001326/0.2457, allocations: 1.261 MB / 475.2 MB, free: 32.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.2457, allocations: 9.312 kB / 475.2 MB, free: 32.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.2457, allocations: 6.25 kB / 475.2 MB, free: 32.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005951/0.2463, allocations: 395.2 kB / 475.6 MB, free: 32.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.2466, allocations: 154 kB / 475.7 MB, free: 32.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004544/0.2512, allocations: 5.87 MB / 481.6 MB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004925/0.2517, allocations: 31.42 kB / 481.6 MB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.2517, allocations: 33.22 kB / 481.7 MB, free: 28.16 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: $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.0006357/0.2524, allocations: 360.1 kB / 482 MB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.2525, allocations: 85.62 kB / 482.1 MB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.2537, allocations: 0.8913 MB / 483 MB, free: 27.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.2537, allocations: 10.47 kB / 483 MB, free: 27.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2537, allocations: 3.531 kB / 483 MB, free: 27.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.2537, allocations: 7.125 kB / 483 MB, free: 27.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.256, allocations: 1.794 MB / 484.8 MB, free: 26.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2561, allocations: 1.469 kB / 484.8 MB, free: 26.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.2564, allocations: 120.7 kB / 484.9 MB, free: 26.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003256/0.2567, allocations: 186.5 kB / 485.1 MB, free: 26.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/0.2568, allocations: 31.48 kB / 485.1 MB, free: 26.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.2593, allocations: 5.134 MB / 490.3 MB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.2593, allocations: 4.562 kB / 490.3 MB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.2608, allocations: 1.266 MB / 491.5 MB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.2611, allocations: 132.5 kB / 491.7 MB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.142e-05/0.2611, allocations: 22.92 kB / 491.7 MB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.2613, allocations: 17.17 kB / 491.7 MB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.2614, allocations: 57.66 kB / 491.8 MB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.2615, allocations: 20.42 kB / 491.8 MB, free: 21.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006105/0.2621, allocations: 0.4963 MB / 492.3 MB, free: 21.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2621, allocations: 4 kB / 492.3 MB, free: 21.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009775/0.2631, allocations: 265 kB / 492.5 MB, free: 21.03 MB / 410.7 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.002306/0.2654, allocations: 2.22 MB / 494.8 MB, free: 19.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.267, allocations: 1.098 MB / 495.9 MB, free: 19.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.267, allocations: 0 / 495.9 MB, free: 19.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006007/0.2676, allocations: 0.6947 MB / 496.6 MB, free: 18.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006675/0.2682, allocations: 186.7 kB / 496.7 MB, free: 18.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0094/0.2776, allocations: 8.396 MB / 0.4933 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.2782, allocations: 0.5528 MB / 0.4938 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004448/0.2787, allocations: 159.7 kB / 0.494 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.279, allocations: 357.4 kB / 0.4943 GB, free: 13.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.279, allocations: 0 / 0.4943 GB, free: 13.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0458/0.3248, allocations: 22.82 MB / 0.5166 GB, free: 13.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.42/8.745, allocations: 6.906 kB / 0.5166 GB, free: 13.79 MB / 426.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.927402046509087]