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.001836/0.001836, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002251/0.002251, allocations: 169.7 kB / 24.27 MB, free: 144 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.53/1.53, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3331/0.3331, allocations: 29.41 MB / 290.5 MB, free: 2.445 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 2.836e-06/2.836e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.517e-05/5.801e-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.02008/0.02014, allocations: 7.236 MB / 376.1 MB, free: 4.047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01589/0.03603, allocations: 5.09 MB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.03714, allocations: 39.75 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01466/0.0518, allocations: 5.815 MB / 387.1 MB, free: 9.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.0544, allocations: 0.6955 MB / 387.8 MB, free: 8.371 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.05595, allocations: 478.8 kB / 388.2 MB, free: 7.902 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004415/0.06037, allocations: 2.354 MB / 390.6 MB, free: 5.543 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/0.06192, allocations: 0.9948 MB / 391.6 MB, free: 4.527 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.06349, allocations: 0.9039 MB / 392.5 MB, free: 3.621 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.06472, allocations: 0.6856 MB / 393.2 MB, free: 2.934 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.06493, allocations: 124 kB / 393.3 MB, free: 2.812 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009626/0.06589, allocations: 447.3 kB / 393.7 MB, free: 2.375 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005839/0.06648, allocations: 0.522 MB / 394.2 MB, free: 1.852 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006013/0.06708, allocations: 419.1 kB / 394.7 MB, free: 1.441 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00266/0.06974, allocations: 1.811 MB / 396.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.06974, allocations: 0 / 396.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.06974, allocations: 0 / 396.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.06976, allocations: 0 / 396.5 MB, free: 15.62 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.003142/0.0729, allocations: 1.39 MB / 397.9 MB, free: 14.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.07295, allocations: 11.98 kB / 397.9 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.07399, allocations: 256 kB / 398.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.07614, allocations: 0.9627 MB / 399.1 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.07621, allocations: 58 kB / 399.1 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/0.07643, allocations: 95.97 kB / 399.2 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.0784, allocations: 1.08 MB / 400.3 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.07844, allocations: 11.94 kB / 400.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.605e-05/0.07853, allocations: 35.98 kB / 400.4 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002607/0.07879, allocations: 73.95 kB / 400.4 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.08033, allocations: 0.8314 MB / 401.3 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00652/0.08685, allocations: 3.528 MB / 404.8 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.08798, allocations: 0.515 MB / 405.3 MB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/0.08848, allocations: 291.1 kB / 405.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.238e-05/0.08854, allocations: 8.5 kB / 405.6 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.79e-05/0.0886, allocations: 39.06 kB / 405.6 MB, free: 6.156 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.855e-06/0.0886, allocations: 0 / 405.6 MB, free: 6.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.005526/0.09412, allocations: 2.399 MB / 408 MB, free: 3.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.724e-05/0.09422, allocations: 111.4 kB / 408.1 MB, free: 3.582 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.09526, allocations: 0.6916 MB / 408.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/0.09532, allocations: 37.7 kB / 408.9 MB, free: 2.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.0958, allocations: 492.2 kB / 409.4 MB, free: 2.355 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.09607, allocations: 245.9 kB / 409.6 MB, free: 2.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.09633, allocations: 150.6 kB / 409.7 MB, free: 1.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000267/0.0966, allocations: 398.8 kB / 410.1 MB, free: 1.559 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006407/0.09724, allocations: 305.8 kB / 410.4 MB, free: 1.262 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007811/0.09802, allocations: 0.5439 MB / 411 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004426/0.1024, allocations: 1.593 MB / 412.6 MB, free: 14.94 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.1025, allocations: 4 kB / 412.6 MB, free: 14.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00278/0.1052, allocations: 1.286 MB / 413.9 MB, free: 13.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.1053, allocations: 8.406 kB / 413.9 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.1053, allocations: 12 kB / 413.9 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.1068, allocations: 453.3 kB / 414.3 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.1074, allocations: 155.7 kB / 414.5 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009186/0.1165, allocations: 5.845 MB / 420.3 MB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007499/0.1173, allocations: 43.88 kB / 420.4 MB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.379e-05/0.1174, allocations: 32 kB / 420.4 MB, free: 6.914 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.0007287/0.1181, allocations: 361.4 kB / 420.7 MB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.1183, allocations: 103.5 kB / 420.8 MB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.1202, allocations: 0.8822 MB / 421.7 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1202, allocations: 8 kB / 421.7 MB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.1202, allocations: 7.938 kB / 421.7 MB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1202, allocations: 3.984 kB / 421.7 MB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/0.1238, allocations: 1.705 MB / 423.5 MB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.1238, allocations: 0 / 423.5 MB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.1244, allocations: 115.9 kB / 423.6 MB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006698/0.1251, allocations: 198.5 kB / 423.8 MB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/0.1252, allocations: 23.98 kB / 423.8 MB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005837/0.131, allocations: 5.094 MB / 428.9 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.131, allocations: 4 kB / 428.9 MB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.1335, allocations: 1.285 MB / 430.2 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003722/0.1338, allocations: 131.4 kB / 430.3 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.1339, allocations: 20 kB / 430.3 MB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.1343, allocations: 16.05 kB / 430.3 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.1344, allocations: 56.41 kB / 430.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/0.1345, allocations: 19.98 kB / 430.4 MB, free: 12.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007515/0.1352, allocations: 483 kB / 430.9 MB, free: 11.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1352, allocations: 0 / 430.9 MB, free: 11.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001228/0.1365, allocations: 263.9 kB / 431.1 MB, free: 11.72 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.002199/0.1387, allocations: 0.5021 MB / 431.6 MB, free: 11.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002451/0.1411, allocations: 1.102 MB / 432.7 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.1411, allocations: 0 / 432.7 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.1423, allocations: 0.6901 MB / 433.4 MB, free: 9.543 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.1433, allocations: 182.8 kB / 433.6 MB, free: 9.371 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.1478, allocations: 2.304 MB / 435.9 MB, free: 7.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008071/0.1486, allocations: 0.5518 MB / 436.5 MB, free: 6.438 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005547/0.1492, allocations: 154.3 kB / 436.6 MB, free: 6.281 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.1494, allocations: 60.48 kB / 436.7 MB, free: 6.223 MB / 410.7 MB Notification: Performance of SimCode: time 1.874e-06/0.1494, allocations: 4 kB / 436.7 MB, free: 6.219 MB / 410.7 MB Notification: Performance of Templates: time 0.1788/0.3282, allocations: 12.14 MB / 448.8 MB, free: 107.6 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=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/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.635184371029027]