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.001081/0.001081, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.0009862/0.0009862, allocations: 171.2 kB / 24.82 MB, free: 9.262 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.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.3604/0.3604, allocations: 29.42 MB / 291.2 MB, free: 2.453 MB / 266.7 MB " [Timeout remaining time 179] 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 2.915e-06/2.915e-06, allocations: 3.938 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.879e-05, allocations: 5.828 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.007594/0.007622, allocations: 6.983 MB / 377.1 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007805/0.01543, allocations: 5.192 MB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007003/0.01613, allocations: 31.75 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008556/0.02468, allocations: 5.718 MB / 388 MB, free: 8.723 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.02621, allocations: 0.6992 MB / 388.7 MB, free: 8.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.02726, allocations: 474.9 kB / 389.2 MB, free: 7.555 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002458/0.02972, allocations: 2.35 MB / 391.6 MB, free: 5.199 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.03083, allocations: 1.006 MB / 392.6 MB, free: 4.172 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.03198, allocations: 0.9781 MB / 393.5 MB, free: 3.191 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007074/0.03269, allocations: 0.6467 MB / 394.2 MB, free: 2.543 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.0328, allocations: 104 kB / 394.3 MB, free: 2.441 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007354/0.03354, allocations: 443.2 kB / 394.7 MB, free: 2.008 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003484/0.03389, allocations: 0.4948 MB / 395.2 MB, free: 1.512 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.03421, allocations: 399.1 kB / 395.6 MB, free: 1.121 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.03562, allocations: 1.102 MB / 396.7 MB, free: 16 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.03562, allocations: 0 / 396.7 MB, free: 16 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.03562, allocations: 0 / 396.7 MB, free: 16 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.03564, allocations: 0 / 396.7 MB, free: 16 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.001972/0.03761, allocations: 1.447 MB / 398.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.03765, allocations: 15.97 kB / 398.2 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006748/0.03833, allocations: 228.1 kB / 398.4 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.03947, allocations: 0.8252 MB / 399.2 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.782e-05/0.03953, allocations: 58 kB / 399.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.0397, allocations: 91.92 kB / 399.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009039/0.0406, allocations: 0.6846 MB / 400 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.04063, allocations: 3.984 kB / 400.1 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.056e-05/0.04069, allocations: 28 kB / 400.1 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001501/0.04084, allocations: 73.95 kB / 400.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.04136, allocations: 297.6 kB / 400.4 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00384/0.0452, allocations: 3.598 MB / 404 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.04574, allocations: 332.3 kB / 404.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.04592, allocations: 136 kB / 404.5 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.04596, allocations: 16 kB / 404.5 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.046, allocations: 45.83 kB / 404.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.264e-06/0.046, allocations: 0 / 404.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002533/0.04853, allocations: 1.319 MB / 405.9 MB, free: 6.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.04859, allocations: 115.4 kB / 406 MB, free: 6.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006034/0.04919, allocations: 0.6559 MB / 406.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.04923, allocations: 41.7 kB / 406.7 MB, free: 5.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.04957, allocations: 0.5496 MB / 407.2 MB, free: 5.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.04975, allocations: 254.3 kB / 407.5 MB, free: 4.797 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.04995, allocations: 160.2 kB / 407.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002538/0.05021, allocations: 0.5819 MB / 408.2 MB, free: 4.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.05037, allocations: 97.84 kB / 408.3 MB, free: 3.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.05074, allocations: 427 kB / 408.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004384/0.05512, allocations: 0.6806 MB / 409.4 MB, free: 2.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.05513, allocations: 4 kB / 409.4 MB, free: 2.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001251/0.05638, allocations: 0.7767 MB / 410.2 MB, free: 1.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.0564, allocations: 8 kB / 410.2 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.05641, allocations: 11.98 kB / 410.2 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007766/0.05719, allocations: 323.2 kB / 410.5 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.05755, allocations: 143.8 kB / 410.7 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007394/0.06494, allocations: 5 MB / 415.7 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.06522, allocations: 20 kB / 415.7 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.06526, allocations: 28 kB / 415.7 MB, free: 12.05 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.0002153/0.06548, allocations: 220.4 kB / 415.9 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.06561, allocations: 103.4 kB / 416 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003853/0.06946, allocations: 0.5272 MB / 416.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.06947, allocations: 4 kB / 416.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.06947, allocations: 4 kB / 416.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.06948, allocations: 3.984 kB / 416.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.07122, allocations: 1.211 MB / 417.8 MB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.07123, allocations: 0 / 417.8 MB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.0716, allocations: 115.8 kB / 417.9 MB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003238/0.07193, allocations: 143 kB / 418 MB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00307/0.075, allocations: 27.92 kB / 418.1 MB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006305/0.0813, allocations: 5.978 MB / 424 MB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.08131, allocations: 3.938 kB / 424 MB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.08234, allocations: 0.8226 MB / 424.9 MB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.08251, allocations: 115.4 kB / 425 MB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.075e-05/0.08259, allocations: 20 kB / 425 MB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.0828, allocations: 16.08 kB / 425 MB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.121e-05/0.08289, allocations: 64.27 kB / 425.1 MB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.08292, allocations: 12 kB / 425.1 MB, free: 2.156 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003142/0.08324, allocations: 382.9 kB / 425.5 MB, free: 1.785 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.08324, allocations: 4 kB / 425.5 MB, free: 1.781 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003818/0.08706, allocations: 259.9 kB / 425.7 MB, free: 1.527 MB / 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.001156/0.08821, allocations: 480.6 kB / 426.2 MB, free: 1.219 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.08933, allocations: 0.9026 MB / 427.1 MB, free: 292 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.08933, allocations: 4 kB / 427.1 MB, free: 288 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003649/0.09298, allocations: 0.7324 MB / 427.8 MB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006433/0.09363, allocations: 161.1 kB / 428 MB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/0.098, allocations: 2.041 MB / 430 MB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.09827, allocations: 283.8 kB / 430.3 MB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000293/0.09856, allocations: 106.4 kB / 430.4 MB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.0989, allocations: 222.1 kB / 430.6 MB, free: 12.61 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0989, allocations: 0 / 430.6 MB, free: 12.61 MB / 410.7 MB Notification: Performance of Templates: time 0.175/0.2739, allocations: 12.94 MB / 443.6 MB, free: 94.06 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.9802396479062736]