Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001551, allocations: 176.2 kB / 15.78 MB, free: 6.352 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.4 MB / 221.9 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000788/0.0007881, allocations: 90.31 kB / 270.3 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1703/0.1703, allocations: 38.07 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09204, allocations: 56.33 MB / 479.1 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.007924/0.1, allocations: 7.813 MB / 486.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005085/0.1051, allocations: 3.185 MB / 490.1 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.1064, allocations: 47.69 kB / 490.1 MB, free: 6.938 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007485/0.1071, allocations: 214.5 kB / 490.3 MB, free: 6.727 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.1091, allocations: 0.6999 MB / 491 MB, free: 6.023 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.1101, allocations: 367.3 kB / 491.4 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001796/0.1119, allocations: 1.601 MB / 493 MB, free: 4.059 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.1135, allocations: 0.8937 MB / 493.9 MB, free: 3.125 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008093/0.1143, allocations: 465.9 kB / 494.3 MB, free: 2.668 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008413/0.1152, allocations: 0.6035 MB / 494.9 MB, free: 2.062 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.996e-05/0.1153, allocations: 40 kB / 495 MB, free: 2.023 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008232/0.1161, allocations: 375.2 kB / 495.3 MB, free: 1.656 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003829/0.1165, allocations: 411 kB / 495.7 MB, free: 1.254 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.1168, allocations: 201.2 kB / 495.9 MB, free: 1.051 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.1179, allocations: 1.068 MB / 497 MB, free: 15.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1179, allocations: 0 / 497 MB, free: 15.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1179, allocations: 0 / 497 MB, free: 15.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.1179, allocations: 0 / 497 MB, free: 15.98 MB / 346.7 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.002001/0.12, allocations: 1.114 MB / 498.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.12, allocations: 8.031 kB / 498.1 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.1211, allocations: 206.5 kB / 498.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.1225, allocations: 0.6892 MB / 499 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.297e-05/0.1226, allocations: 58 kB / 499.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.1228, allocations: 103.8 kB / 499.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.1243, allocations: 1.096 MB / 0.4885 GB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.1244, allocations: 4 kB / 0.4886 GB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.3e-05/0.1245, allocations: 31.94 kB / 0.4886 GB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/0.1246, allocations: 69.97 kB / 0.4886 GB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.126, allocations: 0.8704 MB / 0.4895 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005291/0.1313, allocations: 4.001 MB / 0.4934 GB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006087/0.1319, allocations: 435.7 kB / 0.4938 GB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/0.1323, allocations: 279.3 kB / 0.4941 GB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.1323, allocations: 12.42 kB / 0.4941 GB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.1324, allocations: 42.94 kB / 0.4941 GB, free: 6.598 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 2.745e-06/0.1324, allocations: 0 / 0.4941 GB, free: 6.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.002862/0.1353, allocations: 1.721 MB / 0.4958 GB, free: 4.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.1353, allocations: 85.55 kB / 0.4959 GB, free: 4.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006058/0.1359, allocations: 0.5743 MB / 0.4965 GB, free: 4.133 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.136, allocations: 37.7 kB / 0.4965 GB, free: 4.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/0.1363, allocations: 474.5 kB / 0.497 GB, free: 3.617 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.1364, allocations: 189.4 kB / 0.4971 GB, free: 3.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.1365, allocations: 12 kB / 0.4971 GB, free: 3.418 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1366, allocations: 378.8 kB / 0.4975 GB, free: 3.039 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.137, allocations: 249.8 kB / 0.4977 GB, free: 2.797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/0.1375, allocations: 476.9 kB / 0.4982 GB, free: 2.234 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/0.138, allocations: 334 kB / 0.4985 GB, free: 1.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.138, allocations: 0 / 0.4985 GB, free: 1.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001841/0.1398, allocations: 1.111 MB / 0.4996 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1399, allocations: 8 kB / 0.4996 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001298/0.1412, allocations: 0.7957 MB / 0.5004 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007395/0.1419, allocations: 222.5 kB / 0.5006 GB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.1424, allocations: 159.8 kB / 0.5008 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004927/0.1474, allocations: 5.233 MB / 0.5059 GB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/0.1479, allocations: 35.97 kB / 0.5059 GB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.148, allocations: 32 kB / 0.5059 GB, free: 9.84 MB / 362.7 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.0004217/0.1484, allocations: 305.5 kB / 0.5062 GB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-05/0.1485, allocations: 71.14 kB / 0.5063 GB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009156/0.1494, allocations: 0.6127 MB / 0.5069 GB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1494, allocations: 4 kB / 0.5069 GB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1495, allocations: 4 kB / 0.5069 GB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1495, allocations: 4 kB / 0.5069 GB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.1517, allocations: 1.49 MB / 0.5084 GB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.1517, allocations: 0 / 0.5084 GB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006047/0.1523, allocations: 128.1 kB / 0.5085 GB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.1523, allocations: 4 kB / 0.5085 GB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.1524, allocations: 20.14 kB / 0.5085 GB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.1524, allocations: 7.938 kB / 0.5085 GB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.1524, allocations: 4 kB / 0.5085 GB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.1535, allocations: 0.9235 MB / 0.5094 GB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.1538, allocations: 192.1 kB / 0.5096 GB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.896e-05/0.1539, allocations: 15.98 kB / 0.5096 GB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.1542, allocations: 19.98 kB / 0.5096 GB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.1542, allocations: 36.34 kB / 0.5097 GB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.1543, allocations: 12 kB / 0.5097 GB, free: 5.859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004399/0.1547, allocations: 415 kB / 0.5101 GB, free: 5.457 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.363e-06/0.1547, allocations: 4 kB / 0.5101 GB, free: 5.453 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007173/0.1555, allocations: 239.9 kB / 0.5103 GB, free: 5.219 MB / 362.7 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.0002672/0.1557, allocations: 142.6 kB / 0.5104 GB, free: 5.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.1572, allocations: 1.022 MB / 0.5114 GB, free: 4.008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.1572, allocations: 4.438 kB / 0.5114 GB, free: 4.004 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003484/0.1576, allocations: 266.2 kB / 0.5117 GB, free: 3.742 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007473/0.1583, allocations: 139.2 kB / 0.5118 GB, free: 3.605 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.1614, allocations: 2.589 MB / 0.5144 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1687/0.3302, allocations: 1.074 MB / 0.5154 GB, free: 50.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.3306, allocations: 61.66 kB / 0.5155 GB, free: 50.78 MB / 362.7 MB Notification: Performance of SimCode: time 1.603e-06/0.3306, allocations: 2.656 kB / 0.5155 GB, free: 50.78 MB / 362.7 MB Notification: Performance of Templates: time 0.0245/0.3552, allocations: 15.14 MB / 0.5303 GB, free: 46.05 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1)