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.0009812/0.0009812, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001382/0.001382, allocations: 161 kB / 24.56 MB, free: 16 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.057/1.057, allocations: 177.1 MB / 205 MB, free: 5.633 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.2596/0.2596, allocations: 29.41 MB / 290.9 MB, free: 2.488 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 1.603e-06/1.603e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.587e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.006745/0.006771, allocations: 6.974 MB / 376.6 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006858/0.01363, allocations: 5.347 MB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006398/0.01427, allocations: 31.75 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007837/0.02211, allocations: 5.504 MB / 387.5 MB, free: 9.062 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.02359, allocations: 0.6993 MB / 388.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000902/0.0245, allocations: 470.9 kB / 388.7 MB, free: 7.898 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002507/0.027, allocations: 2.346 MB / 391 MB, free: 5.547 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009568/0.02796, allocations: 1.006 MB / 392 MB, free: 4.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000954/0.02891, allocations: 0.8924 MB / 392.9 MB, free: 3.625 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007776/0.02969, allocations: 0.713 MB / 393.6 MB, free: 2.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.02982, allocations: 116 kB / 393.7 MB, free: 2.797 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006644/0.03049, allocations: 447.2 kB / 394.2 MB, free: 2.359 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003418/0.03083, allocations: 0.5299 MB / 394.7 MB, free: 1.828 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003735/0.0312, allocations: 431.1 kB / 395.1 MB, free: 1.406 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.03244, allocations: 1.137 MB / 396.3 MB, free: 272 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.03245, allocations: 3.938 kB / 396.3 MB, free: 268 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.03245, allocations: 0 / 396.3 MB, free: 268 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.03247, allocations: 4 kB / 396.3 MB, free: 264 kB / 362.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.002136/0.03461, allocations: 1.51 MB / 397.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.03465, allocations: 11.98 kB / 397.8 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006344/0.03528, allocations: 252 kB / 398 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.03641, allocations: 0.8953 MB / 398.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.03645, allocations: 61.98 kB / 399 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.0366, allocations: 91.94 kB / 399.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009181/0.03752, allocations: 0.7278 MB / 399.8 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.03755, allocations: 11.94 kB / 399.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.0376, allocations: 28 kB / 399.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/0.03774, allocations: 73.95 kB / 399.9 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006113/0.03835, allocations: 367.6 kB / 400.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003458/0.04181, allocations: 3.641 MB / 403.9 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/0.04239, allocations: 359 kB / 404.3 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.04258, allocations: 152.9 kB / 404.4 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.563e-05/0.04263, allocations: 12.5 kB / 404.4 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.04267, allocations: 45.83 kB / 404.5 MB, free: 7.711 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 4.058e-06/0.04267, allocations: 3.984 kB / 404.5 MB, free: 7.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002814/0.04548, allocations: 1.669 MB / 406.1 MB, free: 5.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.04554, allocations: 111.4 kB / 406.3 MB, free: 5.859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005542/0.0461, allocations: 0.6681 MB / 406.9 MB, free: 5.176 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.04613, allocations: 41.7 kB / 407 MB, free: 5.129 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.04642, allocations: 0.5497 MB / 407.5 MB, free: 4.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.04657, allocations: 249.9 kB / 407.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.04673, allocations: 152.3 kB / 407.9 MB, free: 4.164 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.04692, allocations: 0.5782 MB / 408.5 MB, free: 3.574 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.04712, allocations: 121.9 kB / 408.6 MB, free: 3.457 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.04748, allocations: 455.1 kB / 409 MB, free: 2.879 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/0.04832, allocations: 0.7628 MB / 409.8 MB, free: 2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.04833, allocations: 4 kB / 409.8 MB, free: 1.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001162/0.04949, allocations: 0.8473 MB / 410.7 MB, free: 1.133 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.04952, allocations: 8 kB / 410.7 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.04953, allocations: 4 kB / 410.7 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007681/0.0503, allocations: 339.2 kB / 411 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.05062, allocations: 147.8 kB / 411.1 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004107/0.05472, allocations: 5.149 MB / 416.3 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.05504, allocations: 31.98 kB / 416.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.05508, allocations: 32 kB / 416.4 MB, free: 11.2 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.000276/0.05536, allocations: 216.2 kB / 416.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.05548, allocations: 99.48 kB / 416.7 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007982/0.05628, allocations: 0.5741 MB / 417.2 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.05628, allocations: 4 kB / 417.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.05629, allocations: 15.94 kB / 417.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.0563, allocations: 3.984 kB / 417.3 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.05829, allocations: 1.394 MB / 418.7 MB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.05829, allocations: 0 / 418.7 MB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/0.05861, allocations: 119.8 kB / 418.8 MB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003066/0.05892, allocations: 155 kB / 418.9 MB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.05896, allocations: 23.98 kB / 419 MB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002652/0.06161, allocations: 6.062 MB / 425 MB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.06161, allocations: 0 / 425 MB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.06308, allocations: 0.881 MB / 425.9 MB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.0633, allocations: 127.4 kB / 426 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.149e-05/0.06337, allocations: 27.94 kB / 426 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.06354, allocations: 16.12 kB / 426.1 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.06362, allocations: 52.42 kB / 426.1 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.06365, allocations: 24 kB / 426.1 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003565/0.06401, allocations: 407 kB / 426.5 MB, free: 480 kB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06401, allocations: 0 / 426.5 MB, free: 480 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008223/0.06483, allocations: 263.9 kB / 426.8 MB, free: 216 kB / 394.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.001029/0.06586, allocations: 485.4 kB / 427.3 MB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.06706, allocations: 0.9451 MB / 428.2 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.06706, allocations: 4 kB / 428.2 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005711/0.06763, allocations: 0.7486 MB / 429 MB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.06823, allocations: 164.4 kB / 429.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.07131, allocations: 2.067 MB / 431.2 MB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.07154, allocations: 271.9 kB / 431.5 MB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003063/0.07185, allocations: 146.3 kB / 431.6 MB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.07196, allocations: 64.48 kB / 431.7 MB, free: 11.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.643e-06/0.07196, allocations: 0 / 431.7 MB, free: 11.33 MB / 410.7 MB Notification: Performance of Templates: time 0.1595/0.2314, allocations: 12.2 MB / 443.9 MB, free: 94.19 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.811990015208721]