Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.0009723/0.0009723, allocations: 95.23 kB / 16.65 MB, free: 6.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.0009815/0.0009817, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.484/1.484, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1967/0.1967, allocations: 38.05 MB / 310.1 MB, free: 5.91 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.0005879/0.0005884, allocations: 16.52 kB / 377.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2853, allocations: 56.33 MB / 433.5 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.009998/0.2953, allocations: 10.67 MB / 444.2 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007414/0.3028, allocations: 4.063 MB / 448.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.3048, allocations: 67.56 kB / 448.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.3062, allocations: 286.2 kB / 448.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.3091, allocations: 0.8288 MB / 449.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.3103, allocations: 419.2 kB / 449.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002608/0.3129, allocations: 2.783 MB / 452.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002351/0.3153, allocations: 1.422 MB / 454 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.3166, allocations: 0.5988 MB / 454.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.3179, allocations: 0.8876 MB / 455.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.3181, allocations: 56 kB / 455.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.3191, allocations: 0.5069 MB / 456.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005568/0.3197, allocations: 0.5766 MB / 456.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006871/0.3204, allocations: 0.6545 MB / 457.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.3223, allocations: 1.802 MB / 459.1 MB, free: 8.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3223, allocations: 0 / 459.1 MB, free: 8.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3223, allocations: 0 / 459.1 MB, free: 8.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.3223, allocations: 0 / 459.1 MB, free: 8.922 MB / 334.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.002642/0.325, allocations: 1.384 MB / 460.5 MB, free: 7.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.325, allocations: 20.02 kB / 460.5 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.3265, allocations: 271 kB / 460.8 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.3282, allocations: 0.9061 MB / 461.7 MB, free: 6.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.445e-05/0.3283, allocations: 82.05 kB / 461.7 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/0.3286, allocations: 139.8 kB / 461.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.3306, allocations: 1.489 MB / 463.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.3306, allocations: 3.938 kB / 463.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.943e-05/0.3307, allocations: 51.97 kB / 463.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002845/0.331, allocations: 94.17 kB / 463.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.3329, allocations: 1.258 MB / 464.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007464/0.3404, allocations: 5.68 MB / 470.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008458/0.3412, allocations: 0.5921 MB / 471.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.3418, allocations: 395.3 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-05/0.3418, allocations: 20.53 kB / 471.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.3419, allocations: 43.06 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.915e-06/0.3419, allocations: 0 / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.006789/0.3487, allocations: 3.63 MB / 475.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.3488, allocations: 89.7 kB / 475.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008385/0.3496, allocations: 0.7351 MB / 476 MB, free: 7.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/0.3497, allocations: 45.73 kB / 476 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/0.3501, allocations: 0.588 MB / 476.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.3503, allocations: 272.2 kB / 476.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.3505, allocations: 85.67 kB / 476.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3507, allocations: 402.7 kB / 477.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006044/0.3513, allocations: 389.8 kB / 477.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007572/0.352, allocations: 0.6613 MB / 478.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.3535, allocations: 1.14 MB / 479.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.3535, allocations: 4 kB / 479.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003379/0.3569, allocations: 1.713 MB / 481.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.357, allocations: 8 kB / 481.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002634/0.3596, allocations: 1.311 MB / 482.5 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001882/0.3615, allocations: 0.5891 MB / 483.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.3621, allocations: 175.7 kB / 483.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/0.3744, allocations: 9.459 MB / 492.8 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.3757, allocations: 51.97 kB / 492.8 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/0.3759, allocations: 43.98 kB / 492.9 MB, free: 5.539 MB / 366.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.0009265/0.3768, allocations: 385.4 kB / 493.2 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/0.3771, allocations: 86.88 kB / 493.3 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.3797, allocations: 1.26 MB / 494.6 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.3797, allocations: 8 kB / 494.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.3797, allocations: 4 kB / 494.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.3798, allocations: 3.984 kB / 494.6 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004504/0.3843, allocations: 2.404 MB / 497 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3843, allocations: 4 kB / 497 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/0.3847, allocations: 108 kB / 497.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.3858, allocations: 379.2 kB / 497.5 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.98e-05/0.3859, allocations: 23.98 kB / 497.5 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008137/0.3941, allocations: 8.505 MB / 0.4941 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3941, allocations: 3.938 kB / 0.4942 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/0.3973, allocations: 1.669 MB / 0.4958 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007257/0.398, allocations: 239.7 kB / 0.496 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002919/0.3983, allocations: 23.98 kB / 0.496 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/0.399, allocations: 23.98 kB / 0.4961 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.3992, allocations: 68.34 kB / 0.4961 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/0.3993, allocations: 24 kB / 0.4961 GB, free: 5.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001038/0.4003, allocations: 0.5029 MB / 0.4966 GB, free: 4.949 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4003, allocations: 0 / 0.4966 GB, free: 4.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00172/0.4021, allocations: 368 kB / 0.497 GB, free: 4.59 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.000374/0.4025, allocations: 154.9 kB / 0.4971 GB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002547/0.405, allocations: 1.567 MB / 0.4987 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.405, allocations: 4.125 kB / 0.4987 GB, free: 2.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.4067, allocations: 1.094 MB / 0.4997 GB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.4081, allocations: 202.5 kB / 0.4999 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005397/0.4135, allocations: 3.364 MB / 0.5032 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/0.4148, allocations: 1.258 MB / 0.5044 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007167/0.4155, allocations: 219.6 kB / 0.5047 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.4157, allocations: 67.42 kB / 0.5047 GB, free: 12.46 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4157, allocations: 0 / 0.5047 GB, free: 12.46 MB / 398.1 MB Notification: Performance of Templates: time 0.2439/0.6597, allocations: 14.42 MB / 0.5188 GB, free: 84.14 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) Environment - environmentSimulation: