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.00117/0.00117, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001923/0.001923, allocations: 170.3 kB / 24.91 MB, free: 8.777 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 1.051/1.051, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2662/0.2662, allocations: 29.42 MB / 291.2 MB, free: 2.438 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 1.984e-06/1.984e-06, allocations: 0 / 316.9 MB, free: 20 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.087e-05, allocations: 2.312 kB / 316.9 MB, free: 16 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.007011/0.007041, allocations: 7.017 MB / 323.9 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006709/0.01375, allocations: 5.29 MB / 329.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004097/0.01416, allocations: 31.75 kB / 329.2 MB, free: 3.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007327/0.02149, allocations: 5.624 MB / 334.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.02262, allocations: 0.7071 MB / 335.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007987/0.02342, allocations: 478.9 kB / 336 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001784/0.0252, allocations: 2.322 MB / 338.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008249/0.02603, allocations: 1.038 MB / 339.3 MB, free: 9.402 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008605/0.02689, allocations: 0.9704 MB / 340.3 MB, free: 8.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006131/0.0275, allocations: 0.6193 MB / 340.9 MB, free: 7.809 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.0276, allocations: 108 kB / 341 MB, free: 7.703 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005801/0.02818, allocations: 431.3 kB / 341.5 MB, free: 7.281 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003091/0.02849, allocations: 0.4948 MB / 342 MB, free: 6.785 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002974/0.02879, allocations: 399.1 kB / 342.3 MB, free: 6.395 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.02981, allocations: 1.102 MB / 343.5 MB, free: 5.289 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.02981, allocations: 4 kB / 343.5 MB, free: 5.285 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.02982, allocations: 0 / 343.5 MB, free: 5.285 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.02983, allocations: 0 / 343.5 MB, free: 5.285 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.001324/0.03115, allocations: 1.287 MB / 344.7 MB, free: 3.969 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.03119, allocations: 11.98 kB / 344.8 MB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004717/0.03166, allocations: 192.7 kB / 344.9 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007761/0.03244, allocations: 0.6741 MB / 345.6 MB, free: 3.066 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.03247, allocations: 61.98 kB / 345.7 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.0326, allocations: 91.94 kB / 345.8 MB, free: 2.918 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/0.03326, allocations: 0.6609 MB / 346.4 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.03329, allocations: 7.953 kB / 346.4 MB, free: 2.199 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.03334, allocations: 35.98 kB / 346.5 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.03345, allocations: 73.95 kB / 346.5 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.03381, allocations: 272.5 kB / 346.8 MB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002556/0.03636, allocations: 2.856 MB / 349.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.03678, allocations: 340.7 kB / 350 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.0369, allocations: 119.2 kB / 350.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.03694, allocations: 12.5 kB / 350.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.03696, allocations: 39.06 kB / 350.2 MB, free: 14.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=57): time 1.533e-06/0.03696, allocations: 0 / 350.2 MB, free: 14.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.001866/0.03883, allocations: 1.303 MB / 351.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.03888, allocations: 111.5 kB / 351.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/0.03926, allocations: 0.5919 MB / 352.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.03929, allocations: 41.7 kB / 352.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.03946, allocations: 401.4 kB / 352.6 MB, free: 11.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.03958, allocations: 249.8 kB / 352.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.03972, allocations: 146.6 kB / 353 MB, free: 11.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.03984, allocations: 402.6 kB / 353.4 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.03995, allocations: 88.78 kB / 353.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.04016, allocations: 325.1 kB / 353.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005347/0.04069, allocations: 0.6008 MB / 354.4 MB, free: 9.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.0407, allocations: 0 / 354.4 MB, free: 9.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0007536/0.04145, allocations: 0.6365 MB / 355 MB, free: 9.117 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.04147, allocations: 8 kB / 355 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.04148, allocations: 11.98 kB / 355 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005688/0.04205, allocations: 315.8 kB / 355.4 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.04231, allocations: 147.8 kB / 355.5 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/0.04531, allocations: 3.837 MB / 359.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.04551, allocations: 28 kB / 359.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.04554, allocations: 23.98 kB / 359.4 MB, free: 4.566 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.0001807/0.04572, allocations: 168.4 kB / 359.5 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.0458, allocations: 63.94 kB / 359.6 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005366/0.04634, allocations: 471.9 kB / 360.1 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.04634, allocations: 8 kB / 360.1 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.04634, allocations: 0 / 360.1 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.04635, allocations: 7.984 kB / 360.1 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.04755, allocations: 1.034 MB / 361.1 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.04755, allocations: 4 kB / 361.1 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.04784, allocations: 111.8 kB / 361.2 MB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002516/0.04809, allocations: 135 kB / 361.4 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.293e-05/0.04813, allocations: 35.91 kB / 361.4 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.05016, allocations: 4.384 MB / 365.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.05017, allocations: 7.938 kB / 365.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.05081, allocations: 0.7104 MB / 366.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.05094, allocations: 99.45 kB / 366.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.051, allocations: 23.98 kB / 366.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.05115, allocations: 12 kB / 366.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.05121, allocations: 48.41 kB / 366.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.05123, allocations: 19.98 kB / 366.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001845/0.05142, allocations: 256.5 kB / 367 MB, free: 12.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05142, allocations: 7.938 kB / 367 MB, free: 12.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005893/0.05201, allocations: 263.9 kB / 367.2 MB, free: 12.28 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.001344/0.05335, allocations: 0.571 MB / 367.8 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008569/0.05421, allocations: 0.7642 MB / 368.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.05422, allocations: 8 kB / 368.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004144/0.05463, allocations: 0.549 MB / 369.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.05509, allocations: 178.7 kB / 369.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.05754, allocations: 1.847 MB / 371.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.05774, allocations: 275.8 kB / 371.4 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002328/0.05798, allocations: 106.4 kB / 371.5 MB, free: 8.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.05824, allocations: 193.3 kB / 371.7 MB, free: 7.969 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.05824, allocations: 0 / 371.7 MB, free: 7.969 MB / 346.7 MB Notification: Performance of Templates: time 0.01592/0.07416, allocations: 12.96 MB / 384.6 MB, free: 11.2 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.4617538056336343]