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.001897/0.001897, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002237/0.002237, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1869/0.1869, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.002218/0.002218, allocations: 71.89 kB / 492.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3301, allocations: 62.46 MB / 0.5419 GB, free: 224 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01036/0.3404, allocations: 7.249 MB / 0.549 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009883/0.3503, allocations: 5.108 MB / 0.554 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009167/0.3512, allocations: 37.69 kB / 0.5541 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01253/0.3638, allocations: 5.696 MB / 0.5596 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.3661, allocations: 0.6922 MB / 0.5603 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.3674, allocations: 459.1 kB / 0.5607 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003838/0.3712, allocations: 2.299 MB / 0.563 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.3728, allocations: 0.9673 MB / 0.5639 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.3741, allocations: 0.6617 MB / 0.5646 GB, free: 13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.3754, allocations: 0.755 MB / 0.5653 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.3756, allocations: 116 kB / 0.5654 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009605/0.3766, allocations: 447.5 kB / 0.5658 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005285/0.3771, allocations: 0.5064 MB / 0.5663 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006169/0.3777, allocations: 497.8 kB / 0.5668 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.38, allocations: 1.791 MB / 0.5686 GB, free: 8.895 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.38, allocations: 0 / 0.5686 GB, free: 8.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.38, allocations: 0 / 0.5686 GB, free: 8.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.695e-05/0.3801, allocations: 0 / 0.5686 GB, free: 8.895 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.002922/0.383, allocations: 1.406 MB / 0.5699 GB, free: 7.453 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.383, allocations: 11.98 kB / 0.5699 GB, free: 7.441 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.3832, allocations: 131.3 kB / 0.5701 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008117/0.384, allocations: 176.1 kB / 0.5702 GB, free: 7.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/0.386, allocations: 0.8963 MB / 0.5711 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/0.3861, allocations: 61.98 kB / 0.5712 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.3863, allocations: 91.95 kB / 0.5713 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.3881, allocations: 1.096 MB / 0.5723 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.3882, allocations: 4 kB / 0.5723 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.625e-05/0.3883, allocations: 32 kB / 0.5724 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002302/0.3885, allocations: 73.95 kB / 0.5724 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.39, allocations: 0.8353 MB / 0.5732 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006056/0.396, allocations: 3.626 MB / 0.5768 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.3971, allocations: 0.5189 MB / 0.5773 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/0.3976, allocations: 288.8 kB / 0.5776 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.397e-05/0.3976, allocations: 8.5 kB / 0.5776 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.3976, allocations: 43 kB / 0.5776 GB, free: 15.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.324e-06/0.3976, allocations: 0 / 0.5776 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005053/0.4027, allocations: 2.386 MB / 0.58 GB, free: 12.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.4028, allocations: 111.5 kB / 0.5801 GB, free: 12.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009914/0.4038, allocations: 0.7191 MB / 0.5808 GB, free: 12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.4038, allocations: 33.7 kB / 0.5808 GB, free: 11.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/0.4043, allocations: 496.5 kB / 0.5813 GB, free: 11.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.4045, allocations: 253.8 kB / 0.5815 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.4047, allocations: 154.7 kB / 0.5817 GB, free: 11.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.4049, allocations: 402.7 kB / 0.582 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.4055, allocations: 305.8 kB / 0.5823 GB, free: 10.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007244/0.4062, allocations: 0.5361 MB / 0.5829 GB, free: 9.734 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004064/0.4102, allocations: 1.597 MB / 0.5844 GB, free: 8.055 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.4103, allocations: 4 kB / 0.5844 GB, free: 8.051 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002574/0.4128, allocations: 1.255 MB / 0.5856 GB, free: 6.781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.4129, allocations: 8.031 kB / 0.5857 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.4129, allocations: 12 kB / 0.5857 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.4141, allocations: 405.9 kB / 0.586 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.4146, allocations: 151.8 kB / 0.5862 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008294/0.4229, allocations: 5.873 MB / 0.5919 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005562/0.4235, allocations: 35.98 kB / 0.592 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.608e-05/0.4235, allocations: 32 kB / 0.592 GB, free: 64 kB / 430.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.000619/0.4242, allocations: 361.5 kB / 0.5923 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.4243, allocations: 83.48 kB / 0.5924 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.426, allocations: 0.8941 MB / 0.5933 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.4261, allocations: 8 kB / 0.5933 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.4261, allocations: 4 kB / 0.5933 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.4261, allocations: 3.984 kB / 0.5933 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/0.4296, allocations: 1.802 MB / 0.5951 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4296, allocations: 0 / 0.5951 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006338/0.4303, allocations: 123.8 kB / 0.5952 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005703/0.4308, allocations: 182.6 kB / 0.5954 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.064e-05/0.4309, allocations: 23.98 kB / 0.5954 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005002/0.4359, allocations: 5.143 MB / 0.6004 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.4359, allocations: 8.016 kB / 0.6004 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.438, allocations: 1.274 MB / 0.6017 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/0.4384, allocations: 131.4 kB / 0.6018 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.4385, allocations: 23.98 kB / 0.6018 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.4389, allocations: 23.94 kB / 0.6018 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.439, allocations: 48.41 kB / 0.6019 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.439, allocations: 16.12 kB / 0.6019 GB, free: 5.422 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007142/0.4397, allocations: 0.499 MB / 0.6024 GB, free: 4.926 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4397, allocations: 0 / 0.6024 GB, free: 4.926 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001029/0.4408, allocations: 267.9 kB / 0.6026 GB, free: 4.664 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.004011/0.4448, allocations: 2.221 MB / 0.6048 GB, free: 2.582 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.4469, allocations: 1.098 MB / 0.6059 GB, free: 1.453 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4469, allocations: 5.188 kB / 0.6059 GB, free: 1.449 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.448, allocations: 0.702 MB / 0.6066 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009607/0.449, allocations: 187.2 kB / 0.6067 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.4628, allocations: 8.635 MB / 0.6152 GB, free: 7.555 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007726/0.4635, allocations: 0.5404 MB / 0.6157 GB, free: 6.977 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005761/0.4641, allocations: 174.6 kB / 0.6159 GB, free: 6.801 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005227/0.4646, allocations: 355.3 kB / 0.6162 GB, free: 6.453 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4646, allocations: 0 / 0.6162 GB, free: 6.453 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06689/0.5315, allocations: 22.64 MB / 0.6383 GB, free: 15.97 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.41, allocations: 13.08 kB / 0.6383 GB, free: 15.96 MB / 494.1 MB " [Timeout remaining time 645] (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: 17.666840934194624]