Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 112.2 kB / 17.29 MB, free: 6.207 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.00126/0.00126, allocations: 197.3 kB / 18.21 MB, free: 5.281 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.574/1.574, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1812/0.1812, allocations: 38.03 MB / 330.1 MB, free: 8.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 70.16 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 58.06 MB / 457 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01418/0.1221, allocations: 12.17 MB / 469.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008149/0.1303, allocations: 4.429 MB / 473.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.1319, allocations: 71.56 kB / 473.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003376/0.1353, allocations: 1.109 MB / 474.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.1381, allocations: 0.856 MB / 475.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.14, allocations: 0.5851 MB / 476.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003192/0.1432, allocations: 2.072 MB / 478.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002208/0.1455, allocations: 1.276 MB / 479.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.1471, allocations: 0.8678 MB / 480.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001899/0.149, allocations: 1.059 MB / 481.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004692/0.1495, allocations: 140 kB / 481.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.1509, allocations: 0.5694 MB / 482.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009532/0.1519, allocations: 0.717 MB / 482.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001576/0.1535, allocations: 0.8088 MB / 483.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002537/0.156, allocations: 1.809 MB / 485.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1561, allocations: 0 / 485.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1561, allocations: 0 / 485.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.964e-05/0.1562, allocations: 0 / 485.5 MB, free: 11.77 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.004584/0.1608, allocations: 1.793 MB / 487.3 MB, free: 9.914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1608, allocations: 15.89 kB / 487.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.1628, allocations: 282.8 kB / 487.6 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/0.1653, allocations: 1.036 MB / 488.6 MB, free: 8.539 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.527e-05/0.1654, allocations: 90.72 kB / 488.7 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000481/0.1659, allocations: 155.8 kB / 488.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003381/0.1693, allocations: 1.69 MB / 490.6 MB, free: 6.535 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.108e-05/0.1693, allocations: 3.938 kB / 490.6 MB, free: 6.531 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.1695, allocations: 51.98 kB / 490.6 MB, free: 6.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000337/0.1698, allocations: 102.4 kB / 490.7 MB, free: 6.379 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.1726, allocations: 1.426 MB / 492.2 MB, free: 4.945 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.1827, allocations: 6.087 MB / 498.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.1841, allocations: 0.7096 MB / 499 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007549/0.1848, allocations: 460.4 kB / 499.4 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.786e-05/0.1849, allocations: 20.64 kB / 499.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.185, allocations: 47.14 kB / 499.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.347e-06/0.185, allocations: 0 / 499.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.01032/0.1953, allocations: 4.302 MB / 0.492 GB, free: 8.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.1955, allocations: 162.9 kB / 0.4921 GB, free: 8.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.1968, allocations: 0.8412 MB / 0.4929 GB, free: 7.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.1969, allocations: 41.7 kB / 0.493 GB, free: 7.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005064/0.1974, allocations: 0.631 MB / 0.4936 GB, free: 7.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/0.1978, allocations: 303.8 kB / 0.4939 GB, free: 6.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/0.1982, allocations: 218.8 kB / 0.4941 GB, free: 6.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1983, allocations: 354 kB / 0.4944 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008361/0.1992, allocations: 493.8 kB / 0.4949 GB, free: 5.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.2003, allocations: 0.7736 MB / 0.4957 GB, free: 4.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.2022, allocations: 1.292 MB / 0.4969 GB, free: 3.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.2022, allocations: 4 kB / 0.4969 GB, free: 3.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004187/0.2064, allocations: 1.905 MB / 0.4988 GB, free: 1.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.2065, allocations: 14.28 kB / 0.4988 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2131/0.4196, allocations: 1.493 MB / 0.5003 GB, free: 54.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00227/0.422, allocations: 0.5698 MB / 0.5008 GB, free: 54.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.4236, allocations: 402.4 kB / 0.5012 GB, free: 54.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.4372, allocations: 14.2 MB / 0.5151 GB, free: 43.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.4383, allocations: 69.92 kB / 0.5151 GB, free: 43.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.507e-05/0.4384, allocations: 43.06 kB / 0.5152 GB, free: 43.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001326/0.4397, allocations: 0.7992 MB / 0.516 GB, free: 43.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008931/0.4406, allocations: 0.7432 MB / 0.5167 GB, free: 42.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001595/0.4422, allocations: 1.253 MB / 0.5179 GB, free: 42.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.065e-06/0.4422, allocations: 3.125 kB / 0.5179 GB, free: 42.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.003954/0.4462, allocations: 1.858 MB / 0.5197 GB, free: 41.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4462, allocations: 12.84 kB / 0.5197 GB, free: 41.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00295/0.4492, allocations: 1.451 MB / 0.5212 GB, free: 40.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/0.4512, allocations: 0.5783 MB / 0.5217 GB, free: 40.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007875/0.452, allocations: 222.2 kB / 0.5219 GB, free: 40.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00977/0.4618, allocations: 11.07 MB / 0.5327 GB, free: 32.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.463, allocations: 67.61 kB / 0.5328 GB, free: 32.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.4631, allocations: 42.84 kB / 0.5328 GB, free: 32.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (118): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 2} * Without analytic Jacobian (size): 0 systems 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 {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004017/0.4635, allocations: 258.9 kB / 0.5331 GB, free: 31.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/0.4638, allocations: 105.1 kB / 0.5332 GB, free: 31.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/0.4665, allocations: 1.4 MB / 0.5346 GB, free: 31.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.4665, allocations: 12.25 kB / 0.5346 GB, free: 31.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.4665, allocations: 4.125 kB / 0.5346 GB, free: 31.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.4666, allocations: 5.641 kB / 0.5346 GB, free: 31.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/0.471, allocations: 2.864 MB / 0.5374 GB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.471, allocations: 3.594 kB / 0.5374 GB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/0.4715, allocations: 130.4 kB / 0.5375 GB, free: 29.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009975/0.4725, allocations: 394.5 kB / 0.5379 GB, free: 29.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-05/0.4726, allocations: 33.64 kB / 0.5379 GB, free: 29.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005813/0.4785, allocations: 9.495 MB / 0.5472 GB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.4785, allocations: 3.781 kB / 0.5472 GB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/0.4812, allocations: 1.925 MB / 0.5491 GB, free: 18.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/0.4816, allocations: 259.8 kB / 0.5493 GB, free: 18.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.4818, allocations: 31.7 kB / 0.5493 GB, free: 18.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/0.4823, allocations: 47.89 kB / 0.5494 GB, free: 18.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.4824, allocations: 72.5 kB / 0.5495 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.4825, allocations: 23.98 kB / 0.5495 GB, free: 18.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006837/0.4832, allocations: 0.5737 MB / 0.55 GB, free: 17.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4832, allocations: 0.7656 kB / 0.55 GB, free: 17.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00227/0.4855, allocations: 0.6471 MB / 0.5507 GB, free: 17.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.rotor.phi,turboGen.rotor.w,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 (66): * Single equations (assignments): 60 * 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.0003549/0.4858, allocations: 153.5 kB / 0.5508 GB, free: 16.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005524/0.4914, allocations: 3.681 MB / 0.5544 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.4914, allocations: 1.562 kB / 0.5544 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.4929, allocations: 1.172 MB / 0.5556 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.4944, allocations: 247.7 kB / 0.5558 GB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/0.4996, allocations: 3.754 MB / 0.5595 GB, free: 7.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.5007, allocations: 1.347 MB / 0.5608 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.501, allocations: 75.42 kB / 0.5609 GB, free: 6.453 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.501, allocations: 0.7656 kB / 0.5609 GB, free: 6.453 MB / 382.1 MB Notification: Performance of Templates: time 0.05864/0.5596, allocations: 46.62 MB / 0.6064 GB, free: 7.801 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe 2>&1)