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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002165/0.002165, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008503/0.0008501, allocations: 85.55 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2017/0.2017, allocations: 37.99 MB / 348 MB, free: 7.781 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.833e-05/1.836e-05, allocations: 4 kB / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1283, allocations: 56.33 MB / 466.9 MB, free: 6.555 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4602/0.5886, allocations: 116.2 MB / 0.5694 GB, free: 10.7 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.589, allocations: 91.95 kB / 0.5695 GB, free: 10.61 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1026/0.6915, allocations: 37.7 MB / 0.6063 GB, free: 4.445 MB / 443.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6916, allocations: 0 / 0.6063 GB, free: 4.445 MB / 443.1 MB Notification: Performance of Transformations before backend: time 6.814e-05/0.6917, allocations: 28 kB / 0.6064 GB, free: 4.418 MB / 443.1 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.002567/0.6942, allocations: 1.296 MB / 0.6076 GB, free: 3.07 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.6943, allocations: 8.031 kB / 0.6076 GB, free: 3.062 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.6958, allocations: 254.2 kB / 0.6079 GB, free: 2.812 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003893/0.6997, allocations: 1.541 MB / 0.6094 GB, free: 1.227 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/0.6998, allocations: 32 kB / 0.6094 GB, free: 1.195 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.7, allocations: 75.84 kB / 0.6095 GB, free: 1.121 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001612/0.7016, allocations: 1.008 MB / 0.6105 GB, free: 112 kB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.7036, allocations: 1.303 MB / 0.6118 GB, free: 14.73 MB / 459.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/0.7036, allocations: 0 / 0.6118 GB, free: 14.73 MB / 459.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.19e-05/0.7037, allocations: 8 kB / 0.6118 GB, free: 14.73 MB / 459.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.7038, allocations: 90.17 kB / 0.6118 GB, free: 14.64 MB / 459.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007214/0.7111, allocations: 5.294 MB / 0.617 GB, free: 9.043 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009029/0.712, allocations: 0.6678 MB / 0.6177 GB, free: 8.336 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004819/0.7125, allocations: 371.3 kB / 0.618 GB, free: 7.969 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.15e-05/0.7126, allocations: 20.53 kB / 0.618 GB, free: 7.949 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.7126, allocations: 47.06 kB / 0.6181 GB, free: 7.895 MB / 459.1 MB Notification: Performance of pre-optimization done (n=69): time 3.918e-06/0.7126, allocations: 0 / 0.6181 GB, free: 7.895 MB / 459.1 MB Notification: Performance of matching and sorting (n=78): time 0.004952/0.7176, allocations: 2.614 MB / 0.6206 GB, free: 5.211 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.7177, allocations: 89.92 kB / 0.6207 GB, free: 5.105 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006828/0.7184, allocations: 0.5428 MB / 0.6213 GB, free: 4.559 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.7184, allocations: 25.7 kB / 0.6213 GB, free: 4.527 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.7188, allocations: 0.5917 MB / 0.6219 GB, free: 3.926 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.719, allocations: 276 kB / 0.6221 GB, free: 3.652 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.7191, allocations: 0 / 0.6221 GB, free: 3.652 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.7192, allocations: 394.7 kB / 0.6225 GB, free: 3.258 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.7198, allocations: 374.5 kB / 0.6229 GB, free: 2.891 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006897/0.7205, allocations: 0.6512 MB / 0.6235 GB, free: 2.109 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006747/0.7211, allocations: 0.4963 MB / 0.624 GB, free: 1.613 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.7212, allocations: 4 kB / 0.624 GB, free: 1.609 MB / 459.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003127/0.7243, allocations: 1.622 MB / 0.6256 GB, free: 15.96 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.7243, allocations: 12.28 kB / 0.6256 GB, free: 15.95 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002575/0.7269, allocations: 1.273 MB / 0.6268 GB, free: 14.67 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/0.7288, allocations: 0.5924 MB / 0.6274 GB, free: 14.06 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/0.7295, allocations: 175.7 kB / 0.6276 GB, free: 13.89 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.7403, allocations: 9.247 MB / 0.6366 GB, free: 4.148 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009897/0.7413, allocations: 24.02 kB / 0.6366 GB, free: 4.125 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/0.7414, allocations: 47.95 kB / 0.6367 GB, free: 4.078 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002195/0.7417, allocations: 136.7 kB / 0.6368 GB, free: 3.938 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.7418, allocations: 90.88 kB / 0.6369 GB, free: 3.848 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/0.744, allocations: 1.185 MB / 0.638 GB, free: 2.637 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.744, allocations: 15.94 kB / 0.6381 GB, free: 2.621 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.744, allocations: 4 kB / 0.6381 GB, free: 2.617 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.744, allocations: 3.984 kB / 0.6381 GB, free: 2.613 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003945/0.748, allocations: 2.267 MB / 0.6403 GB, free: 268 kB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.748, allocations: 4 kB / 0.6403 GB, free: 264 kB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/0.7485, allocations: 107.9 kB / 0.6404 GB, free: 156 kB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2593/1.008, allocations: 378.5 kB / 0.6407 GB, free: 128.6 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/1.008, allocations: 16.23 kB / 0.6408 GB, free: 128.6 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006922/1.015, allocations: 8.24 MB / 0.6488 GB, free: 122.5 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/1.015, allocations: 1.969 kB / 0.6488 GB, free: 122.5 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002944/1.018, allocations: 1.756 MB / 0.6505 GB, free: 122.1 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00046/1.018, allocations: 228.9 kB / 0.6507 GB, free: 122 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/1.019, allocations: 14.58 kB / 0.6508 GB, free: 122 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/1.019, allocations: 16.44 kB / 0.6508 GB, free: 122 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/1.019, allocations: 64.11 kB / 0.6508 GB, free: 122 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.622e-05/1.019, allocations: 29.2 kB / 0.6509 GB, free: 122 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0006469/1.02, allocations: 427.1 kB / 0.6513 GB, free: 121.9 MB / 475.1 MB Notification: Performance of sort global known variables: time 2.51e-07/1.02, allocations: 1.125 kB / 0.6513 GB, free: 121.9 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.001803/1.022, allocations: 327.9 kB / 0.6516 GB, free: 121.9 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.w,generator.phi_el,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003892/1.022, allocations: 182.8 kB / 0.6518 GB, free: 121.8 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.002417/1.025, allocations: 1.503 MB / 0.6532 GB, free: 121.4 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.025, allocations: 0 / 0.6532 GB, free: 121.4 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/1.026, allocations: 1.042 MB / 0.6542 GB, free: 120.9 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009343/1.027, allocations: 158.1 kB / 0.6544 GB, free: 120.9 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/1.031, allocations: 2.19 MB / 0.6565 GB, free: 120.3 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/1.032, allocations: 1.286 MB / 0.6578 GB, free: 119.5 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.0007848/1.033, allocations: 235.8 kB / 0.658 GB, free: 119.5 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/1.033, allocations: 62.86 kB / 0.6581 GB, free: 119.5 MB / 475.1 MB Notification: Performance of SimCode: time 2.054e-06/1.033, allocations: 1.125 kB / 0.6581 GB, free: 119.5 MB / 475.1 MB Notification: Performance of Templates: time 0.02392/1.057, allocations: 13.34 MB / 0.6711 GB, free: 118.8 MB / 475.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile (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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches