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.001445/0.001445, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001494/0.001494, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.39/1.39, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 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.1651/0.1651, allocations: 29.43 MB / 290.1 MB, free: 3.285 MB / 270.1 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 8.12e-07/8.12e-07, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.251e-05/3.332e-05, allocations: 6.219 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01034/0.01037, allocations: 7.213 MB / 437.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009155/0.01953, allocations: 5.113 MB / 443 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005528/0.02008, allocations: 39.69 kB / 443.1 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2002/0.2203, allocations: 5.731 MB / 448.8 MB, free: 19.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.2223, allocations: 0.6964 MB / 449.5 MB, free: 19.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.2236, allocations: 488.1 kB / 450 MB, free: 19.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004148/0.2277, allocations: 2.329 MB / 452.3 MB, free: 19.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.2292, allocations: 0.9762 MB / 453.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.2309, allocations: 0.8994 MB / 454.2 MB, free: 18.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.2321, allocations: 0.6924 MB / 454.9 MB, free: 18.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.2323, allocations: 117.4 kB / 455 MB, free: 18.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000906/0.2332, allocations: 446.5 kB / 455.4 MB, free: 18.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005514/0.2337, allocations: 0.52 MB / 456 MB, free: 18.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005865/0.2343, allocations: 424.8 kB / 456.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002723/0.237, allocations: 1.806 MB / 458.2 MB, free: 18.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.237, allocations: 0 / 458.2 MB, free: 18.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.237, allocations: 1.5 kB / 458.2 MB, free: 18.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.398e-05/0.2371, allocations: 0 / 458.2 MB, free: 18.28 MB / 366.1 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.002738/0.2398, allocations: 1.394 MB / 459.6 MB, free: 17.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.2399, allocations: 17.33 kB / 459.6 MB, free: 17.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008349/0.2407, allocations: 181.4 kB / 459.8 MB, free: 17.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.2424, allocations: 0.9015 MB / 460.7 MB, free: 16.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.2425, allocations: 56.89 kB / 460.7 MB, free: 16.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/0.2428, allocations: 104.1 kB / 460.8 MB, free: 16.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.2446, allocations: 1.088 MB / 461.9 MB, free: 16.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.2446, allocations: 11.95 kB / 461.9 MB, free: 16.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-05/0.2447, allocations: 30.52 kB / 462 MB, free: 16.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000234/0.2449, allocations: 73.19 kB / 462 MB, free: 16.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.2462, allocations: 0.8343 MB / 462.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004887/0.2511, allocations: 3.512 MB / 466.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008861/0.252, allocations: 0.506 MB / 466.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004061/0.2524, allocations: 288.4 kB / 467.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.547e-05/0.2524, allocations: 11.91 kB / 467.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.2525, allocations: 41.69 kB / 467.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.395e-06/0.2525, allocations: 1.312 kB / 467.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004544/0.257, allocations: 2.372 MB / 469.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.257, allocations: 110.4 kB / 469.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008038/0.2579, allocations: 0.6883 MB / 470.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.2579, allocations: 37.73 kB / 470.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/0.2582, allocations: 496.2 kB / 470.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.2583, allocations: 242.8 kB / 471.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.2586, allocations: 155.3 kB / 471.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2587, allocations: 392.6 kB / 471.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004535/0.2591, allocations: 313.5 kB / 472 MB, free: 10.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/0.2597, allocations: 0.5356 MB / 472.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003676/0.2633, allocations: 1.595 MB / 474.1 MB, free: 9.453 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.2634, allocations: 7.156 kB / 474.1 MB, free: 9.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002163/0.2655, allocations: 1.259 MB / 475.4 MB, free: 8.812 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.2655, allocations: 8.062 kB / 475.4 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.2655, allocations: 7.094 kB / 475.4 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.2667, allocations: 402.5 kB / 475.8 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/0.2672, allocations: 151.3 kB / 475.9 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005942/0.2731, allocations: 5.819 MB / 481.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/0.2737, allocations: 28.58 kB / 481.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/0.2738, allocations: 37.72 kB / 481.8 MB, free: 4.105 MB / 366.1 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.0005779/0.2743, allocations: 358.9 kB / 482.2 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.2745, allocations: 83.58 kB / 482.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.2758, allocations: 0.895 MB / 483.1 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2758, allocations: 7 kB / 483.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2758, allocations: 2.438 kB / 483.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.2759, allocations: 0 / 483.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.2784, allocations: 1.689 MB / 484.8 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2784, allocations: 4.562 kB / 484.9 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/0.279, allocations: 119.5 kB / 485 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004793/0.2795, allocations: 196.2 kB / 485.2 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/0.2795, allocations: 27.98 kB / 485.2 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004286/0.2838, allocations: 5.061 MB / 490.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2838, allocations: 4 kB / 490.3 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.2859, allocations: 1.27 MB / 491.5 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.2862, allocations: 127.4 kB / 491.6 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.2863, allocations: 23.94 kB / 491.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.2867, allocations: 19.98 kB / 491.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.2868, allocations: 51.5 kB / 491.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.2868, allocations: 28.05 kB / 491.8 MB, free: 10.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006431/0.2875, allocations: 479 kB / 492.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2875, allocations: 0 / 492.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001122/0.2886, allocations: 267.8 kB / 492.5 MB, free: 9.746 MB / 382.1 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.001733/0.2903, allocations: 0.5032 MB / 493 MB, free: 9.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002054/0.2924, allocations: 1.1 MB / 494.1 MB, free: 8.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2924, allocations: 1.188 kB / 494.1 MB, free: 8.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.2934, allocations: 0.6962 MB / 494.8 MB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009203/0.2943, allocations: 176.6 kB / 495 MB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/0.2982, allocations: 2.262 MB / 497.2 MB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006562/0.2988, allocations: 0.548 MB / 497.8 MB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004689/0.2993, allocations: 158.3 kB / 497.9 MB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.2995, allocations: 60.48 kB / 498 MB, free: 4.375 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2995, allocations: 0 / 498 MB, free: 4.375 MB / 382.1 MB Notification: Performance of Templates: time 0.02305/0.3225, allocations: 12.08 MB / 0.4981 GB, free: 8.492 MB / 398.1 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.053178258240223]