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.0009475/0.0009475, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001027/0.001027, allocations: 164.7 kB / 24.99 MB, free: 8.844 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.9927/0.9927, allocations: 177.1 MB / 205.3 MB, free: 5.594 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.2516/0.2516, allocations: 29.42 MB / 291.2 MB, free: 2.504 MB / 266.7 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.[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.164e-06/2.164e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.564e-05/3.78e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01081/0.01085, allocations: 7.746 MB / 377.4 MB, free: 3.527 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009733/0.02058, allocations: 5.32 MB / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.02172, allocations: 35.75 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01233/0.03404, allocations: 5.831 MB / 388.6 MB, free: 8.309 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.03663, allocations: 0.7033 MB / 389.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.03804, allocations: 474.8 kB / 389.7 MB, free: 7.137 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003573/0.04162, allocations: 2.346 MB / 392.1 MB, free: 4.785 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009645/0.04258, allocations: 1.003 MB / 393.1 MB, free: 3.762 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.0436, allocations: 0.9156 MB / 394 MB, free: 2.844 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007861/0.04438, allocations: 0.6973 MB / 394.7 MB, free: 2.145 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.0445, allocations: 120 kB / 394.8 MB, free: 2.027 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007089/0.04521, allocations: 447.3 kB / 395.2 MB, free: 1.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.04556, allocations: 0.5338 MB / 395.8 MB, free: 1.055 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.04592, allocations: 423.1 kB / 396.2 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.0472, allocations: 1.133 MB / 397.3 MB, free: 15.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.0472, allocations: 0 / 397.3 MB, free: 15.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.04721, allocations: 4 kB / 397.3 MB, free: 15.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.04722, allocations: 0 / 397.3 MB, free: 15.5 MB / 378.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.00207/0.04929, allocations: 1.514 MB / 398.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.04933, allocations: 15.98 kB / 398.9 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006287/0.04996, allocations: 252 kB / 399.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.05108, allocations: 0.9031 MB / 400 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/0.05112, allocations: 62 kB / 400.1 MB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.05126, allocations: 95.92 kB / 400.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008659/0.05212, allocations: 0.7316 MB / 400.9 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.05215, allocations: 7.938 kB / 400.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.409e-05/0.0522, allocations: 31.98 kB / 400.9 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/0.05233, allocations: 73.95 kB / 401 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.05292, allocations: 367.6 kB / 401.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003481/0.0564, allocations: 3.637 MB / 405 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008802/0.05728, allocations: 352.4 kB / 405.3 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.05749, allocations: 160.9 kB / 405.5 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.05752, allocations: 8.5 kB / 405.5 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.05755, allocations: 45.83 kB / 405.6 MB, free: 6.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 3.807e-06/0.05756, allocations: 336 / 405.6 MB, free: 6.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002746/0.0603, allocations: 1.676 MB / 407.2 MB, free: 5.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.06037, allocations: 115.4 kB / 407.3 MB, free: 5.078 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005749/0.06094, allocations: 0.6602 MB / 408 MB, free: 4.402 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.975e-05/0.06098, allocations: 41.7 kB / 408 MB, free: 4.355 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.06128, allocations: 0.5419 MB / 408.6 MB, free: 3.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.06145, allocations: 249.9 kB / 408.8 MB, free: 3.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.06164, allocations: 160.3 kB / 409 MB, free: 3.391 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.06187, allocations: 0.5742 MB / 409.6 MB, free: 2.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.06208, allocations: 125.9 kB / 409.7 MB, free: 2.684 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.06246, allocations: 455.1 kB / 410.1 MB, free: 2.105 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008778/0.06334, allocations: 0.7549 MB / 410.9 MB, free: 1.234 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.06334, allocations: 0 / 410.9 MB, free: 1.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001185/0.06453, allocations: 0.8549 MB / 411.7 MB, free: 372 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.06455, allocations: 8 kB / 411.7 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.06457, allocations: 8 kB / 411.8 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007493/0.06532, allocations: 327.1 kB / 412.1 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.06566, allocations: 151.8 kB / 412.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00451/0.07018, allocations: 5.152 MB / 417.4 MB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.07057, allocations: 31.92 kB / 417.4 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.07062, allocations: 36 kB / 417.4 MB, free: 10.43 MB / 394.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.0003365/0.07096, allocations: 212.2 kB / 417.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.07109, allocations: 99.48 kB / 417.7 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008737/0.07196, allocations: 0.578 MB / 418.3 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.07197, allocations: 8 kB / 418.3 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.07197, allocations: 7.875 kB / 418.3 MB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.07198, allocations: 7.984 kB / 418.3 MB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.07408, allocations: 1.391 MB / 419.7 MB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.07408, allocations: 7.984 kB / 419.7 MB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.07442, allocations: 120 kB / 419.9 MB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004431/0.07486, allocations: 146.9 kB / 420 MB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/0.07492, allocations: 23.98 kB / 420 MB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003747/0.07867, allocations: 6.062 MB / 426.1 MB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.07867, allocations: 0 / 426.1 MB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.0806, allocations: 0.885 MB / 427 MB, free: 344 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/0.08093, allocations: 119.4 kB / 427.1 MB, free: 224 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.08105, allocations: 31.88 kB / 427.1 MB, free: 192 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.08139, allocations: 16 kB / 427.1 MB, free: 176 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.08152, allocations: 48.41 kB / 427.2 MB, free: 128 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.08156, allocations: 23.98 kB / 427.2 MB, free: 104 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000615/0.08218, allocations: 403 kB / 427.6 MB, free: 15.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.08218, allocations: 3.938 kB / 427.6 MB, free: 15.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001371/0.08355, allocations: 263.9 kB / 427.9 MB, free: 15.45 MB / 410.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.001363/0.08491, allocations: 481.8 kB / 428.3 MB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.08669, allocations: 0.9498 MB / 429.3 MB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.0867, allocations: 384 / 429.3 MB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000821/0.08752, allocations: 0.755 MB / 430 MB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008334/0.08835, allocations: 171.5 kB / 430.2 MB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/0.09286, allocations: 2.064 MB / 432.3 MB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.0932, allocations: 283.8 kB / 432.5 MB, free: 10.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004938/0.09369, allocations: 134.3 kB / 432.7 MB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.09387, allocations: 64.42 kB / 432.7 MB, free: 10.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/0.09387, allocations: 0 / 432.7 MB, free: 10.56 MB / 410.7 MB Notification: Performance of Templates: time 0.1586/0.2524, allocations: 12.18 MB / 444.9 MB, free: 108.9 MB / 410.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.695000121835619]