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.001673/0.001673, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001808/0.001808, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.1943/0.1943, allocations: 38.54 MB / 353.2 MB, free: 12.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",fmuType="cs",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.001938/0.001938, allocations: 55.91 kB / 493.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3365, allocations: 62.48 MB / 0.5428 GB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01036/0.3469, allocations: 7.851 MB / 0.5504 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.3573, allocations: 5.62 MB / 0.5559 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009055/0.3582, allocations: 35.19 kB / 0.556 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01359/0.3718, allocations: 5.832 MB / 0.5617 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.3741, allocations: 0.6805 MB / 0.5623 GB, free: 488 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.3755, allocations: 474.9 kB / 0.5628 GB, free: 16 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00407/0.3796, allocations: 2.299 MB / 0.565 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.3813, allocations: 0.9868 MB / 0.566 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.3829, allocations: 0.6656 MB / 0.5666 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.3847, allocations: 0.798 MB / 0.5674 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004996/0.3852, allocations: 116 kB / 0.5675 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.3868, allocations: 471.4 kB / 0.568 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008216/0.3876, allocations: 0.5064 MB / 0.5685 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.3889, allocations: 0.5989 MB / 0.5691 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003119/0.392, allocations: 1.779 MB / 0.5708 GB, free: 7.758 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.392, allocations: 4 kB / 0.5708 GB, free: 7.754 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.392, allocations: 4 kB / 0.5708 GB, free: 7.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.012e-05/0.392, allocations: 0 / 0.5708 GB, free: 7.75 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.003298/0.3953, allocations: 1.402 MB / 0.5722 GB, free: 6.312 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.3954, allocations: 11.98 kB / 0.5722 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.547e-05/0.3954, allocations: 26.19 kB / 0.5722 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.3956, allocations: 131.3 kB / 0.5723 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008218/0.3964, allocations: 176.1 kB / 0.5725 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.3983, allocations: 0.9038 MB / 0.5734 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.752e-05/0.3984, allocations: 58 kB / 0.5734 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.3986, allocations: 91.92 kB / 0.5735 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.4003, allocations: 1.071 MB / 0.5746 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.226e-05/0.4004, allocations: 11.94 kB / 0.5746 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.102e-05/0.4004, allocations: 28 kB / 0.5746 GB, free: 3.734 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002288/0.4007, allocations: 73.95 kB / 0.5747 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.4021, allocations: 0.8353 MB / 0.5755 GB, free: 2.824 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006419/0.4085, allocations: 3.906 MB / 0.5793 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.4096, allocations: 0.5145 MB / 0.5798 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005436/0.4102, allocations: 295.3 kB / 0.5801 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.708e-05/0.4102, allocations: 12.48 kB / 0.5801 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.4103, allocations: 47.06 kB / 0.5802 GB, free: 13.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.535e-06/0.4103, allocations: 0 / 0.5802 GB, free: 13.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005208/0.4155, allocations: 2.374 MB / 0.5825 GB, free: 11.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.377e-05/0.4156, allocations: 119.4 kB / 0.5826 GB, free: 11.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009719/0.4165, allocations: 0.7114 MB / 0.5833 GB, free: 10.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.4166, allocations: 33.7 kB / 0.5833 GB, free: 10.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.417, allocations: 492.2 kB / 0.5838 GB, free: 10.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.4172, allocations: 249.8 kB / 0.584 GB, free: 9.801 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.4175, allocations: 158.6 kB / 0.5842 GB, free: 9.641 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002471/0.4177, allocations: 394.8 kB / 0.5845 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000534/0.4183, allocations: 305.8 kB / 0.5848 GB, free: 8.945 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/0.419, allocations: 0.511 MB / 0.5853 GB, free: 8.344 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004007/0.423, allocations: 1.601 MB / 0.5869 GB, free: 6.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.423, allocations: 4 kB / 0.5869 GB, free: 6.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002615/0.4257, allocations: 1.255 MB / 0.5881 GB, free: 5.387 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.4257, allocations: 14.94 kB / 0.5881 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.4257, allocations: 15.98 kB / 0.5882 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.4269, allocations: 401.3 kB / 0.5885 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/0.4274, allocations: 155.7 kB / 0.5887 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009205/0.4366, allocations: 6.019 MB / 0.5946 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/0.4373, allocations: 31.94 kB / 0.5946 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.4374, allocations: 32 kB / 0.5946 GB, free: 14.48 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.0007467/0.4382, allocations: 357.5 kB / 0.595 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.4384, allocations: 91.56 kB / 0.5951 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.4403, allocations: 0.8941 MB / 0.5959 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.4403, allocations: 7.938 kB / 0.5959 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.4403, allocations: 4 kB / 0.5959 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.4403, allocations: 3.984 kB / 0.5959 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003923/0.4443, allocations: 1.996 MB / 0.5979 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.4443, allocations: 4 kB / 0.5979 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006439/0.4449, allocations: 120 kB / 0.598 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000679/0.4456, allocations: 186.3 kB / 0.5982 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.467e-05/0.4457, allocations: 19.98 kB / 0.5982 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007138/0.4528, allocations: 5.178 MB / 0.6033 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4528, allocations: 0 / 0.6033 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.4554, allocations: 1.27 MB / 0.6045 GB, free: 3.832 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/0.4558, allocations: 135.4 kB / 0.6046 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.456, allocations: 16 kB / 0.6047 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/0.4564, allocations: 19.98 kB / 0.6047 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.4565, allocations: 56.34 kB / 0.6047 GB, free: 3.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/0.4566, allocations: 19.98 kB / 0.6047 GB, free: 3.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009218/0.4575, allocations: 0.499 MB / 0.6052 GB, free: 3.098 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4575, allocations: 4 kB / 0.6052 GB, free: 3.094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001181/0.4587, allocations: 259.9 kB / 0.6055 GB, free: 2.84 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.004209/0.4629, allocations: 2.194 MB / 0.6076 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002577/0.4655, allocations: 1.102 MB / 0.6087 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.4655, allocations: 0 / 0.6087 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.4669, allocations: 0.707 MB / 0.6094 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.468, allocations: 177 kB / 0.6096 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.4831, allocations: 8.641 MB / 0.618 GB, free: 5.734 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.4845, allocations: 1.157 MB / 0.6191 GB, free: 4.543 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006251/0.4851, allocations: 162.6 kB / 0.6193 GB, free: 4.379 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/0.4857, allocations: 351.3 kB / 0.6196 GB, free: 4.035 MB / 462.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4857, allocations: 0 / 0.6196 GB, free: 4.035 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06423/0.5499, allocations: 22.74 MB / 0.6418 GB, free: 13.42 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.78/17.33, allocations: 8 kB / 0.6418 GB, free: 13.41 MB / 494.1 MB " [Timeout remaining time 642] (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: 20.625054335047025]