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.001013/0.001013, 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.001135/0.001135, allocations: 174.3 kB / 24.91 MB, free: 8.766 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2496/0.2496, allocations: 29.43 MB / 291.2 MB, free: 2.477 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.964e-06/1.964e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.999e-05, allocations: 2.875 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01043/0.01046, allocations: 7.062 MB / 324 MB, free: 8.863 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0094/0.01986, allocations: 5.302 MB / 329.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007427/0.0206, allocations: 35.75 kB / 329.3 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007146/0.02775, allocations: 5.523 MB / 334.8 MB, free: 13.97 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.02891, allocations: 0.6915 MB / 335.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007804/0.02969, allocations: 482.8 kB / 336 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001915/0.0316, allocations: 2.318 MB / 338.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000945/0.03255, allocations: 1.034 MB / 339.3 MB, free: 9.406 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.03361, allocations: 0.9703 MB / 340.3 MB, free: 8.434 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.03478, allocations: 0.6194 MB / 340.9 MB, free: 7.812 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.03493, allocations: 104 kB / 341 MB, free: 7.711 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007454/0.03567, allocations: 443.3 kB / 341.5 MB, free: 7.277 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003845/0.03606, allocations: 0.5026 MB / 342 MB, free: 6.773 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003761/0.03643, allocations: 399.2 kB / 342.3 MB, free: 6.383 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.0377, allocations: 1.102 MB / 343.5 MB, free: 5.277 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.03771, allocations: 0 / 343.5 MB, free: 5.277 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.03771, allocations: 0 / 343.5 MB, free: 5.277 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.03773, allocations: 0 / 343.5 MB, free: 5.277 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.001528/0.03925, allocations: 1.283 MB / 344.7 MB, free: 3.965 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.03929, allocations: 11.98 kB / 344.7 MB, free: 3.953 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005648/0.03986, allocations: 200.7 kB / 344.9 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008421/0.0407, allocations: 0.6664 MB / 345.6 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.04073, allocations: 58 kB / 345.7 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.04086, allocations: 95.86 kB / 345.8 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/0.04154, allocations: 0.6649 MB / 346.4 MB, free: 2.199 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.04157, allocations: 3.953 kB / 346.4 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.04162, allocations: 31.98 kB / 346.5 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.04173, allocations: 73.95 kB / 346.5 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.04212, allocations: 280.5 kB / 346.8 MB, free: 1.816 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003031/0.04515, allocations: 2.856 MB / 349.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.04558, allocations: 338.1 kB / 350 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.0457, allocations: 122.2 kB / 350.1 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.04573, allocations: 12.5 kB / 350.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.04576, allocations: 47 kB / 350.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=57): time 1.933e-06/0.04576, allocations: 0 / 350.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.001953/0.04771, allocations: 1.306 MB / 351.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.04776, allocations: 111.5 kB / 351.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.04816, allocations: 0.5958 MB / 352.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.0482, allocations: 37.7 kB / 352.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.04836, allocations: 401.4 kB / 352.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.0485, allocations: 257.8 kB / 352.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.04864, allocations: 146.5 kB / 353 MB, free: 11.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.04875, allocations: 394.6 kB / 353.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.04887, allocations: 88.73 kB / 353.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.0491, allocations: 329.1 kB / 353.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/0.04965, allocations: 0.5969 MB / 354.4 MB, free: 9.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.04966, allocations: 0 / 354.4 MB, free: 9.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001057/0.05071, allocations: 0.6405 MB / 355 MB, free: 9.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.05073, allocations: 15.92 kB / 355 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.05074, allocations: 4 kB / 355.1 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/0.05133, allocations: 307.8 kB / 355.4 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.05164, allocations: 159.8 kB / 355.5 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/0.0548, allocations: 3.852 MB / 359.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/0.05809, allocations: 20 kB / 359.4 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-05/0.05813, allocations: 35.98 kB / 359.4 MB, free: 4.516 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.0002093/0.05834, allocations: 164.5 kB / 359.6 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.05845, allocations: 63.94 kB / 359.6 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006929/0.05914, allocations: 464 kB / 360.1 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.05914, allocations: 4 kB / 360.1 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.05915, allocations: 8 kB / 360.1 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.05916, allocations: 7.984 kB / 360.1 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.06066, allocations: 1.042 MB / 361.2 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.06066, allocations: 0 / 361.2 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003453/0.06412, allocations: 134.3 kB / 361.3 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003237/0.06444, allocations: 139.1 kB / 361.4 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.06449, allocations: 23.98 kB / 361.4 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005802/0.07029, allocations: 4.395 MB / 365.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.07029, allocations: 0 / 365.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008569/0.07115, allocations: 0.7105 MB / 366.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.0713, allocations: 99.39 kB / 366.6 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.401e-05/0.07138, allocations: 20 kB / 366.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.07159, allocations: 16.16 kB / 366.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.345e-05/0.07168, allocations: 60.33 kB / 366.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.07171, allocations: 15.94 kB / 366.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002491/0.07196, allocations: 256.5 kB / 367 MB, free: 12.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.07196, allocations: 0 / 367 MB, free: 12.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008345/0.0728, allocations: 263.9 kB / 367.3 MB, free: 12.22 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.004459/0.07726, allocations: 0.578 MB / 367.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.07829, allocations: 0.7572 MB / 368.6 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/0.07831, allocations: 12.31 kB / 368.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00352/0.08183, allocations: 0.563 MB / 369.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/0.08246, allocations: 173.4 kB / 369.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/0.08859, allocations: 1.834 MB / 371.2 MB, free: 8.496 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.08883, allocations: 275.8 kB / 371.4 MB, free: 8.207 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002795/0.08911, allocations: 102.4 kB / 371.5 MB, free: 8.102 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.08942, allocations: 201.2 kB / 371.7 MB, free: 7.902 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.08942, allocations: 0 / 371.7 MB, free: 7.902 MB / 346.7 MB Notification: Performance of Templates: time 0.04454/0.134, allocations: 13 MB / 384.7 MB, free: 11.1 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 -s gbode -gbm=radauIIA3 -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.3656029123812914]