Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 173.2 kB / 16.07 MB, free: 5.723 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.221/1.221, allocations: 205.4 MB / 222.2 MB, free: 9.016 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.0007729/0.0007729, allocations: 102 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1694/0.1694, allocations: 38.07 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003396, allocations: 12 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2222, allocations: 56.32 MB / 479.6 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.008459/0.2307, allocations: 10.1 MB / 489.7 MB, free: 2.285 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005886/0.2366, allocations: 3.859 MB / 493.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.2378, allocations: 64.69 kB / 493.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.2391, allocations: 329.8 kB / 494 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.2421, allocations: 0.915 MB / 494.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.2438, allocations: 497.7 kB / 495.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003023/0.2468, allocations: 2.176 MB / 497.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002644/0.2495, allocations: 1.416 MB / 499 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.2509, allocations: 0.6128 MB / 499.6 MB, free: 12.85 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.2526, allocations: 0.8683 MB / 0.4887 GB, free: 12.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003017/0.2529, allocations: 54.62 kB / 0.4888 GB, free: 12.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.2543, allocations: 0.4909 MB / 0.4892 GB, free: 12.44 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000793/0.2551, allocations: 0.5998 MB / 0.4898 GB, free: 12.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008593/0.256, allocations: 0.6139 MB / 0.4904 GB, free: 11.71 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.2576, allocations: 1.419 MB / 0.4918 GB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2576, allocations: 1 kB / 0.4918 GB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2576, allocations: 4 kB / 0.4918 GB, free: 10.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.575e-05/0.2576, allocations: 0 / 0.4918 GB, free: 10.79 MB / 330.7 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.002572/0.2602, allocations: 1.388 MB / 0.4932 GB, free: 9.742 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2603, allocations: 9.312 kB / 0.4932 GB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.2618, allocations: 275 kB / 0.4935 GB, free: 9.613 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.2637, allocations: 0.902 MB / 0.4943 GB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-05/0.2638, allocations: 84.88 kB / 0.4944 GB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003088/0.2641, allocations: 130.8 kB / 0.4945 GB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.2664, allocations: 1.484 MB / 0.496 GB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.009e-05/0.2665, allocations: 11.23 kB / 0.496 GB, free: 7.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.2666, allocations: 42.09 kB / 0.496 GB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002838/0.2669, allocations: 99.5 kB / 0.4961 GB, free: 7.879 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.2689, allocations: 1.247 MB / 0.4974 GB, free: 7.273 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007515/0.2764, allocations: 5.682 MB / 0.5029 GB, free: 2.473 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000822/0.2773, allocations: 0.5897 MB / 0.5035 GB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005167/0.2778, allocations: 400.3 kB / 0.5039 GB, free: 1.469 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.392e-05/0.2779, allocations: 12.56 kB / 0.5039 GB, free: 1.457 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.2779, allocations: 39.06 kB / 0.5039 GB, free: 1.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 2.585e-06/0.2779, allocations: 0 / 0.5039 GB, free: 1.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.006807/0.2847, allocations: 3.638 MB / 0.5075 GB, free: 13.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.2848, allocations: 93.64 kB / 0.5076 GB, free: 13.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008254/0.2857, allocations: 0.7312 MB / 0.5083 GB, free: 12.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.507e-05/0.2857, allocations: 37.7 kB / 0.5083 GB, free: 12.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/0.2861, allocations: 0.588 MB / 0.5089 GB, free: 12.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.2863, allocations: 268.2 kB / 0.5091 GB, free: 11.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.2864, allocations: 20 kB / 0.5091 GB, free: 11.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.2865, allocations: 406.7 kB / 0.5095 GB, free: 11.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005573/0.2871, allocations: 381.8 kB / 0.5099 GB, free: 11.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007092/0.2878, allocations: 0.6574 MB / 0.5105 GB, free: 10.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.2892, allocations: 1.128 MB / 0.5116 GB, free: 9.039 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.2892, allocations: 0 / 0.5116 GB, free: 9.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003127/0.2924, allocations: 1.713 MB / 0.5133 GB, free: 7.309 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.2924, allocations: 8 kB / 0.5133 GB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002452/0.2949, allocations: 1.303 MB / 0.5146 GB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/0.2966, allocations: 0.5808 MB / 0.5152 GB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.2973, allocations: 171.7 kB / 0.5153 GB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.3076, allocations: 9.458 MB / 0.5246 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/0.3084, allocations: 51.95 kB / 0.5246 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/0.3085, allocations: 44 kB / 0.5247 GB, free: 11.1 MB / 362.7 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.0006075/0.3091, allocations: 381.4 kB / 0.525 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.3092, allocations: 90.88 kB / 0.5251 GB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.3114, allocations: 1.252 MB / 0.5263 GB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.3114, allocations: 8 kB / 0.5263 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3115, allocations: 8 kB / 0.5263 GB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.3115, allocations: 3.984 kB / 0.5263 GB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003897/0.3154, allocations: 2.388 MB / 0.5287 GB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.3154, allocations: 4 kB / 0.5287 GB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.3158, allocations: 107.9 kB / 0.5288 GB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/0.3169, allocations: 379.9 kB / 0.5292 GB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.317, allocations: 23.98 kB / 0.5292 GB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006992/0.324, allocations: 8.494 MB / 0.5375 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.324, allocations: 12.03 kB / 0.5375 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.3265, allocations: 1.665 MB / 0.5391 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004545/0.327, allocations: 239.8 kB / 0.5393 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.3272, allocations: 19.98 kB / 0.5394 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.3276, allocations: 27.98 kB / 0.5394 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.3277, allocations: 68.34 kB / 0.5394 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/0.3278, allocations: 23.98 kB / 0.5395 GB, free: 11.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006343/0.3284, allocations: 0.4951 MB / 0.54 GB, free: 10.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3284, allocations: 4 kB / 0.54 GB, free: 10.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001402/0.3299, allocations: 364.1 kB / 0.5403 GB, free: 10.18 MB / 378.7 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.000323/0.3302, allocations: 150.5 kB / 0.5404 GB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002307/0.3325, allocations: 1.571 MB / 0.542 GB, free: 8.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3325, allocations: 0 / 0.542 GB, free: 8.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.334, allocations: 1.099 MB / 0.5431 GB, free: 7.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.3353, allocations: 191.6 kB / 0.5432 GB, free: 7.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/0.3398, allocations: 3.399 MB / 0.5466 GB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008821/0.3408, allocations: 1.255 MB / 0.5478 GB, free: 2.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.341, allocations: 67.42 kB / 0.5478 GB, free: 2.254 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.341, allocations: 3.938 kB / 0.5478 GB, free: 2.25 MB / 378.7 MB Notification: Performance of Templates: time 0.03538/0.3764, allocations: 32.6 MB / 0.5797 GB, free: 1.609 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1)