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.00183/0.00183, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002223/0.002223, allocations: 213.2 kB / 24.48 MB, free: 3.844 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 / 258.2 MB, free: 7.801 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.1876/0.1876, allocations: 38.56 MB / 353.2 MB, free: 12.29 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.002113/0.002113, allocations: 67.89 kB / 493.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3153, allocations: 62.47 MB / 0.5432 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01028/0.3256, allocations: 7.254 MB / 0.5503 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009495/0.3351, allocations: 5.101 MB / 0.5552 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007892/0.3359, allocations: 33.94 kB / 0.5553 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01251/0.3484, allocations: 5.708 MB / 0.5608 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.3505, allocations: 0.6922 MB / 0.5615 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.3519, allocations: 459.1 kB / 0.562 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003331/0.3552, allocations: 2.299 MB / 0.5642 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.3566, allocations: 0.9634 MB / 0.5651 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.3578, allocations: 0.6695 MB / 0.5658 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.359, allocations: 0.7473 MB / 0.5665 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002375/0.3593, allocations: 116 kB / 0.5666 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009279/0.3602, allocations: 443.5 kB / 0.5671 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005616/0.3608, allocations: 0.5064 MB / 0.5676 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007419/0.3615, allocations: 0.4901 MB / 0.568 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.3639, allocations: 1.787 MB / 0.5698 GB, free: 8.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3639, allocations: 3.984 kB / 0.5698 GB, free: 8.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3639, allocations: 0 / 0.5698 GB, free: 8.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.182e-05/0.3639, allocations: 0 / 0.5698 GB, free: 8.871 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.005375/0.3693, allocations: 1.406 MB / 0.5712 GB, free: 7.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.3694, allocations: 11.98 kB / 0.5712 GB, free: 7.418 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.3705, allocations: 180.1 kB / 0.5713 GB, free: 7.242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.3727, allocations: 0.8964 MB / 0.5722 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/0.3727, allocations: 61.98 kB / 0.5723 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/0.3729, allocations: 87.95 kB / 0.5724 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.3747, allocations: 1.1 MB / 0.5734 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.3748, allocations: 0 / 0.5734 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/0.3749, allocations: 39.97 kB / 0.5735 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/0.3751, allocations: 73.95 kB / 0.5735 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.3764, allocations: 0.8314 MB / 0.5743 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005405/0.3818, allocations: 3.506 MB / 0.5778 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009946/0.3828, allocations: 0.5148 MB / 0.5783 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/0.3833, allocations: 287.1 kB / 0.5785 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.3833, allocations: 4.5 kB / 0.5786 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.3834, allocations: 58.94 kB / 0.5786 GB, free: 15.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.164e-06/0.3834, allocations: 3.938 kB / 0.5786 GB, free: 15.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.004758/0.3881, allocations: 2.378 MB / 0.5809 GB, free: 13.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.326e-05/0.3882, allocations: 107.5 kB / 0.581 GB, free: 12.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009575/0.3892, allocations: 0.68 MB / 0.5817 GB, free: 12.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.3892, allocations: 38.03 kB / 0.5817 GB, free: 12.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.3897, allocations: 0.4923 MB / 0.5822 GB, free: 11.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.3899, allocations: 245.9 kB / 0.5825 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.3901, allocations: 158.5 kB / 0.5826 GB, free: 11.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002326/0.3904, allocations: 390.8 kB / 0.583 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.3909, allocations: 301.8 kB / 0.5833 GB, free: 10.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007088/0.3916, allocations: 0.5479 MB / 0.5838 GB, free: 10.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003802/0.3954, allocations: 1.589 MB / 0.5854 GB, free: 8.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3954, allocations: 0 / 0.5854 GB, free: 8.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002358/0.3977, allocations: 1.259 MB / 0.5866 GB, free: 7.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.3978, allocations: 10.97 kB / 0.5866 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.3978, allocations: 11.92 kB / 0.5866 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.3989, allocations: 405.5 kB / 0.587 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.3994, allocations: 151.8 kB / 0.5871 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008053/0.4075, allocations: 5.807 MB / 0.5928 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005772/0.408, allocations: 24 kB / 0.5928 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/0.4081, allocations: 35.98 kB / 0.5929 GB, free: 452 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.0006107/0.4087, allocations: 369.5 kB / 0.5932 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.4089, allocations: 83.62 kB / 0.5933 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.4105, allocations: 0.8858 MB / 0.5942 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.4105, allocations: 8 kB / 0.5942 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4106, allocations: 4 kB / 0.5942 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.4106, allocations: 3.984 kB / 0.5942 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/0.4137, allocations: 1.693 MB / 0.5958 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.4137, allocations: 4 kB / 0.5958 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006012/0.4143, allocations: 119.8 kB / 0.5959 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005402/0.4149, allocations: 190.3 kB / 0.5961 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/0.4149, allocations: 27.98 kB / 0.5962 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00467/0.4196, allocations: 5.074 MB / 0.6011 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4196, allocations: 0 / 0.6011 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.4216, allocations: 1.277 MB / 0.6024 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/0.4219, allocations: 123.4 kB / 0.6025 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.955e-05/0.422, allocations: 28.05 kB / 0.6025 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.4224, allocations: 16 kB / 0.6025 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.4225, allocations: 56.44 kB / 0.6026 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.4225, allocations: 19.98 kB / 0.6026 GB, free: 6.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006294/0.4231, allocations: 483 kB / 0.603 GB, free: 5.551 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4231, allocations: 0 / 0.603 GB, free: 5.551 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001117/0.4243, allocations: 259.9 kB / 0.6033 GB, free: 5.297 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.001743/0.426, allocations: 0.5029 MB / 0.6038 GB, free: 4.973 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.428, allocations: 1.099 MB / 0.6049 GB, free: 3.852 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.428, allocations: 384 / 0.6049 GB, free: 3.852 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009713/0.429, allocations: 0.7017 MB / 0.6055 GB, free: 3.109 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008658/0.4299, allocations: 174.5 kB / 0.6057 GB, free: 2.949 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/0.4344, allocations: 2.626 MB / 0.6083 GB, free: 276 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007226/0.4352, allocations: 0.548 MB / 0.6088 GB, free: 15.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.4354, allocations: 63.42 kB / 0.6089 GB, free: 15.62 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4354, allocations: 0 / 0.6089 GB, free: 15.62 MB / 462.1 MB Notification: Performance of Templates: time 0.03189/0.4673, allocations: 23.41 MB / 0.6317 GB, free: 8.215 MB / 478.1 MB " [Timeout remaining time 660] 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: 10.361819365993142]