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.001095/0.001095, 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.00162/0.00162, allocations: 171.8 kB / 24.82 MB, free: 8.934 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.135/1.135, allocations: 177.2 MB / 205.3 MB, free: 5.477 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.2854/0.2854, allocations: 29.43 MB / 291.2 MB, free: 2.391 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.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|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="Time|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 3.076e-06/3.076e-06, allocations: 0 / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.52e-05/5.828e-05, allocations: 5.547 kB / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.009523/0.009582, allocations: 6.574 MB / 376.7 MB, free: 4.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004969/0.01455, allocations: 2.73 MB / 379.4 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004707/0.01502, allocations: 35.69 kB / 379.5 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.01644, allocations: 0.583 MB / 380.1 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.01803, allocations: 0.7072 MB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008974/0.01892, allocations: 398.9 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001694/0.02062, allocations: 1.363 MB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007958/0.02141, allocations: 0.549 MB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.02249, allocations: 0.8066 MB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.02353, allocations: 0.6117 MB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.02366, allocations: 72 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007036/0.02437, allocations: 395.2 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004693/0.02483, allocations: 482.8 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004099/0.02524, allocations: 351.2 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.02649, allocations: 0.9381 MB / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.02649, allocations: 4 kB / 386.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02649, allocations: 0 / 386.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.02651, allocations: 0 / 386.7 MB, free: 10.03 MB / 362.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.001907/0.02842, allocations: 1.3 MB / 388 MB, free: 8.691 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.02848, allocations: 11.98 kB / 388 MB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009343/0.02941, allocations: 264.1 kB / 388.3 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009559/0.03037, allocations: 0.5973 MB / 388.9 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/0.03042, allocations: 62.36 kB / 388.9 MB, free: 7.738 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.03063, allocations: 100.6 kB / 389 MB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009728/0.0316, allocations: 0.7018 MB / 389.7 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.03163, allocations: 0 / 389.7 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.03169, allocations: 35.98 kB / 389.8 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.03183, allocations: 69.95 kB / 389.8 MB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.03242, allocations: 325.5 kB / 390.1 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004088/0.03651, allocations: 3.778 MB / 393.9 MB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.03686, allocations: 194.5 kB / 394.1 MB, free: 2.285 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.03705, allocations: 124 kB / 394.2 MB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.03708, allocations: 8.5 kB / 394.2 MB, free: 2.152 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.03713, allocations: 49.81 kB / 394.3 MB, free: 2.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.815e-06/0.03713, allocations: 0 / 394.3 MB, free: 2.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001739/0.03887, allocations: 0.854 MB / 395.1 MB, free: 1.203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.03892, allocations: 93.73 kB / 395.2 MB, free: 1.094 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.03943, allocations: 0.5294 MB / 395.8 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.03946, allocations: 33.7 kB / 395.8 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/0.03984, allocations: 0.5374 MB / 396.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.04, allocations: 198.3 kB / 396.5 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.04021, allocations: 156.2 kB / 396.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002474/0.04046, allocations: 0.5546 MB / 397.2 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.04062, allocations: 77.94 kB / 397.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.04099, allocations: 404.6 kB / 397.7 MB, free: 14.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.04163, allocations: 0.5409 MB / 398.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.04164, allocations: 4 kB / 398.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001258/0.0429, allocations: 0.6784 MB / 398.9 MB, free: 13.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.04293, allocations: 8 kB / 398.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007407/0.04367, allocations: 387.9 kB / 399.3 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/0.04428, allocations: 190.8 kB / 399.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.04469, allocations: 139.8 kB / 399.6 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004514/0.04921, allocations: 5.711 MB / 405.3 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.04953, allocations: 31.98 kB / 405.4 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.04958, allocations: 24 kB / 405.4 MB, free: 6.211 MB / 378.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.0002542/0.04983, allocations: 208.2 kB / 405.6 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.04995, allocations: 79.58 kB / 405.7 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005594/0.0505, allocations: 372.1 kB / 406 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.05051, allocations: 8 kB / 406.1 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.05051, allocations: 0 / 406.1 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.05052, allocations: 4 kB / 406.1 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.052, allocations: 0.9506 MB / 407 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.05201, allocations: 0 / 407 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/0.05245, allocations: 124 kB / 407.1 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.05246, allocations: 4 kB / 407.1 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/0.05249, allocations: 15.98 kB / 407.1 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.0525, allocations: 15.88 kB / 407.2 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.05251, allocations: 7.984 kB / 407.2 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.05325, allocations: 0.6273 MB / 407.8 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.05341, allocations: 87.53 kB / 407.9 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.05347, allocations: 15.94 kB / 407.9 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.05367, allocations: 12 kB / 407.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.05373, allocations: 36.44 kB / 407.9 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.05376, allocations: 15.98 kB / 408 MB, free: 3.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002758/0.05403, allocations: 322.7 kB / 408.3 MB, free: 3.223 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05403, allocations: 0 / 408.3 MB, free: 3.223 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006666/0.0547, allocations: 208 kB / 408.5 MB, free: 3.02 MB / 378.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.0001612/0.05486, allocations: 122.3 kB / 408.6 MB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.05598, allocations: 0.937 MB / 409.5 MB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.05599, allocations: 4.062 kB / 409.5 MB, free: 1.895 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.0562, allocations: 151.4 kB / 409.7 MB, free: 1.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006561/0.05686, allocations: 132 kB / 409.8 MB, free: 1.617 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.05999, allocations: 1.74 MB / 411.6 MB, free: 15.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.06025, allocations: 238.8 kB / 411.8 MB, free: 15.56 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002889/0.06053, allocations: 93.41 kB / 411.9 MB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/0.06086, allocations: 194.1 kB / 412.1 MB, free: 15.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.302e-06/0.06086, allocations: 4 kB / 412.1 MB, free: 15.27 MB / 394.7 MB Notification: Performance of Templates: time 0.01524/0.0761, allocations: 8.699 MB / 420.8 MB, free: 6.688 MB / 394.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 -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: 3.686597303021699]