Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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.001026/0.001026, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001581/0.002607, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001051/0.001051, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001277/0.002328, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9797/0.9797, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1653/1.145, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.113/0.113, allocations: 29.45 MB / 273.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1347/0.2477, allocations: 9.543 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.035e-05, allocations: 3.75 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.007695/0.007715, allocations: 7.472 MB / 291.9 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007611/0.01533, allocations: 5.388 MB / 297.3 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006869/0.01601, allocations: 35.69 kB / 297.3 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007726/0.02374, allocations: 5.394 MB / 302.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.02565, allocations: 0.8743 MB / 303.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.02671, allocations: 0.5378 MB / 304.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002855/0.02957, allocations: 2.596 MB / 306.7 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007562/0.03032, allocations: 0.5266 MB / 307.3 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.03185, allocations: 1.207 MB / 308.5 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.03308, allocations: 0.9193 MB / 309.4 MB, free: 5.691 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.03327, allocations: 96 kB / 309.5 MB, free: 5.598 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008278/0.0341, allocations: 399.3 kB / 309.9 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004503/0.03455, allocations: 0.6353 MB / 310.5 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004094/0.03496, allocations: 387.2 kB / 310.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.0362, allocations: 1.187 MB / 312.1 MB, free: 3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.03621, allocations: 3.938 kB / 312.1 MB, free: 2.996 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.03622, allocations: 0 / 312.1 MB, free: 2.996 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.75e-05/0.03625, allocations: 0 / 312.1 MB, free: 2.996 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001974/0.03823, allocations: 1.713 MB / 313.8 MB, free: 1.246 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.03826, allocations: 8.031 kB / 313.8 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009318/0.03919, allocations: 385.6 kB / 314.2 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000979/0.04017, allocations: 0.7061 MB / 314.9 MB, free: 112 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.04021, allocations: 85.86 kB / 315 MB, free: 28 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000272/0.04048, allocations: 171.8 kB / 315.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009999/0.04148, allocations: 0.9267 MB / 316.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.04151, allocations: 7.938 kB / 316.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.294e-05/0.04157, allocations: 39.98 kB / 316.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003048/0.04188, allocations: 161.9 kB / 316.3 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005613/0.04244, allocations: 416.9 kB / 316.7 MB, free: 14.21 MB / 314.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(line.v[3,4]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004045/0.04648, allocations: 4.516 MB / 321.2 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/0.04702, allocations: 0.4884 MB / 321.7 MB, free: 8.957 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.0472, allocations: 159.6 kB / 321.8 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/0.04725, allocations: 20.98 kB / 321.8 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.04728, allocations: 43.56 kB / 321.9 MB, free: 8.727 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 2.796e-06/0.04728, allocations: 0 / 321.9 MB, free: 8.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=96): time 0.002614/0.0499, allocations: 1.548 MB / 323.4 MB, free: 7.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.04994, allocations: 90.11 kB / 323.5 MB, free: 7.039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.05034, allocations: 0.5855 MB / 324.1 MB, free: 6.441 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/0.05039, allocations: 45.7 kB / 324.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.05061, allocations: 489.6 kB / 324.6 MB, free: 5.906 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.05082, allocations: 384.7 kB / 325 MB, free: 5.527 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.05104, allocations: 226.6 kB / 325.2 MB, free: 5.297 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.05118, allocations: 426.5 kB / 325.6 MB, free: 4.871 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.05139, allocations: 153.4 kB / 325.8 MB, free: 4.723 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.05171, allocations: 457 kB / 326.2 MB, free: 4.145 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009931/0.0527, allocations: 1.032 MB / 327.3 MB, free: 2.996 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.05271, allocations: 4 kB / 327.3 MB, free: 2.992 MB / 314.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001649/0.05436, allocations: 1.155 MB / 328.4 MB, free: 1.816 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.05438, allocations: 17.66 kB / 328.5 MB, free: 1.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.05439, allocations: 11.98 kB / 328.5 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/0.05619, allocations: 0.8453 MB / 329.3 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.05659, allocations: 207.7 kB / 329.5 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006067/0.06266, allocations: 6.129 MB / 335.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/0.06309, allocations: 36 kB / 335.7 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/0.06315, allocations: 40 kB / 335.7 MB, free: 10.36 MB / 330.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.line.v[2,4] = line.v[1,4] * line.omega[1] $DER.line.v[1,4] = (-line.v[2,4]) * line.omega[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (95): * Single equations (assignments): 93 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,44)} Notification: Performance of prepare postOptimizeDAE: time 0.0003432/0.06349, allocations: 196.3 kB / 335.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.0636, allocations: 91.91 kB / 336 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007135/0.06432, allocations: 0.5811 MB / 336.6 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.06432, allocations: 12 kB / 336.6 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.06433, allocations: 0 / 336.6 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.06433, allocations: 3.984 kB / 336.6 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.06596, allocations: 1.261 MB / 337.9 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.06596, allocations: 0 / 337.9 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009634/0.06693, allocations: 380.7 kB / 338.2 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.06711, allocations: 139.3 kB / 338.4 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.06722, allocations: 59.22 kB / 338.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/0.06727, allocations: 31.98 kB / 338.5 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009949/0.06827, allocations: 2.413 MB / 340.9 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.06827, allocations: 0 / 340.9 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008097/0.06908, allocations: 0.8988 MB / 341.8 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.584e-05/0.06916, allocations: 39.92 kB / 341.8 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.06939, allocations: 20 kB / 341.8 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.06949, allocations: 68.81 kB / 341.9 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.06952, allocations: 19.98 kB / 341.9 MB, free: 3.824 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001852/0.06971, allocations: 272.5 kB / 342.2 MB, free: 3.562 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06971, allocations: 0 / 342.2 MB, free: 3.562 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008625/0.07057, allocations: 395.9 kB / 342.6 MB, free: 3.176 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000163/0.07073, allocations: 120.3 kB / 342.7 MB, free: 3.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.07218, allocations: 1.221 MB / 343.9 MB, free: 1.805 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.498e-05/0.0722, allocations: 16.5 kB / 343.9 MB, free: 1.789 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005016/0.0727, allocations: 0.5323 MB / 344.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.07376, allocations: 1.696 MB / 346.1 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/0.08899, allocations: 2.418 MB / 348.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.08929, allocations: 352.2 kB / 348.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004354/0.08973, allocations: 132.4 kB / 349 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/0.09012, allocations: 233.2 kB / 349.3 MB, free: 12 MB / 346.7 MB Notification: Performance of SimCode: time 1.542e-06/0.09012, allocations: 0 / 349.3 MB, free: 12 MB / 346.7 MB Notification: Performance of Templates: time 0.0215/0.1116, allocations: 18.57 MB / 367.8 MB, free: 9.672 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.WindTurbine_IG.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2325989939272404]