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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008011/0.0008011, allocations: 94.81 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009058/0.0009059, allocations: 186.4 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 223.2 MB / 241.1 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1543/0.1543, allocations: 38.09 MB / 330.3 MB, free: 8.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.0003021, allocations: 12 kB / 400 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1062, allocations: 59.17 MB / 459.1 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.009701/0.116, allocations: 9.549 MB / 468.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006008/0.122, allocations: 3.809 MB / 472.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009569/0.123, allocations: 63.56 kB / 472.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007763/0.1238, allocations: 322.2 kB / 472.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.1257, allocations: 0.7243 MB / 473.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.1269, allocations: 467 kB / 474.1 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.1282, allocations: 0.9365 MB / 475 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/0.1302, allocations: 1.307 MB / 476.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008119/0.131, allocations: 0.5176 MB / 476.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007564/0.1318, allocations: 0.5685 MB / 477.4 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.803e-05/0.1319, allocations: 52 kB / 477.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007603/0.1326, allocations: 407.2 kB / 477.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004286/0.1331, allocations: 0.53 MB / 478.4 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.1333, allocations: 265.1 kB / 478.6 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.1346, allocations: 1.418 MB / 480 MB, free: 2.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.1346, allocations: 3.938 kB / 480 MB, free: 2.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1346, allocations: 0 / 480 MB, free: 2.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.1347, allocations: 4 kB / 480 MB, free: 2.402 MB / 350.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.002368/0.1371, allocations: 1.399 MB / 481.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.1371, allocations: 8.031 kB / 481.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.1386, allocations: 286 kB / 481.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.1403, allocations: 0.8861 MB / 482.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/0.1404, allocations: 82.09 kB / 482.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00028/0.1407, allocations: 139.7 kB / 482.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.1426, allocations: 1.47 MB / 484.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.1426, allocations: 7.984 kB / 484.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.93e-05/0.1427, allocations: 40 kB / 484.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002736/0.143, allocations: 106.1 kB / 484.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.1448, allocations: 1.23 MB / 485.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007331/0.1521, allocations: 5.668 MB / 491.4 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000869/0.153, allocations: 0.6014 MB / 492 MB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/0.1531, allocations: 16.61 kB / 492 MB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1531, allocations: 43.12 kB / 492 MB, free: 5.879 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.415e-06/0.1531, allocations: 0 / 492 MB, free: 5.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.00653/0.1597, allocations: 3.521 MB / 495.5 MB, free: 2.223 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.1598, allocations: 85.77 kB / 495.6 MB, free: 2.121 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008415/0.1606, allocations: 0.7312 MB / 496.4 MB, free: 1.383 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.856e-05/0.1607, allocations: 37.7 kB / 496.4 MB, free: 1.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.1611, allocations: 0.5841 MB / 497 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.1613, allocations: 268.2 kB / 497.2 MB, free: 492 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.1613, allocations: 20 kB / 497.3 MB, free: 472 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1615, allocations: 406.7 kB / 497.6 MB, free: 56 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005391/0.162, allocations: 385.8 kB / 498 MB, free: 15.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006982/0.1628, allocations: 0.6535 MB / 498.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006863/0.1634, allocations: 0.5026 MB / 499.2 MB, free: 14.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1635, allocations: 4 kB / 499.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003031/0.1665, allocations: 1.698 MB / 0.4891 GB, free: 12.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.1665, allocations: 8 kB / 0.4892 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002343/0.1689, allocations: 1.295 MB / 0.4904 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/0.1706, allocations: 0.573 MB / 0.491 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.1712, allocations: 175.7 kB / 0.4911 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/0.1819, allocations: 9.645 MB / 0.5006 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008354/0.1828, allocations: 47.97 kB / 0.5006 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.416e-05/0.1829, allocations: 44 kB / 0.5007 GB, free: 320 kB / 382.1 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 (94): * Single equations (assignments): 90 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.2081/0.391, allocations: 374.2 kB / 0.501 GB, free: 53.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/0.3913, allocations: 87.44 kB / 0.5011 GB, free: 53.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.3938, allocations: 1.25 MB / 0.5023 GB, free: 53.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.3938, allocations: 9.422 kB / 0.5023 GB, free: 53.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.3938, allocations: 4.719 kB / 0.5023 GB, free: 53.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.3939, allocations: 4.578 kB / 0.5023 GB, free: 53.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004272/0.3981, allocations: 2.391 MB / 0.5047 GB, free: 53.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.3982, allocations: 2.156 kB / 0.5047 GB, free: 53.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/0.3986, allocations: 115.7 kB / 0.5048 GB, free: 53.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.3997, allocations: 371.3 kB / 0.5051 GB, free: 53.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/0.3998, allocations: 26.89 kB / 0.5052 GB, free: 53.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005955/0.4057, allocations: 8.572 MB / 0.5135 GB, free: 46.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.4058, allocations: 6.547 kB / 0.5135 GB, free: 46.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.4083, allocations: 1.773 MB / 0.5153 GB, free: 45.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.4087, allocations: 236.3 kB / 0.5155 GB, free: 45.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.4088, allocations: 24.48 kB / 0.5155 GB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.4092, allocations: 29.38 kB / 0.5155 GB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.4094, allocations: 64.75 kB / 0.5156 GB, free: 45.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/0.4094, allocations: 22.92 kB / 0.5156 GB, free: 45.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006559/0.4101, allocations: 0.497 MB / 0.5161 GB, free: 44.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4101, allocations: 0 / 0.5161 GB, free: 44.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001862/0.412, allocations: 368.2 kB / 0.5165 GB, free: 44.81 MB / 382.1 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 (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.0003397/0.4123, allocations: 147.6 kB / 0.5166 GB, free: 44.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.4147, allocations: 1.568 MB / 0.5181 GB, free: 43.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4147, allocations: 3.938 kB / 0.5181 GB, free: 43.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.4162, allocations: 1.09 MB / 0.5192 GB, free: 43.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009184/0.4171, allocations: 177.1 kB / 0.5194 GB, free: 43.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.4213, allocations: 3.289 MB / 0.5226 GB, free: 41.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007574/0.4221, allocations: 1.279 MB / 0.5238 GB, free: 40.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00064/0.4227, allocations: 220.3 kB / 0.524 GB, free: 40.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.4229, allocations: 69.86 kB / 0.5241 GB, free: 40.42 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4229, allocations: 0 / 0.5241 GB, free: 40.42 MB / 382.1 MB Notification: Performance of Templates: time 0.01871/0.4416, allocations: 14.03 MB / 0.5378 GB, free: 31.45 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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