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.0007688/0.0007689, allocations: 87.11 kB / 16.31 MB, free: 6.449 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.0007762/0.0007762, allocations: 176.3 kB / 17.21 MB, free: 6.32 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.218/1.218, allocations: 223.3 MB / 241.2 MB, free: 280 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1555/0.1555, allocations: 38.08 MB / 330.4 MB, free: 8.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002673, allocations: 8 kB / 400.1 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0945/0.09478, allocations: 59.17 MB / 459.2 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01011/0.1049, allocations: 10.02 MB / 469.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006836/0.1118, allocations: 3.816 MB / 473.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001639/0.1135, allocations: 63.56 kB / 473.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.115, allocations: 325.8 kB / 473.5 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004263/0.1193, allocations: 0.9177 MB / 474.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.1212, allocations: 467.1 kB / 474.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002712/0.124, allocations: 2.178 MB / 477 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.126, allocations: 1.319 MB / 478.3 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009829/0.127, allocations: 0.6145 MB / 478.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.1281, allocations: 0.8645 MB / 479.8 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.1282, allocations: 56 kB / 479.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008332/0.129, allocations: 427.2 kB / 480.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005018/0.1295, allocations: 0.5923 MB / 480.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.1298, allocations: 265 kB / 481.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.1311, allocations: 1.43 MB / 482.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1311, allocations: 0 / 482.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1311, allocations: 0 / 482.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.1312, allocations: 0 / 482.6 MB, free: 15.97 MB / 366.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.002338/0.1335, allocations: 1.403 MB / 484 MB, free: 14.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.1335, allocations: 8.031 kB / 484 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.1349, allocations: 270 kB / 484.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.1364, allocations: 0.882 MB / 485.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-05/0.1365, allocations: 78.09 kB / 485.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002675/0.1367, allocations: 135.9 kB / 485.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.1388, allocations: 1.485 MB / 486.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.1388, allocations: 4 kB / 486.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.195e-05/0.1389, allocations: 43.98 kB / 486.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/0.1392, allocations: 106.1 kB / 487 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.141, allocations: 1.246 MB / 488.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006798/0.1478, allocations: 5.672 MB / 493.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008311/0.1487, allocations: 0.5944 MB / 494.5 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005175/0.1492, allocations: 403.2 kB / 494.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.809e-05/0.1492, allocations: 8.562 kB / 494.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.1493, allocations: 43.12 kB / 494.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 3.286e-06/0.1493, allocations: 0 / 494.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.006568/0.1559, allocations: 3.642 MB / 498.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.156, allocations: 85.77 kB / 498.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008141/0.1568, allocations: 0.7313 MB / 499.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/0.1568, allocations: 33.7 kB / 499.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003802/0.1572, allocations: 0.5957 MB / 0.4883 GB, free: 13.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.1574, allocations: 264.2 kB / 0.4885 GB, free: 13.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.1575, allocations: 24 kB / 0.4886 GB, free: 13.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1577, allocations: 402.7 kB / 0.4889 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.1582, allocations: 381.8 kB / 0.4893 GB, free: 12.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007055/0.1589, allocations: 0.6652 MB / 0.49 GB, free: 11.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006875/0.1596, allocations: 0.4987 MB / 0.4904 GB, free: 11.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1596, allocations: 4 kB / 0.4904 GB, free: 11.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002974/0.1626, allocations: 1.705 MB / 0.4921 GB, free: 9.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1626, allocations: 8 kB / 0.4921 GB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002387/0.165, allocations: 1.303 MB / 0.4934 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/0.1667, allocations: 0.5808 MB / 0.494 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000593/0.1673, allocations: 175.7 kB / 0.4941 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1964/0.3637, allocations: 9.421 MB / 0.5033 GB, free: 52.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007471/0.3645, allocations: 48.38 kB / 0.5034 GB, free: 52.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.3646, allocations: 41.36 kB / 0.5034 GB, free: 52.54 MB / 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 (93): * Single equations (assignments): 89 * 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%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006071/0.3652, allocations: 387.2 kB / 0.5038 GB, free: 52.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3653, allocations: 91.75 kB / 0.5039 GB, free: 52.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.3675, allocations: 1.251 MB / 0.5051 GB, free: 52.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.3675, allocations: 11.56 kB / 0.5051 GB, free: 52.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.3675, allocations: 5.156 kB / 0.5051 GB, free: 52.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.3675, allocations: 5.969 kB / 0.5051 GB, free: 52.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.3715, allocations: 2.395 MB / 0.5075 GB, free: 51.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.3716, allocations: 3.125 kB / 0.5075 GB, free: 51.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/0.372, allocations: 113.9 kB / 0.5076 GB, free: 51.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.373, allocations: 369.9 kB / 0.5079 GB, free: 51.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/0.3731, allocations: 26.92 kB / 0.5079 GB, free: 51.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006096/0.3792, allocations: 8.492 MB / 0.5162 GB, free: 44.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3792, allocations: 0.5 kB / 0.5162 GB, free: 44.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/0.382, allocations: 1.673 MB / 0.5179 GB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003712/0.3823, allocations: 229.4 kB / 0.5181 GB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.3825, allocations: 31.53 kB / 0.5181 GB, free: 43.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.3829, allocations: 26.56 kB / 0.5181 GB, free: 43.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.383, allocations: 61.78 kB / 0.5182 GB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.666e-05/0.3831, allocations: 25.84 kB / 0.5182 GB, free: 43.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006524/0.3837, allocations: 0.4976 MB / 0.5187 GB, free: 43 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.3837, allocations: 0 / 0.5187 GB, free: 43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001371/0.3851, allocations: 371.5 kB / 0.5191 GB, free: 42.96 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.0002667/0.3854, allocations: 144.7 kB / 0.5192 GB, free: 42.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002098/0.3875, allocations: 1.579 MB / 0.5207 GB, free: 42.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3875, allocations: 0 / 0.5207 GB, free: 42.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.3888, allocations: 1.086 MB / 0.5218 GB, free: 41.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008799/0.3897, allocations: 192.4 kB / 0.522 GB, free: 41.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.3934, allocations: 3.305 MB / 0.5252 GB, free: 39.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000618/0.394, allocations: 1.257 MB / 0.5264 GB, free: 38.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005494/0.3945, allocations: 220.7 kB / 0.5267 GB, free: 38.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.3947, allocations: 68.08 kB / 0.5267 GB, free: 38.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3947, allocations: 2.25 kB / 0.5267 GB, free: 38.52 MB / 382.1 MB Notification: Performance of Templates: time 0.01759/0.4123, allocations: 14.09 MB / 0.5405 GB, free: 28.48 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