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.001543/0.001543, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001919/0.001919, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.389/1.389, allocations: 230.6 MB / 258.3 MB, free: 8.227 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.1759/0.1759, allocations: 38.52 MB / 353.2 MB, free: 12.68 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: translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") [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.00198/0.00198, allocations: 63.89 kB / 493.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3495, allocations: 62.47 MB / 0.5432 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.0102/0.3597, allocations: 7.857 MB / 0.5509 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009687/0.3694, allocations: 5.613 MB / 0.5564 GB, free: 6.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008264/0.3702, allocations: 37.5 kB / 0.5564 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01204/0.3823, allocations: 5.831 MB / 0.5621 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002235/0.3845, allocations: 0.6884 MB / 0.5628 GB, free: 412 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.3858, allocations: 474.5 kB / 0.5632 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003626/0.3895, allocations: 2.299 MB / 0.5655 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.3907, allocations: 0.9829 MB / 0.5664 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.3918, allocations: 0.6617 MB / 0.5671 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.3929, allocations: 0.802 MB / 0.5679 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.3931, allocations: 116 kB / 0.568 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000968/0.3941, allocations: 467.4 kB / 0.5684 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005292/0.3946, allocations: 0.5064 MB / 0.5689 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006262/0.3952, allocations: 0.6027 MB / 0.5695 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002247/0.3975, allocations: 1.783 MB / 0.5713 GB, free: 7.684 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3975, allocations: 0 / 0.5713 GB, free: 7.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3975, allocations: 0 / 0.5713 GB, free: 7.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.678e-05/0.3975, allocations: 0 / 0.5713 GB, free: 7.684 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.002912/0.4004, allocations: 1.406 MB / 0.5726 GB, free: 6.242 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4004, allocations: 15.98 kB / 0.5726 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007621/0.4012, allocations: 168.1 kB / 0.5728 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.4031, allocations: 0.9042 MB / 0.5737 GB, free: 5.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/0.4031, allocations: 61.98 kB / 0.5737 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.4033, allocations: 91.94 kB / 0.5738 GB, free: 4.977 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.405, allocations: 1.071 MB / 0.5749 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.405, allocations: 7.984 kB / 0.5749 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-05/0.4051, allocations: 39.98 kB / 0.5749 GB, free: 3.816 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002106/0.4053, allocations: 73.95 kB / 0.575 GB, free: 3.746 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.4067, allocations: 0.8353 MB / 0.5758 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005828/0.4125, allocations: 3.899 MB / 0.5796 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009808/0.4135, allocations: 0.5145 MB / 0.5801 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004252/0.4139, allocations: 295.4 kB / 0.5804 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.764e-05/0.414, allocations: 8.5 kB / 0.5804 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.414, allocations: 43 kB / 0.5805 GB, free: 13.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.444e-06/0.414, allocations: 3.938 kB / 0.5805 GB, free: 13.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.004613/0.4186, allocations: 2.378 MB / 0.5828 GB, free: 11.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.839e-05/0.4187, allocations: 111.5 kB / 0.5829 GB, free: 11.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009038/0.4196, allocations: 0.7114 MB / 0.5836 GB, free: 10.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/0.4197, allocations: 37.73 kB / 0.5836 GB, free: 10.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004088/0.4201, allocations: 0.4885 MB / 0.5841 GB, free: 10.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.4203, allocations: 249.9 kB / 0.5843 GB, free: 9.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.4205, allocations: 146.6 kB / 0.5845 GB, free: 9.734 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.4207, allocations: 398.7 kB / 0.5849 GB, free: 9.336 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.4212, allocations: 309.8 kB / 0.5851 GB, free: 9.031 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/0.4218, allocations: 0.511 MB / 0.5856 GB, free: 8.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003693/0.4255, allocations: 1.593 MB / 0.5872 GB, free: 6.754 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.4255, allocations: 4 kB / 0.5872 GB, free: 6.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002296/0.4278, allocations: 1.263 MB / 0.5884 GB, free: 5.473 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.4279, allocations: 11.94 kB / 0.5884 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.4279, allocations: 11.98 kB / 0.5885 GB, free: 5.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.429, allocations: 401.5 kB / 0.5888 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.4295, allocations: 155.8 kB / 0.589 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007831/0.4373, allocations: 6.024 MB / 0.5949 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005575/0.4379, allocations: 39.98 kB / 0.5949 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.4379, allocations: 36 kB / 0.5949 GB, free: 14.56 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.0006115/0.4385, allocations: 357.5 kB / 0.5953 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.4387, allocations: 83.48 kB / 0.5954 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.4403, allocations: 0.8979 MB / 0.5962 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.4403, allocations: 4 kB / 0.5962 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4403, allocations: 4 kB / 0.5963 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.4403, allocations: 3.984 kB / 0.5963 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003353/0.4437, allocations: 1.984 MB / 0.5982 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.4437, allocations: 12.02 kB / 0.5982 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005864/0.4443, allocations: 115.8 kB / 0.5983 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005221/0.4448, allocations: 186.4 kB / 0.5985 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.141e-05/0.4449, allocations: 24 kB / 0.5985 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004765/0.4496, allocations: 5.166 MB / 0.6036 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4496, allocations: 0 / 0.6036 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.4517, allocations: 1.277 MB / 0.6048 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.452, allocations: 135.3 kB / 0.6049 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.4521, allocations: 28.08 kB / 0.605 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.4525, allocations: 20.17 kB / 0.605 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.908e-05/0.4526, allocations: 52.39 kB / 0.605 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.115e-05/0.4526, allocations: 20 kB / 0.6051 GB, free: 3.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006701/0.4533, allocations: 0.4951 MB / 0.6055 GB, free: 3.188 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4533, allocations: 4 kB / 0.6055 GB, free: 3.184 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001026/0.4543, allocations: 259.9 kB / 0.6058 GB, free: 2.93 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.001576/0.4559, allocations: 480.6 kB / 0.6062 GB, free: 2.609 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002001/0.4579, allocations: 1.098 MB / 0.6073 GB, free: 1.488 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4579, allocations: 4 kB / 0.6073 GB, free: 1.484 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009694/0.4588, allocations: 0.6993 MB / 0.608 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008739/0.4597, allocations: 191.9 kB / 0.6082 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.4638, allocations: 2.633 MB / 0.6108 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008738/0.4647, allocations: 1.142 MB / 0.6119 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.4649, allocations: 67.42 kB / 0.6119 GB, free: 12.64 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4649, allocations: 0 / 0.6119 GB, free: 12.64 MB / 462.1 MB Notification: Performance of Templates: time 0.02885/0.4938, allocations: 23.3 MB / 0.6347 GB, free: 5.355 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 480] 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: 9.957615905907005]