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.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.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|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.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|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.TurbineGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008125/0.0008126, allocations: 97.39 kB / 16.3 MB, free: 5.535 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.0008066/0.0008066, allocations: 179.5 kB / 17.19 MB, free: 5.469 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.206/1.206, allocations: 223.2 MB / 241.1 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1529/0.1529, allocations: 38.09 MB / 330.3 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003695, allocations: 12.62 kB / 400 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1117, allocations: 59.17 MB / 459.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.007782/0.1195, allocations: 7.468 MB / 466.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004717/0.1243, allocations: 3.127 MB / 469.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006384/0.125, allocations: 51.62 kB / 469.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004807/0.1254, allocations: 214.7 kB / 470 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.1269, allocations: 0.5879 MB / 470.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008471/0.1277, allocations: 351.3 kB / 470.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009044/0.1287, allocations: 0.7337 MB / 471.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.1299, allocations: 0.8968 MB / 472.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005132/0.1304, allocations: 406.5 kB / 473 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005382/0.1309, allocations: 410.5 kB / 473.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.15e-05/0.131, allocations: 36 kB / 473.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006049/0.1316, allocations: 359.4 kB / 473.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003319/0.132, allocations: 367.1 kB / 474.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.1322, allocations: 205.2 kB / 474.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000982/0.1332, allocations: 1.06 MB / 475.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1332, allocations: 4 kB / 475.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1332, allocations: 0 / 475.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.1332, allocations: 0 / 475.4 MB, free: 7.113 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001912/0.1351, allocations: 1.11 MB / 476.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1352, allocations: 8.031 kB / 476.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.1363, allocations: 214.6 kB / 476.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.1378, allocations: 0.7047 MB / 477.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.885e-05/0.1378, allocations: 62 kB / 477.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.1381, allocations: 91.97 kB / 477.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.1395, allocations: 1.08 MB / 478.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.1395, allocations: 7.844 kB / 478.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.577e-05/0.1396, allocations: 39.97 kB / 478.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/0.1398, allocations: 73.97 kB / 478.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.1411, allocations: 0.8547 MB / 479.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00508/0.1462, allocations: 4.001 MB / 483.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.1467, allocations: 435.8 kB / 484 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.1468, allocations: 8.484 kB / 484 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1468, allocations: 39 kB / 484.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.344e-06/0.1468, allocations: 0 / 484.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.002764/0.1496, allocations: 1.721 MB / 485.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.1497, allocations: 81.55 kB / 485.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005828/0.1503, allocations: 0.5782 MB / 486.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.1503, allocations: 33.7 kB / 486.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.1506, allocations: 478.5 kB / 486.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.1507, allocations: 189.3 kB / 487.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.1507, allocations: 16 kB / 487.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1509, allocations: 378.7 kB / 487.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.1512, allocations: 253.8 kB / 487.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.1517, allocations: 477 kB / 488.2 MB, free: 9.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.1522, allocations: 337.9 kB / 488.6 MB, free: 9.316 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1522, allocations: 4 kB / 488.6 MB, free: 9.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001995/0.1542, allocations: 1.103 MB / 489.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1543, allocations: 8 kB / 489.7 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001563/0.1558, allocations: 0.7881 MB / 490.5 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006995/0.1565, allocations: 222.3 kB / 490.7 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.157, allocations: 159.7 kB / 490.8 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005124/0.1622, allocations: 5.334 MB / 496.2 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005164/0.1627, allocations: 35.97 kB / 496.2 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.1628, allocations: 36 kB / 496.2 MB, free: 1.16 MB / 366.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003681/0.1632, allocations: 301.5 kB / 496.5 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.86e-05/0.1632, allocations: 67.16 kB / 496.6 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.1643, allocations: 0.6127 MB / 497.2 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.1643, allocations: 4 kB / 497.2 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1643, allocations: 4 kB / 497.2 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.1644, allocations: 7.938 kB / 497.2 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.1666, allocations: 1.486 MB / 498.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1666, allocations: 0 / 498.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/0.1672, allocations: 135.8 kB / 498.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.1672, allocations: 12.11 kB / 498.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.1672, allocations: 12 kB / 498.9 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.1672, allocations: 4 kB / 498.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1672, allocations: 4 kB / 498.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.1685, allocations: 0.9883 MB / 499.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.1687, allocations: 188.1 kB / 0.4883 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/0.1688, allocations: 19.95 kB / 0.4884 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.1691, allocations: 19.98 kB / 0.4884 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.1692, allocations: 32.39 kB / 0.4884 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.1692, allocations: 16 kB / 0.4884 GB, free: 13.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004042/0.1696, allocations: 419 kB / 0.4888 GB, free: 12.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1696, allocations: 0 / 0.4888 GB, free: 12.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000718/0.1704, allocations: 232 kB / 0.489 GB, free: 12.45 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000251/0.1706, allocations: 143.2 kB / 0.4892 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.172, allocations: 1.017 MB / 0.4902 GB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.172, allocations: 384 / 0.4902 GB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.1723, allocations: 259.6 kB / 0.4904 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.1729, allocations: 142.1 kB / 0.4906 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.1756, allocations: 2.502 MB / 0.493 GB, free: 8.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005962/0.1763, allocations: 1.102 MB / 0.4941 GB, free: 7.172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004676/0.1767, allocations: 189.9 kB / 0.4943 GB, free: 6.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.1769, allocations: 67.42 kB / 0.4943 GB, free: 6.918 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1769, allocations: 0 / 0.4943 GB, free: 6.918 MB / 382.1 MB Notification: Performance of Templates: time 0.2003/0.3772, allocations: 8.464 MB / 0.5026 GB, free: 54.36 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile Environment - environmentSimulation: (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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches