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.0006978/0.000698, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.0009141/0.0009142, allocations: 182 kB / 17.56 MB, free: 6.203 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.248/1.248, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1625/0.1625, allocations: 38.09 MB / 330.8 MB, free: 8.52 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 15.98 kB / 400.7 MB, free: 34.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09852/0.09881, allocations: 59.17 MB / 459.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01005/0.1089, allocations: 10.66 MB / 470.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007651/0.1166, allocations: 4.044 MB / 474.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009422/0.1176, allocations: 63.56 kB / 474.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008026/0.1184, allocations: 282.2 kB / 474.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.1202, allocations: 0.821 MB / 475.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009031/0.1211, allocations: 427.3 kB / 476.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.1236, allocations: 2.771 MB / 478.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/0.1256, allocations: 1.426 MB / 480.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008886/0.1265, allocations: 0.6065 MB / 481 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.1276, allocations: 0.8799 MB / 481.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.1278, allocations: 60 kB / 481.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008654/0.1286, allocations: 0.5069 MB / 482.4 MB, free: 384 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005217/0.1292, allocations: 0.5804 MB / 483 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005926/0.1298, allocations: 0.6429 MB / 483.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.1314, allocations: 1.81 MB / 485.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1314, allocations: 0 / 485.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1314, allocations: 0 / 485.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.1314, allocations: 0 / 485.5 MB, free: 13.32 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.002433/0.1339, allocations: 1.387 MB / 486.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1339, allocations: 12.03 kB / 486.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.1355, allocations: 278.9 kB / 487.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.137, allocations: 0.8946 MB / 488 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.137, allocations: 78.09 kB / 488.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002941/0.1373, allocations: 139.9 kB / 488.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.1394, allocations: 1.489 MB / 489.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.1394, allocations: 11.98 kB / 489.7 MB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-05/0.1395, allocations: 40 kB / 489.8 MB, free: 8.836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002808/0.1398, allocations: 102.2 kB / 489.9 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.1416, allocations: 1.262 MB / 491.1 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006986/0.1486, allocations: 5.672 MB / 496.8 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000951/0.1496, allocations: 0.587 MB / 497.4 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.1501, allocations: 407.1 kB / 497.8 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.933e-05/0.1502, allocations: 8.562 kB / 497.8 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.1503, allocations: 47.11 kB / 497.8 MB, free: 380 kB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.795e-06/0.1503, allocations: 0 / 497.8 MB, free: 380 kB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.007013/0.1573, allocations: 3.646 MB / 0.4897 GB, free: 12.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.1574, allocations: 93.73 kB / 0.4898 GB, free: 12.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008372/0.1582, allocations: 0.7313 MB / 0.4905 GB, free: 11.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/0.1583, allocations: 37.7 kB / 0.4906 GB, free: 11.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.1586, allocations: 0.5957 MB / 0.4912 GB, free: 11.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.1589, allocations: 264.1 kB / 0.4914 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.159, allocations: 93.66 kB / 0.4915 GB, free: 10.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.1592, allocations: 398.7 kB / 0.4919 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/0.1598, allocations: 393.8 kB / 0.4923 GB, free: 9.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007549/0.1606, allocations: 0.6613 MB / 0.4929 GB, free: 9.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.1619, allocations: 1.144 MB / 0.494 GB, free: 7.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.1619, allocations: 4 kB / 0.494 GB, free: 7.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003073/0.165, allocations: 1.709 MB / 0.4957 GB, free: 6.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.165, allocations: 8 kB / 0.4957 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002465/0.1675, allocations: 1.311 MB / 0.497 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.1693, allocations: 0.577 MB / 0.4975 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/0.1699, allocations: 171.7 kB / 0.4977 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2336/0.4035, allocations: 9.449 MB / 0.5069 GB, free: 51.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008965/0.4045, allocations: 51.31 kB / 0.507 GB, free: 51.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.532e-05/0.4045, allocations: 41.39 kB / 0.507 GB, free: 51.5 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0006838/0.4052, allocations: 385.9 kB / 0.5074 GB, free: 51.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.4054, allocations: 93.56 kB / 0.5075 GB, free: 51.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.4077, allocations: 1.247 MB / 0.5087 GB, free: 50.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.4077, allocations: 12.41 kB / 0.5087 GB, free: 50.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.4077, allocations: 4.125 kB / 0.5087 GB, free: 50.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.4077, allocations: 5.188 kB / 0.5087 GB, free: 50.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004163/0.4119, allocations: 2.396 MB / 0.5111 GB, free: 49.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.4119, allocations: 6.062 kB / 0.5111 GB, free: 49.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/0.4123, allocations: 107.7 kB / 0.5112 GB, free: 49.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/0.4134, allocations: 381.8 kB / 0.5115 GB, free: 49.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/0.4135, allocations: 23.34 kB / 0.5116 GB, free: 49.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006349/0.4199, allocations: 8.508 MB / 0.5199 GB, free: 42.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4199, allocations: 2.156 kB / 0.5199 GB, free: 42.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.4227, allocations: 1.683 MB / 0.5215 GB, free: 41.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/0.4231, allocations: 230 kB / 0.5217 GB, free: 41.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.4232, allocations: 28 kB / 0.5218 GB, free: 41.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.4237, allocations: 24.33 kB / 0.5218 GB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.4238, allocations: 68.86 kB / 0.5218 GB, free: 41.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.4239, allocations: 22.3 kB / 0.5219 GB, free: 41.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006438/0.4245, allocations: 0.5075 MB / 0.5224 GB, free: 41.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4245, allocations: 0 / 0.5224 GB, free: 41.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0014/0.426, allocations: 364 kB / 0.5227 GB, free: 41.2 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003455/0.4263, allocations: 159.5 kB / 0.5229 GB, free: 41.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.4286, allocations: 1.573 MB / 0.5244 GB, free: 40.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4286, allocations: 7.062 kB / 0.5244 GB, free: 40.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.43, allocations: 1.088 MB / 0.5255 GB, free: 39.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.4313, allocations: 196.7 kB / 0.5257 GB, free: 39.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.4358, allocations: 3.372 MB / 0.5289 GB, free: 37.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009666/0.4368, allocations: 1.255 MB / 0.5302 GB, free: 36.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007055/0.4375, allocations: 213.7 kB / 0.5304 GB, free: 36.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.4377, allocations: 73.38 kB / 0.5304 GB, free: 36.64 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4377, allocations: 3.938 kB / 0.5304 GB, free: 36.64 MB / 382.1 MB Notification: Performance of Templates: time 0.02178/0.4595, allocations: 14.44 MB / 0.5446 GB, free: 25.25 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