Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.001487/0.001487, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002104/0.003592, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00157/0.00157, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001877/0.003447, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9488/0.9488, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08182/1.031, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.129/0.129, allocations: 29.44 MB / 273.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1289/0.2579, allocations: 9.524 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="generator.powerAngle|sensor.p.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="generator.powerAngle|sensor.p.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.709e-05, allocations: 5.594 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.006339/0.006356, allocations: 6.722 MB / 291 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003869/0.01023, allocations: 2.822 MB / 293.8 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003569/0.01058, allocations: 37.78 kB / 293.8 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.01159, allocations: 0.7157 MB / 294.5 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.01279, allocations: 0.7514 MB / 295.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.01341, allocations: 378.6 kB / 295.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.0147, allocations: 1.415 MB / 297.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005437/0.01525, allocations: 0.5608 MB / 297.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008236/0.01607, allocations: 0.8663 MB / 298.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007441/0.01681, allocations: 0.6116 MB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.412e-05/0.0169, allocations: 76 kB / 299.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005263/0.01743, allocations: 379.3 kB / 299.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002824/0.01771, allocations: 446.9 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.01798, allocations: 303.4 kB / 300.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008059/0.01878, allocations: 0.8797 MB / 301.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552e-05/0.0188, allocations: 0 / 301.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.0188, allocations: 0 / 301.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.01882, allocations: 3.938 kB / 301.2 MB, free: 13.82 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001368/0.02019, allocations: 1.367 MB / 302.5 MB, free: 12.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.02022, allocations: 8.031 kB / 302.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006686/0.02089, allocations: 313.7 kB / 302.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006712/0.02156, allocations: 0.5555 MB / 303.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.02159, allocations: 66.36 kB / 303.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.02173, allocations: 104.5 kB / 303.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006211/0.02235, allocations: 0.6703 MB / 304.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.02238, allocations: 3.984 kB / 304.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.02243, allocations: 35.98 kB / 304.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.056e-05/0.02252, allocations: 69.97 kB / 304.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.02289, allocations: 285.6 kB / 304.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/0.02547, allocations: 3.02 MB / 307.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.02572, allocations: 218.7 kB / 307.9 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.02584, allocations: 110 kB / 308 MB, free: 6.715 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.02587, allocations: 12.48 kB / 308 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.0259, allocations: 43 kB / 308 MB, free: 6.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 2.595e-06/0.0259, allocations: 4 kB / 308 MB, free: 6.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.001189/0.02709, allocations: 0.7873 MB / 308.8 MB, free: 5.828 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.02713, allocations: 85.67 kB / 308.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.02745, allocations: 478.8 kB / 309.4 MB, free: 5.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.02748, allocations: 37.7 kB / 309.4 MB, free: 5.203 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.02766, allocations: 421 kB / 309.8 MB, free: 4.785 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.02776, allocations: 202.2 kB / 310 MB, free: 4.586 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.02789, allocations: 134.5 kB / 310.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.028, allocations: 382.6 kB / 310.5 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.02809, allocations: 65.97 kB / 310.6 MB, free: 4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.02828, allocations: 304.9 kB / 310.9 MB, free: 3.609 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.02863, allocations: 453 kB / 311.3 MB, free: 3.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.02864, allocations: 4 kB / 311.3 MB, free: 3.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000739/0.02938, allocations: 0.5541 MB / 311.9 MB, free: 2.496 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.0294, allocations: 12.03 kB / 311.9 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004215/0.02982, allocations: 316 kB / 312.2 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004159/0.03023, allocations: 182.8 kB / 312.4 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.03061, allocations: 171.7 kB / 312.6 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.03317, allocations: 4.09 MB / 316.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.03338, allocations: 28 kB / 316.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.03341, allocations: 27.98 kB / 316.7 MB, free: 13.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.03356, allocations: 164.4 kB / 316.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.03363, allocations: 55.89 kB / 316.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.03395, allocations: 313 kB / 317.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.03395, allocations: 8 kB / 317.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.03395, allocations: 4 kB / 317.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.03396, allocations: 3.984 kB / 317.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000894/0.03485, allocations: 0.8246 MB / 318.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.03485, allocations: 0 / 318.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.03525, allocations: 162.2 kB / 318.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.03535, allocations: 75.55 kB / 318.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.03535, allocations: 7.938 kB / 318.3 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.03538, allocations: 19.98 kB / 318.3 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.03538, allocations: 4 kB / 318.3 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.03538, allocations: 3.938 kB / 318.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/0.0358, allocations: 0.5328 MB / 318.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.03585, allocations: 19.92 kB / 318.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.03597, allocations: 15.94 kB / 318.9 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.03601, allocations: 36.38 kB / 318.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.03603, allocations: 12 kB / 318.9 MB, free: 11.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.03616, allocations: 204.4 kB / 319.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.03616, allocations: 0 / 319.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004161/0.03658, allocations: 212 kB / 319.4 MB, free: 10.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001046/0.03668, allocations: 100.3 kB / 319.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006972/0.03738, allocations: 0.7401 MB / 320.2 MB, free: 9.723 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.44e-05/0.0374, allocations: 16.5 kB / 320.2 MB, free: 9.707 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.03756, allocations: 136.6 kB / 320.3 MB, free: 9.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005096/0.03807, allocations: 225.5 kB / 320.6 MB, free: 9.359 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/0.05139, allocations: 1.645 MB / 322.2 MB, free: 7.656 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.05159, allocations: 242.8 kB / 322.4 MB, free: 7.398 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002736/0.05186, allocations: 89.55 kB / 322.5 MB, free: 7.309 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.05211, allocations: 177.3 kB / 322.7 MB, free: 7.133 MB / 314.7 MB Notification: Performance of SimCode: time 1.123e-06/0.05211, allocations: 0 / 322.7 MB, free: 7.133 MB / 314.7 MB Notification: Performance of Templates: time 0.01183/0.06394, allocations: 9.095 MB / 331.8 MB, free: 14.2 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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: 2.9191168155521154]