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.002473/0.002473, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002901/0.002901, allocations: 165.6 kB / 24.27 MB, free: 156 kB / 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 1.542/1.542, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 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.2892/0.2892, allocations: 29.41 MB / 290.5 MB, free: 2.426 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.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: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.807e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01168/0.01171, allocations: 7.664 MB / 376.6 MB, free: 3.621 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.02219, allocations: 5.332 MB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006856/0.02288, allocations: 31.75 kB / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01368/0.03656, allocations: 5.835 MB / 387.8 MB, free: 8.391 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.03864, allocations: 0.6954 MB / 388.4 MB, free: 7.691 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.03996, allocations: 482.8 kB / 388.9 MB, free: 7.219 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003842/0.0438, allocations: 2.35 MB / 391.3 MB, free: 4.863 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.04522, allocations: 0.9987 MB / 392.3 MB, free: 3.844 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.0467, allocations: 0.9039 MB / 393.2 MB, free: 2.938 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.04802, allocations: 0.7129 MB / 393.9 MB, free: 2.223 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.04823, allocations: 120 kB / 394 MB, free: 2.105 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000985/0.04921, allocations: 439.3 kB / 394.4 MB, free: 1.676 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007417/0.04995, allocations: 0.5338 MB / 395 MB, free: 1.141 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000616/0.05057, allocations: 427 kB / 395.4 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002502/0.05307, allocations: 1.807 MB / 397.2 MB, free: 14.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.05307, allocations: 0 / 397.2 MB, free: 14.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.05308, allocations: 7.938 kB / 397.2 MB, free: 14.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.05309, allocations: 0 / 397.2 MB, free: 14.9 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.003238/0.05633, allocations: 1.611 MB / 398.8 MB, free: 13.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.05637, allocations: 15.98 kB / 398.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009834/0.05735, allocations: 252 kB / 399.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.05944, allocations: 0.9109 MB / 400 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.763e-05/0.05952, allocations: 58 kB / 400 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.05973, allocations: 83.98 kB / 400.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.06145, allocations: 0.8918 MB / 401 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/0.0615, allocations: 11.89 kB / 401 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.243e-05/0.06159, allocations: 31.98 kB / 401.1 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002501/0.06184, allocations: 73.95 kB / 401.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.063, allocations: 495.6 kB / 401.6 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007345/0.07035, allocations: 4.161 MB / 405.8 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009853/0.07133, allocations: 412.4 kB / 406.2 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.07171, allocations: 197.2 kB / 406.4 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.181e-05/0.07176, allocations: 8.5 kB / 406.4 MB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.07181, allocations: 49.83 kB / 406.4 MB, free: 5.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.204e-06/0.07181, allocations: 0 / 406.4 MB, free: 5.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.004778/0.07659, allocations: 1.84 MB / 408.3 MB, free: 3.434 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.07669, allocations: 115.4 kB / 408.4 MB, free: 3.297 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.07806, allocations: 0.8548 MB / 409.2 MB, free: 2.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.07812, allocations: 37.7 kB / 409.3 MB, free: 2.387 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006138/0.07874, allocations: 0.5927 MB / 409.9 MB, free: 1.785 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003202/0.07906, allocations: 269.9 kB / 410.1 MB, free: 1.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/0.07943, allocations: 196.3 kB / 410.3 MB, free: 1.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005197/0.07995, allocations: 0.6407 MB / 411 MB, free: 0.668 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/0.08035, allocations: 169.9 kB / 411.1 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007195/0.08107, allocations: 0.5148 MB / 411.6 MB, free: 15.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/0.0849, allocations: 1.287 MB / 412.9 MB, free: 14.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.08491, allocations: 4 kB / 412.9 MB, free: 14.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00231/0.08722, allocations: 0.9369 MB / 413.9 MB, free: 13.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.08725, allocations: 8 kB / 413.9 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.08727, allocations: 7.984 kB / 413.9 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.08859, allocations: 355.2 kB / 414.2 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/0.08915, allocations: 147.8 kB / 414.4 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007674/0.09682, allocations: 5.319 MB / 419.7 MB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005611/0.09738, allocations: 32 kB / 419.7 MB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.09745, allocations: 35.98 kB / 419.8 MB, free: 7.363 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.0005062/0.09796, allocations: 272.2 kB / 420 MB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.09818, allocations: 103.4 kB / 420.1 MB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.09975, allocations: 0.6289 MB / 420.8 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.09976, allocations: 12 kB / 420.8 MB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.09978, allocations: 11.94 kB / 420.8 MB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.09979, allocations: 3.984 kB / 420.8 MB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/0.1034, allocations: 1.672 MB / 422.5 MB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.1034, allocations: 4 kB / 422.5 MB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006172/0.104, allocations: 115.8 kB / 422.6 MB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005991/0.1046, allocations: 155.1 kB / 422.7 MB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.1047, allocations: 23.98 kB / 422.7 MB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005828/0.1105, allocations: 6.144 MB / 428.9 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.1105, allocations: 7.875 kB / 428.9 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.1125, allocations: 1.002 MB / 429.9 MB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.1129, allocations: 127.4 kB / 430 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.113, allocations: 16 kB / 430 MB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.1134, allocations: 24.02 kB / 430.1 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.1135, allocations: 48.41 kB / 430.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.522e-05/0.1135, allocations: 24.11 kB / 430.1 MB, free: 12.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008843/0.1144, allocations: 0.4989 MB / 430.6 MB, free: 11.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1144, allocations: 0 / 430.6 MB, free: 11.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00117/0.1156, allocations: 267.8 kB / 430.9 MB, free: 11.68 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.002983/0.1186, allocations: 0.5 MB / 431.4 MB, free: 11.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.1207, allocations: 1.075 MB / 432.5 MB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1207, allocations: 0 / 432.5 MB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.1219, allocations: 0.7982 MB / 433.3 MB, free: 9.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.1228, allocations: 179.3 kB / 433.4 MB, free: 9.242 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.1268, allocations: 2.091 MB / 435.5 MB, free: 7.086 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007284/0.1275, allocations: 0.5246 MB / 436.1 MB, free: 6.531 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004591/0.128, allocations: 138.3 kB / 436.2 MB, free: 6.391 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.1281, allocations: 68.42 kB / 436.3 MB, free: 6.324 MB / 410.7 MB Notification: Performance of SimCode: time 1.143e-06/0.1281, allocations: 0 / 436.3 MB, free: 6.324 MB / 410.7 MB Notification: Performance of Templates: time 0.163/0.2912, allocations: 12.16 MB / 448.4 MB, free: 105.8 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","/var/lib/jenkins/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: 5.430093104019761]