Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.001004/0.001004, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.00111/0.00111, allocations: 173 kB / 24.91 MB, free: 9.203 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 0.9769/0.9769, 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.2558/0.2558, allocations: 29.42 MB / 291.2 MB, free: 2.414 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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|generator.powerAngle|sensor.p.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|generator.powerAngle|sensor.p.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.982e-05/4.122e-05, allocations: 2.312 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.008544/0.008585, allocations: 8.076 MB / 324.9 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006501/0.01509, allocations: 3.366 MB / 328.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.01619, allocations: 47.62 kB / 328.4 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.01809, allocations: 0.8202 MB / 329.2 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.02057, allocations: 0.9168 MB / 330.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.02193, allocations: 0.4986 MB / 330.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002661/0.02459, allocations: 1.828 MB / 332.4 MB, free: 356 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.02576, allocations: 0.8019 MB / 333.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.02732, allocations: 1.118 MB / 334.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.0287, allocations: 0.8065 MB / 335.1 MB, free: 13.58 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.02892, allocations: 103.9 kB / 335.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000864/0.02979, allocations: 467.2 kB / 335.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005112/0.0303, allocations: 0.678 MB / 336.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006366/0.03094, allocations: 490.9 kB / 336.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.03266, allocations: 1.296 MB / 338.2 MB, free: 10.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.03267, allocations: 0 / 338.2 MB, free: 10.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.03267, allocations: 0 / 338.2 MB, free: 10.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.472e-05/0.03273, allocations: 0 / 338.2 MB, free: 10.56 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.002045/0.03477, allocations: 1.48 MB / 339.6 MB, free: 9.047 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.061e-05/0.03484, allocations: 8.031 kB / 339.6 MB, free: 9.039 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.03588, allocations: 332.5 kB / 340 MB, free: 8.715 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.03695, allocations: 0.7016 MB / 340.7 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/0.037, allocations: 82.48 kB / 340.8 MB, free: 7.902 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.03723, allocations: 135.8 kB / 340.9 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.03825, allocations: 0.8754 MB / 341.8 MB, free: 6.824 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.03828, allocations: 7.984 kB / 341.8 MB, free: 6.816 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.33e-05/0.03835, allocations: 44 kB / 341.8 MB, free: 6.773 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/0.0385, allocations: 102.2 kB / 341.9 MB, free: 6.672 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006011/0.0391, allocations: 384 kB / 342.3 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0043/0.0434, allocations: 3.89 MB / 346.2 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.04377, allocations: 322.8 kB / 346.5 MB, free: 1.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.04393, allocations: 143.3 kB / 346.6 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.04397, allocations: 12.66 kB / 346.6 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.044, allocations: 43.16 kB / 346.7 MB, free: 1.629 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 3.216e-06/0.044, allocations: 0 / 346.7 MB, free: 1.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.003263/0.04726, allocations: 1.633 MB / 348.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003377/0.0476, allocations: 85.77 kB / 348.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.04802, allocations: 0.5894 MB / 349 MB, free: 15.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.04806, allocations: 37.7 kB / 349 MB, free: 15.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.04831, allocations: 0.5204 MB / 349.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.04849, allocations: 289.5 kB / 349.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.04867, allocations: 166.5 kB / 350 MB, free: 14.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.0488, allocations: 410.5 kB / 350.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.04895, allocations: 97.95 kB / 350.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.04923, allocations: 389.2 kB / 350.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005813/0.04981, allocations: 0.5997 MB / 351.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.04982, allocations: 0 / 351.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001376/0.05119, allocations: 0.8993 MB / 352.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.05121, allocations: 8 kB / 352.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008983/0.05211, allocations: 0.5808 MB / 353 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.05329, allocations: 0.5163 MB / 353.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.05364, allocations: 159.7 kB / 353.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005672/0.05932, allocations: 6.682 MB / 360.3 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/0.0599, allocations: 39.95 kB / 360.4 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.05994, allocations: 35.94 kB / 360.4 MB, free: 3.145 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003321/0.06027, allocations: 164.4 kB / 360.5 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.06039, allocations: 75.92 kB / 360.6 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008457/0.06124, allocations: 0.6248 MB / 361.2 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.06125, allocations: 8 kB / 361.3 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.06125, allocations: 4 kB / 361.3 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.06126, allocations: 3.984 kB / 361.3 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.06335, allocations: 1.292 MB / 362.6 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.06335, allocations: 4 kB / 362.6 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.06359, allocations: 99.83 kB / 362.7 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006258/0.06422, allocations: 290.2 kB / 362.9 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.06427, allocations: 27.97 kB / 363 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004419/0.06869, allocations: 7.221 MB / 370.2 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.06869, allocations: 0 / 370.2 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.06988, allocations: 0.8906 MB / 371.1 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.07017, allocations: 119.4 kB / 371.2 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.898e-05/0.07025, allocations: 31.89 kB / 371.2 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.07046, allocations: 12 kB / 371.2 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.07059, allocations: 68.41 kB / 371.3 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.07062, allocations: 19.98 kB / 371.3 MB, free: 7.512 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002501/0.07087, allocations: 268.5 kB / 371.6 MB, free: 7.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07087, allocations: 0 / 371.6 MB, free: 7.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001048/0.07191, allocations: 336 kB / 371.9 MB, free: 6.922 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,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.0001742/0.07209, allocations: 104.4 kB / 372 MB, free: 6.812 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.07338, allocations: 1.07 MB / 373.1 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.382e-05/0.07342, allocations: 8.5 kB / 373.1 MB, free: 5.684 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008605/0.07428, allocations: 0.8819 MB / 374 MB, free: 4.734 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007727/0.07505, allocations: 215.8 kB / 374.2 MB, free: 4.531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.07842, allocations: 2.109 MB / 376.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.07888, allocations: 335.2 kB / 376.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003346/0.07922, allocations: 115.3 kB / 376.7 MB, free: 1.891 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.0795, allocations: 201.3 kB / 376.9 MB, free: 1.691 MB / 346.7 MB Notification: Performance of SimCode: time 1.563e-06/0.0795, allocations: 0 / 376.9 MB, free: 1.691 MB / 346.7 MB Notification: Performance of Templates: time 0.02203/0.1015, allocations: 15.24 MB / 392.2 MB, free: 2.668 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.4136991458944976]