Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001101/0.001101, allocations: 110.3 kB / 17.74 MB, free: 5.355 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.001207/0.001207, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1779/0.1779, allocations: 37.99 MB / 309.9 MB, free: 5.957 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 71.89 kB / 432.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09682/0.09844, allocations: 55.24 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.008825/0.1073, allocations: 7.513 MB / 495.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004711/0.112, allocations: 3.022 MB / 498.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005748/0.1126, allocations: 27.88 kB / 498.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.1149, allocations: 0.7428 MB / 499.1 MB, free: 12.99 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. Notification: Performance of NFTyping.typeBindings: time 0.00201/0.1169, allocations: 0.6881 MB / 499.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.1181, allocations: 379.2 kB / 0.4884 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002218/0.1203, allocations: 1.344 MB / 0.4898 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.1217, allocations: 0.7208 MB / 0.4905 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.1228, allocations: 0.5643 MB / 0.491 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.1239, allocations: 0.6268 MB / 0.4916 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002293/0.1242, allocations: 76 kB / 0.4917 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.1253, allocations: 475.2 kB / 0.4921 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007035/0.126, allocations: 454.8 kB / 0.4926 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007825/0.1268, allocations: 0.5054 MB / 0.4931 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.1292, allocations: 1.425 MB / 0.4945 GB, free: 5.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1293, allocations: 0 / 0.4945 GB, free: 5.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1293, allocations: 0 / 0.4945 GB, free: 5.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.764e-05/0.1293, allocations: 0 / 0.4945 GB, free: 5.734 MB / 382.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.003676/0.133, allocations: 1.281 MB / 0.4957 GB, free: 4.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1331, allocations: 15.89 kB / 0.4957 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.1345, allocations: 203.6 kB / 0.4959 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.1365, allocations: 0.7409 MB / 0.4966 GB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.198e-05/0.1366, allocations: 62.36 kB / 0.4967 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003017/0.1369, allocations: 103.8 kB / 0.4968 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.1388, allocations: 1.096 MB / 0.4979 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.096e-05/0.1388, allocations: 7.938 kB / 0.4979 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.174e-05/0.1389, allocations: 35.98 kB / 0.4979 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001775/0.1391, allocations: 73.95 kB / 0.498 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.1406, allocations: 0.8704 MB / 0.4988 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005904/0.1466, allocations: 3.969 MB / 0.5027 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007143/0.1473, allocations: 431.8 kB / 0.5031 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.1477, allocations: 286.9 kB / 0.5034 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.1478, allocations: 4.438 kB / 0.5034 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1478, allocations: 42.98 kB / 0.5034 GB, free: 12.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.594e-06/0.1478, allocations: 3.938 kB / 0.5034 GB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.003221/0.151, allocations: 1.721 MB / 0.5051 GB, free: 10.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.1511, allocations: 81.55 kB / 0.5052 GB, free: 10.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007638/0.1519, allocations: 0.5899 MB / 0.5058 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.1519, allocations: 37.64 kB / 0.5058 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.1523, allocations: 466.6 kB / 0.5063 GB, free: 9.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.1524, allocations: 185.4 kB / 0.5064 GB, free: 8.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.1526, allocations: 142.5 kB / 0.5066 GB, free: 8.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1528, allocations: 378.8 kB / 0.5069 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.1532, allocations: 253.8 kB / 0.5072 GB, free: 8.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/0.1538, allocations: 484.9 kB / 0.5076 GB, free: 7.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.1548, allocations: 0.7625 MB / 0.5084 GB, free: 6.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.1548, allocations: 8 kB / 0.5084 GB, free: 6.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002172/0.157, allocations: 1.115 MB / 0.5095 GB, free: 5.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1571, allocations: 15.94 kB / 0.5095 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001358/0.1584, allocations: 0.7988 MB / 0.5103 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007411/0.1592, allocations: 218.4 kB / 0.5105 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.1598, allocations: 159.7 kB / 0.5106 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005905/0.1657, allocations: 5.662 MB / 0.5162 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/0.1662, allocations: 39.88 kB / 0.5162 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.1663, allocations: 36 kB / 0.5162 GB, free: 14.23 MB / 414.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004255/0.1667, allocations: 301.6 kB / 0.5165 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.1669, allocations: 71.09 kB / 0.5166 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009588/0.1679, allocations: 0.6085 MB / 0.5172 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.1679, allocations: 3.984 kB / 0.5172 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1679, allocations: 4 kB / 0.5172 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/0.1683, allocations: 180.2 kB / 0.5174 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.691e-05/0.1684, allocations: 15.98 kB / 0.5174 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/0.1687, allocations: 19.97 kB / 0.5174 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.1688, allocations: 36.33 kB / 0.5174 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001366/0.1702, allocations: 0.7915 MB / 0.5182 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001396/0.1716, allocations: 1.099 MB / 0.5193 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003383/0.1719, allocations: 259.3 kB / 0.5195 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004876/0.1724, allocations: 419 kB / 0.5199 GB, free: 10.39 MB / 414.1 MB Notification: Performance of Backend: time 5.61e-07/0.1724, allocations: 0 / 0.5199 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002156/0.1746, allocations: 1.076 MB / 0.521 GB, free: 9.273 MB / 414.1 MB Notification: Performance of SimCode: time 0.002964/0.1776, allocations: 2.396 MB / 0.5233 GB, free: 6.816 MB / 414.1 MB Notification: Performance of Templates: time 0.2382/0.4158, allocations: 11.58 MB / 0.5346 GB, free: 50.38 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1)