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.001865/0.001865, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002315/0.002315, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.526/1.526, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.1899/0.1899, allocations: 38.56 MB / 353.2 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="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.002037/0.002037, allocations: 63.91 kB / 493.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3741, allocations: 62.46 MB / 0.5427 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01123/0.3853, allocations: 7.231 MB / 0.5498 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.3954, allocations: 5.102 MB / 0.5548 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008827/0.3963, allocations: 33.44 kB / 0.5548 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01299/0.4093, allocations: 5.769 MB / 0.5604 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.4115, allocations: 0.6844 MB / 0.5611 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.4129, allocations: 470.2 kB / 0.5615 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004065/0.417, allocations: 2.299 MB / 0.5638 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.4184, allocations: 0.9945 MB / 0.5648 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.4195, allocations: 0.6539 MB / 0.5654 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.4208, allocations: 0.8058 MB / 0.5662 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.421, allocations: 120 kB / 0.5663 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000918/0.4219, allocations: 443.4 kB / 0.5667 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005225/0.4225, allocations: 0.5065 MB / 0.5672 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005873/0.423, allocations: 0.494 MB / 0.5677 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.4252, allocations: 1.783 MB / 0.5694 GB, free: 8.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4252, allocations: 0 / 0.5694 GB, free: 8.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4252, allocations: 0 / 0.5694 GB, free: 8.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.4252, allocations: 0 / 0.5694 GB, free: 8.793 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.002895/0.4281, allocations: 1.404 MB / 0.5708 GB, free: 7.355 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.4281, allocations: 15.98 kB / 0.5708 GB, free: 7.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.459e-05/0.4282, allocations: 26.12 kB / 0.5708 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001722/0.4283, allocations: 135.2 kB / 0.571 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008638/0.4292, allocations: 176.1 kB / 0.5711 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/0.4311, allocations: 0.8961 MB / 0.572 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.096e-05/0.4312, allocations: 61.98 kB / 0.5721 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/0.4314, allocations: 95.92 kB / 0.5722 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.4332, allocations: 1.088 MB / 0.5732 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.4332, allocations: 4 kB / 0.5732 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/0.4333, allocations: 39.97 kB / 0.5733 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002374/0.4336, allocations: 77.89 kB / 0.5733 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.435, allocations: 0.8314 MB / 0.5742 GB, free: 3.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005839/0.4409, allocations: 3.619 MB / 0.5777 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.4419, allocations: 0.5228 MB / 0.5782 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004541/0.4424, allocations: 292.6 kB / 0.5785 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/0.4424, allocations: 4.5 kB / 0.5785 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.4425, allocations: 39.06 kB / 0.5785 GB, free: 15.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.124e-06/0.4425, allocations: 0 / 0.5785 GB, free: 15.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.004877/0.4474, allocations: 2.389 MB / 0.5809 GB, free: 12.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/0.4474, allocations: 111.5 kB / 0.581 GB, free: 12.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009702/0.4484, allocations: 0.7036 MB / 0.5817 GB, free: 11.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.745e-05/0.4485, allocations: 45.83 kB / 0.5817 GB, free: 11.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004027/0.4489, allocations: 0.4888 MB / 0.5822 GB, free: 11.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.4491, allocations: 249.8 kB / 0.5824 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/0.4494, allocations: 150.6 kB / 0.5826 GB, free: 10.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.4496, allocations: 402.7 kB / 0.5829 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005141/0.4501, allocations: 309.8 kB / 0.5832 GB, free: 10.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006944/0.4508, allocations: 0.5323 MB / 0.5838 GB, free: 9.613 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003946/0.4548, allocations: 1.601 MB / 0.5853 GB, free: 7.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.4548, allocations: 4 kB / 0.5853 GB, free: 7.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002503/0.4573, allocations: 1.255 MB / 0.5865 GB, free: 6.656 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4573, allocations: 8 kB / 0.5866 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.4573, allocations: 8 kB / 0.5866 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.4585, allocations: 409.5 kB / 0.587 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/0.459, allocations: 151.7 kB / 0.5871 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008191/0.4672, allocations: 5.862 MB / 0.5928 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006879/0.4679, allocations: 36.12 kB / 0.5929 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/0.468, allocations: 28 kB / 0.5929 GB, free: 15.94 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.000613/0.4686, allocations: 357.5 kB / 0.5932 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.4688, allocations: 83.48 kB / 0.5933 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.4705, allocations: 0.9017 MB / 0.5942 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.4705, allocations: 4 kB / 0.5942 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4705, allocations: 4 kB / 0.5942 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.4705, allocations: 3.984 kB / 0.5942 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/0.474, allocations: 1.806 MB / 0.596 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.474, allocations: 4 kB / 0.596 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000654/0.4746, allocations: 124 kB / 0.5961 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005829/0.4752, allocations: 178.4 kB / 0.5962 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.246e-05/0.4753, allocations: 23.98 kB / 0.5963 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005442/0.4807, allocations: 5.147 MB / 0.6013 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.4807, allocations: 12.03 kB / 0.6013 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.4834, allocations: 1.266 MB / 0.6025 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004743/0.4839, allocations: 131.4 kB / 0.6027 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.484, allocations: 27.94 kB / 0.6027 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.4844, allocations: 15.98 kB / 0.6027 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.4845, allocations: 52.34 kB / 0.6028 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.4846, allocations: 16 kB / 0.6028 GB, free: 5.297 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008295/0.4854, allocations: 0.5029 MB / 0.6033 GB, free: 4.801 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4854, allocations: 0 / 0.6033 GB, free: 4.801 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001153/0.4866, allocations: 271.8 kB / 0.6035 GB, free: 4.535 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.004123/0.4907, allocations: 2.217 MB / 0.6057 GB, free: 2.461 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00224/0.4929, allocations: 1.111 MB / 0.6068 GB, free: 1.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.4929, allocations: 4.125 kB / 0.6068 GB, free: 1.316 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.494, allocations: 0.6939 MB / 0.6075 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.495, allocations: 171.7 kB / 0.6076 GB, free: 428 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.5092, allocations: 8.646 MB / 0.6161 GB, free: 7.438 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/0.5099, allocations: 0.5521 MB / 0.6166 GB, free: 6.848 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005782/0.5105, allocations: 166.6 kB / 0.6168 GB, free: 6.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005494/0.511, allocations: 355.3 kB / 0.6171 GB, free: 6.332 MB / 462.1 MB Notification: Performance of SimCode: time 1.202e-06/0.511, allocations: 0 / 0.6171 GB, free: 6.332 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06124/0.5723, allocations: 22.56 MB / 0.6391 GB, free: 15.95 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.53/17.1, allocations: 7.438 kB / 0.6391 GB, free: 15.95 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: 20.418498471961357]