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.0008108/0.0008108, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001115/0.001926, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007088/0.0007088, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009019/0.001611, allocations: 455.6 kB / 11.71 MB, free: 2.457 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.9588/0.9588, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08801/1.047, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.1145/0.1145, allocations: 29.44 MB / 273.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1527/0.2672, allocations: 9.531 MB / 283 MB, free: 12.85 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.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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="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.784e-06/1.784e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.046e-05, allocations: 2.969 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.007397/0.007417, allocations: 7.129 MB / 291.4 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007198/0.01462, allocations: 5.321 MB / 296.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000486/0.0151, allocations: 31.75 kB / 296.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0073/0.0224, allocations: 5.313 MB / 302 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.02369, allocations: 0.7187 MB / 302.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008584/0.02455, allocations: 474.8 kB / 303.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.02641, allocations: 2.311 MB / 305.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007852/0.0272, allocations: 0.9988 MB / 306.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009438/0.02814, allocations: 1.04 MB / 307.6 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005806/0.02872, allocations: 0.6427 MB / 308.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.605e-05/0.02882, allocations: 104 kB / 308.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005962/0.02941, allocations: 439.3 kB / 308.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.0297, allocations: 466.9 kB / 309.2 MB, free: 5.777 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.02998, allocations: 335.4 kB / 309.5 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009696/0.03095, allocations: 1.039 MB / 310.6 MB, free: 4.406 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.387e-05/0.03096, allocations: 0 / 310.6 MB, free: 4.406 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.03096, allocations: 0 / 310.6 MB, free: 4.406 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.03098, allocations: 0 / 310.6 MB, free: 4.406 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001616/0.0326, allocations: 1.533 MB / 312.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.03263, allocations: 8.031 kB / 312.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005359/0.03317, allocations: 277.8 kB / 312.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007888/0.03396, allocations: 0.6703 MB / 313 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.03399, allocations: 58 kB / 313.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.03413, allocations: 91.92 kB / 313.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000624/0.03475, allocations: 0.6609 MB / 313.9 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.03477, allocations: 11.94 kB / 313.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.03482, allocations: 28 kB / 313.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.03493, allocations: 73.95 kB / 314 MB, free: 0.875 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.03527, allocations: 261.7 kB / 314.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/0.03782, allocations: 2.849 MB / 317.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.03823, allocations: 352.2 kB / 317.4 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.03835, allocations: 115.2 kB / 317.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.03838, allocations: 8.5 kB / 317.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.03841, allocations: 39.06 kB / 317.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 2.164e-06/0.03841, allocations: 0 / 317.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.002109/0.04052, allocations: 1.292 MB / 318.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.04056, allocations: 89.75 kB / 319 MB, free: 11.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.04094, allocations: 0.5919 MB / 319.5 MB, free: 11.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.04097, allocations: 37.7 kB / 319.6 MB, free: 11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.04113, allocations: 409.4 kB / 320 MB, free: 10.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.04126, allocations: 249.8 kB / 320.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.0414, allocations: 146.5 kB / 320.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.04151, allocations: 394.6 kB / 320.8 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.774e-05/0.04161, allocations: 73.97 kB / 320.8 MB, free: 9.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.04181, allocations: 333 kB / 321.2 MB, free: 9.312 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/0.04236, allocations: 0.5786 MB / 321.7 MB, free: 8.648 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.04236, allocations: 4 kB / 321.7 MB, free: 8.645 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0007632/0.04312, allocations: 0.6365 MB / 322.4 MB, free: 7.992 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.04314, allocations: 8 kB / 322.4 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.04315, allocations: 4 kB / 322.4 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/0.04372, allocations: 311.8 kB / 322.7 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.04404, allocations: 171.8 kB / 322.9 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/0.04712, allocations: 3.866 MB / 326.7 MB, free: 3.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.04732, allocations: 24.06 kB / 326.7 MB, free: 3.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.04735, allocations: 32 kB / 326.8 MB, free: 3.395 MB / 314.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.0001588/0.04751, allocations: 160.4 kB / 326.9 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.479e-05/0.04758, allocations: 67.94 kB / 327 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005279/0.04811, allocations: 459.9 kB / 327.4 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.04811, allocations: 15.98 kB / 327.5 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.04812, allocations: 4 kB / 327.5 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.04812, allocations: 0 / 327.5 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.04927, allocations: 1.034 MB / 328.5 MB, free: 1.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.04927, allocations: 0 / 328.5 MB, free: 1.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003428/0.04962, allocations: 139.8 kB / 328.6 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.04974, allocations: 107.6 kB / 328.7 MB, free: 1.332 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002517/0.04999, allocations: 138.9 kB / 328.9 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.05002, allocations: 19.98 kB / 328.9 MB, free: 1.164 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.05205, allocations: 4.392 MB / 333.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.05205, allocations: 11.94 kB / 333.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006217/0.05268, allocations: 0.7048 MB / 334 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.05274, allocations: 24.03 kB / 334 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.05288, allocations: 12 kB / 334 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.05294, allocations: 44.41 kB / 334.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.05296, allocations: 19.92 kB / 334.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.05313, allocations: 252.6 kB / 334.4 MB, free: 11.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05313, allocations: 3.938 kB / 334.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005537/0.05369, allocations: 267.9 kB / 334.6 MB, free: 11.1 MB / 330.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.001277/0.05496, allocations: 0.6296 MB / 335.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000781/0.05575, allocations: 0.7617 MB / 336 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.453e-05/0.05577, allocations: 15.98 kB / 336 MB, free: 10.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.05615, allocations: 0.5514 MB / 336.6 MB, free: 9.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.05663, allocations: 255.1 kB / 336.8 MB, free: 9.199 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.0685, allocations: 1.913 MB / 338.7 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.06873, allocations: 298.4 kB / 339 MB, free: 6.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002648/0.069, allocations: 106.4 kB / 339.1 MB, free: 6.801 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.06924, allocations: 189.2 kB / 339.3 MB, free: 6.613 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.06924, allocations: 4 kB / 339.3 MB, free: 6.609 MB / 330.7 MB Notification: Performance of Templates: time 0.01831/0.08756, allocations: 13.23 MB / 352.6 MB, free: 9.551 MB / 346.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 -ignoreHideResult -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.071667669340968]