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.001341/0.001341, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 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.001443/0.001443, allocations: 212.3 kB / 23.74 MB, free: 4.688 MB / 14.72 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 1.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.184/0.184, allocations: 38.53 MB / 352.5 MB, free: 12.53 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 66.41 kB / 492.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3232, allocations: 62.46 MB / 0.542 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.009973/0.3332, allocations: 7.852 MB / 0.5497 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009667/0.3429, allocations: 5.62 MB / 0.5552 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006972/0.3436, allocations: 37.97 kB / 0.5552 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01357/0.3571, allocations: 5.837 MB / 0.5609 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.3593, allocations: 0.6767 MB / 0.5616 GB, free: 444 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.3607, allocations: 474.4 kB / 0.562 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003723/0.3644, allocations: 2.303 MB / 0.5643 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/0.366, allocations: 0.9829 MB / 0.5652 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.3673, allocations: 0.6656 MB / 0.5659 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.3689, allocations: 0.798 MB / 0.5666 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003033/0.3692, allocations: 116 kB / 0.5668 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.3702, allocations: 471.4 kB / 0.5672 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007307/0.371, allocations: 0.5064 MB / 0.5677 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009741/0.3719, allocations: 0.5988 MB / 0.5683 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002524/0.3745, allocations: 1.783 MB / 0.57 GB, free: 7.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3745, allocations: 0 / 0.57 GB, free: 7.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3745, allocations: 4 kB / 0.57 GB, free: 7.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.513e-05/0.3745, allocations: 0 / 0.57 GB, free: 7.707 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.00383/0.3784, allocations: 1.398 MB / 0.5714 GB, free: 6.273 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.3784, allocations: 11.98 kB / 0.5714 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002716/0.3787, allocations: 139.3 kB / 0.5715 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009205/0.3796, allocations: 176.1 kB / 0.5717 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.3818, allocations: 0.9078 MB / 0.5726 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/0.3819, allocations: 58 kB / 0.5727 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002316/0.3821, allocations: 95.86 kB / 0.5727 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.3841, allocations: 1.071 MB / 0.5738 GB, free: 3.742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-05/0.3841, allocations: 4 kB / 0.5738 GB, free: 3.738 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.038e-05/0.3842, allocations: 31.98 kB / 0.5738 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002328/0.3844, allocations: 73.95 kB / 0.5739 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.3862, allocations: 0.8314 MB / 0.5747 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006833/0.393, allocations: 3.899 MB / 0.5785 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.3941, allocations: 0.5222 MB / 0.579 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004817/0.3946, allocations: 291.4 kB / 0.5793 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.097e-05/0.3946, allocations: 12.42 kB / 0.5793 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.3947, allocations: 47 kB / 0.5794 GB, free: 13.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.545e-06/0.3947, allocations: 4 kB / 0.5794 GB, free: 13.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005009/0.3997, allocations: 2.382 MB / 0.5817 GB, free: 11.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.3998, allocations: 111.5 kB / 0.5818 GB, free: 11.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.4008, allocations: 0.7114 MB / 0.5825 GB, free: 10.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.685e-05/0.4008, allocations: 37.7 kB / 0.5825 GB, free: 10.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004198/0.4012, allocations: 492.2 kB / 0.583 GB, free: 10.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.4015, allocations: 253.8 kB / 0.5832 GB, free: 9.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.4018, allocations: 150.6 kB / 0.5834 GB, free: 9.617 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.402, allocations: 398.8 kB / 0.5838 GB, free: 9.219 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.4025, allocations: 305.8 kB / 0.5841 GB, free: 8.918 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007184/0.4032, allocations: 0.5149 MB / 0.5846 GB, free: 8.312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004059/0.4073, allocations: 1.597 MB / 0.5861 GB, free: 6.633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.4073, allocations: 4 kB / 0.5861 GB, free: 6.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002509/0.4098, allocations: 1.263 MB / 0.5874 GB, free: 5.352 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4098, allocations: 11.92 kB / 0.5874 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.4099, allocations: 8.25 kB / 0.5874 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.411, allocations: 401.3 kB / 0.5878 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.4116, allocations: 147.8 kB / 0.5879 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008692/0.4203, allocations: 6.029 MB / 0.5938 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005379/0.4208, allocations: 31.94 kB / 0.5938 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.83e-05/0.4209, allocations: 39.94 kB / 0.5939 GB, free: 14.45 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.0006323/0.4215, allocations: 353.5 kB / 0.5942 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.4217, allocations: 83.48 kB / 0.5943 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.4235, allocations: 0.8941 MB / 0.5951 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.4235, allocations: 4 kB / 0.5951 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.4235, allocations: 4 kB / 0.5951 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.4235, allocations: 3.984 kB / 0.5952 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003912/0.4275, allocations: 2 MB / 0.5971 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.4275, allocations: 4 kB / 0.5971 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006525/0.4281, allocations: 119.8 kB / 0.5972 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005875/0.4287, allocations: 190.6 kB / 0.5974 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/0.4288, allocations: 27.98 kB / 0.5974 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005476/0.4342, allocations: 5.158 MB / 0.6025 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4343, allocations: 4.031 kB / 0.6025 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.4364, allocations: 1.27 MB / 0.6037 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.4369, allocations: 143.3 kB / 0.6038 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.437, allocations: 20 kB / 0.6039 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.4374, allocations: 19.98 kB / 0.6039 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.4375, allocations: 48.41 kB / 0.6039 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/0.4376, allocations: 23.94 kB / 0.604 GB, free: 3.566 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000832/0.4384, allocations: 0.499 MB / 0.6044 GB, free: 3.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4384, allocations: 0 / 0.6044 GB, free: 3.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001178/0.4396, allocations: 263.9 kB / 0.6047 GB, free: 2.812 MB / 446.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.004156/0.4437, allocations: 2.191 MB / 0.6068 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.446, allocations: 1.102 MB / 0.6079 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.446, allocations: 4.109 kB / 0.6079 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.4471, allocations: 0.7068 MB / 0.6086 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.4481, allocations: 174.2 kB / 0.6088 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/0.4635, allocations: 8.638 MB / 0.6172 GB, free: 5.715 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.4646, allocations: 1.154 MB / 0.6183 GB, free: 4.527 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000601/0.4652, allocations: 162.6 kB / 0.6185 GB, free: 4.363 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006551/0.4659, allocations: 351.3 kB / 0.6188 GB, free: 4.02 MB / 462.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4659, allocations: 0 / 0.6188 GB, free: 4.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07124/0.5371, allocations: 22.71 MB / 0.641 GB, free: 13.42 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.08/16.61, allocations: 15.19 kB / 0.641 GB, free: 13.41 MB / 494.1 MB " [Timeout remaining time 643] (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/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.mat","/var/lib/jenkins1/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: 19.873318603960797]