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.001154/0.001154, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.00112/0.00112, allocations: 170.4 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9813/0.9813, allocations: 177.1 MB / 206 MB, free: 4.527 MB / 186.7 MB " [Timeout remaining time 179] 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.1402/0.1402, allocations: 29.43 MB / 292 MB, free: 2.656 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|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.[0-9,]+.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.157e-05, allocations: 2.312 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.007918/0.007949, allocations: 6.997 MB / 377.9 MB, free: 25.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00732/0.01527, allocations: 5.176 MB / 383.1 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000619/0.01589, allocations: 31.75 kB / 383.1 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007208/0.0231, allocations: 5.718 MB / 388.8 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.02457, allocations: 0.7071 MB / 389.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008873/0.02546, allocations: 470.9 kB / 390 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002088/0.02755, allocations: 2.35 MB / 392.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000786/0.02833, allocations: 1.006 MB / 393.3 MB, free: 9.766 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.02958, allocations: 0.9742 MB / 394.3 MB, free: 8.789 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007086/0.03028, allocations: 0.6467 MB / 395 MB, free: 8.141 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.03039, allocations: 112 kB / 395.1 MB, free: 8.031 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006666/0.03106, allocations: 435.3 kB / 395.5 MB, free: 7.605 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.03132, allocations: 0.4948 MB / 396 MB, free: 7.109 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.03156, allocations: 399.1 kB / 396.4 MB, free: 6.719 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.03261, allocations: 1.102 MB / 397.5 MB, free: 5.613 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.03261, allocations: 0 / 397.5 MB, free: 5.613 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.03261, allocations: 0 / 397.5 MB, free: 5.613 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.03262, allocations: 0 / 397.5 MB, free: 5.613 MB / 314.7 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.001457/0.03408, allocations: 1.447 MB / 398.9 MB, free: 4.125 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.03412, allocations: 8.031 kB / 398.9 MB, free: 4.117 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005273/0.03465, allocations: 236.1 kB / 399.2 MB, free: 3.887 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007939/0.03544, allocations: 0.8251 MB / 400 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.03547, allocations: 61.98 kB / 400 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.03559, allocations: 83.98 kB / 400.1 MB, free: 2.891 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005942/0.03618, allocations: 0.673 MB / 400.8 MB, free: 2.156 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.0362, allocations: 15.88 kB / 400.8 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.03625, allocations: 35.98 kB / 400.9 MB, free: 2.105 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.03637, allocations: 77.94 kB / 400.9 MB, free: 2.031 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.03671, allocations: 293.6 kB / 401.2 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002936/0.03964, allocations: 3.602 MB / 404.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.04013, allocations: 326.3 kB / 405.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.04028, allocations: 140.8 kB / 405.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.04032, allocations: 12.5 kB / 405.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.04035, allocations: 45.83 kB / 405.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=57): time 2.354e-06/0.04036, allocations: 0 / 405.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.002151/0.04251, allocations: 1.327 MB / 406.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.04256, allocations: 115.4 kB / 406.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.04304, allocations: 0.652 MB / 407.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.04308, allocations: 37.7 kB / 407.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.04335, allocations: 0.5498 MB / 408 MB, free: 10.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.0435, allocations: 257.8 kB / 408.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.04366, allocations: 160.2 kB / 408.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.04385, allocations: 0.5819 MB / 409 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.04398, allocations: 93.91 kB / 409.1 MB, free: 9.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.04426, allocations: 427 kB / 409.5 MB, free: 8.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006428/0.0449, allocations: 0.6845 MB / 410.2 MB, free: 8.188 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.04491, allocations: 0 / 410.2 MB, free: 8.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0009942/0.0459, allocations: 0.7767 MB / 411 MB, free: 7.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.04592, allocations: 10.19 kB / 411 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.04593, allocations: 8 kB / 411 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006517/0.04659, allocations: 330 kB / 411.3 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.04689, allocations: 147.7 kB / 411.5 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/0.05065, allocations: 4.999 MB / 416.5 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.05102, allocations: 32 kB / 416.5 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.05107, allocations: 23.98 kB / 416.5 MB, free: 1.633 MB / 330.7 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.0003172/0.05138, allocations: 212.4 kB / 416.7 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.05152, allocations: 107.4 kB / 416.8 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007238/0.05224, allocations: 0.5195 MB / 417.3 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.05225, allocations: 11.98 kB / 417.4 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.05225, allocations: 0 / 417.4 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.05226, allocations: 4 kB / 417.4 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.05378, allocations: 1.215 MB / 418.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.05378, allocations: 0 / 418.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.0541, allocations: 115.8 kB / 418.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003022/0.05441, allocations: 143.1 kB / 418.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.05445, allocations: 19.98 kB / 418.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/0.05729, allocations: 5.966 MB / 424.8 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.05729, allocations: 7.938 kB / 424.8 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008926/0.05818, allocations: 0.8227 MB / 425.6 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.05837, allocations: 119.4 kB / 425.8 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.339e-05/0.05843, allocations: 20 kB / 425.8 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.05861, allocations: 12.12 kB / 425.8 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.05868, allocations: 60.28 kB / 425.8 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.05871, allocations: 23.92 kB / 425.9 MB, free: 7.758 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002868/0.059, allocations: 386.8 kB / 426.2 MB, free: 7.387 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.059, allocations: 0 / 426.2 MB, free: 7.387 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008101/0.05981, allocations: 263.9 kB / 426.5 MB, free: 7.129 MB / 346.7 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.001013/0.06082, allocations: 456.4 kB / 427 MB, free: 6.871 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.06205, allocations: 0.9023 MB / 427.9 MB, free: 5.934 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.06206, allocations: 0 / 427.9 MB, free: 5.934 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005064/0.06256, allocations: 0.7406 MB / 428.6 MB, free: 5.141 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.06315, allocations: 175.1 kB / 428.8 MB, free: 4.977 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.06622, allocations: 2.039 MB / 430.8 MB, free: 2.875 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.06649, allocations: 283.8 kB / 431.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003331/0.06682, allocations: 106.4 kB / 431.2 MB, free: 2.469 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.0671, allocations: 218.1 kB / 431.4 MB, free: 2.254 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0671, allocations: 0 / 431.4 MB, free: 2.254 MB / 346.7 MB Notification: Performance of Templates: time 0.017/0.0841, allocations: 13.14 MB / 444.5 MB, free: 5.316 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5009482060559094]