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.001463/0.001463, allocations: 114.1 kB / 16.63 MB, free: 6.812 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.001603/0.001604, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.337/1.337, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1734/0.1734, allocations: 38.03 MB / 329.4 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 64.39 kB / 398.3 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1211, allocations: 58.06 MB / 456.3 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01438/0.1355, allocations: 12.16 MB / 468.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009365/0.1449, allocations: 4.425 MB / 472.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.1469, allocations: 79.5 kB / 473 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003553/0.1505, allocations: 1.104 MB / 474.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00395/0.1545, allocations: 0.8559 MB / 475 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.1564, allocations: 0.5865 MB / 475.5 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003344/0.1598, allocations: 2.08 MB / 477.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/0.162, allocations: 1.269 MB / 478.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.1639, allocations: 0.8679 MB / 479.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.166, allocations: 1.071 MB / 480.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004473/0.1664, allocations: 140 kB / 481 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.1679, allocations: 0.5655 MB / 481.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009296/0.1688, allocations: 0.7053 MB / 482.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.1704, allocations: 0.8126 MB / 483.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003683/0.1741, allocations: 2.263 MB / 485.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1741, allocations: 0 / 485.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1742, allocations: 0 / 485.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001063/0.1743, allocations: 0 / 485.3 MB, free: 11.34 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.00539/0.1797, allocations: 1.801 MB / 487.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.1797, allocations: 15.89 kB / 487.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.1817, allocations: 282.8 kB / 487.4 MB, free: 9.184 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.184, allocations: 1.036 MB / 488.4 MB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.9e-05/0.1841, allocations: 90.72 kB / 488.5 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004376/0.1845, allocations: 151.8 kB / 488.7 MB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.1879, allocations: 1.693 MB / 490.4 MB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.619e-05/0.188, allocations: 12 kB / 490.4 MB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.1881, allocations: 44 kB / 490.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000335/0.1885, allocations: 106.4 kB / 490.5 MB, free: 5.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002689/0.1912, allocations: 1.422 MB / 492 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009351/0.2005, allocations: 6.087 MB / 498 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.2017, allocations: 0.7019 MB / 498.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007153/0.2025, allocations: 464.3 kB / 499.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/0.2026, allocations: 20.56 kB / 499.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.2026, allocations: 47.22 kB / 499.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.397e-06/0.2026, allocations: 0 / 499.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.009805/0.2124, allocations: 4.309 MB / 0.4918 GB, free: 8.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.2125, allocations: 162.9 kB / 0.4919 GB, free: 8.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.2137, allocations: 0.8334 MB / 0.4927 GB, free: 7.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.699e-05/0.2138, allocations: 41.7 kB / 0.4928 GB, free: 7.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/0.2143, allocations: 0.6388 MB / 0.4934 GB, free: 6.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/0.2146, allocations: 303.8 kB / 0.4937 GB, free: 6.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/0.2149, allocations: 218.8 kB / 0.4939 GB, free: 6.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2151, allocations: 349.9 kB / 0.4942 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008716/0.2159, allocations: 489.8 kB / 0.4947 GB, free: 5.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.217, allocations: 0.7697 MB / 0.4955 GB, free: 4.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.2188, allocations: 1.304 MB / 0.4967 GB, free: 2.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.2189, allocations: 3.938 kB / 0.4967 GB, free: 2.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.005337/0.2242, allocations: 1.905 MB / 0.4986 GB, free: 1.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.2243, allocations: 11.94 kB / 0.4986 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2525/0.4767, allocations: 1.495 MB / 0.5001 GB, free: 54.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/0.479, allocations: 0.5665 MB / 0.5006 GB, free: 54.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.4807, allocations: 402.2 kB / 0.501 GB, free: 54.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.4937, allocations: 14.21 MB / 0.5149 GB, free: 43.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.4947, allocations: 64.69 kB / 0.5149 GB, free: 43.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.177e-05/0.4948, allocations: 51.94 kB / 0.515 GB, free: 43.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001206/0.496, allocations: 0.7957 MB / 0.5158 GB, free: 43.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000759/0.4968, allocations: 0.7494 MB / 0.5165 GB, free: 42.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001544/0.4983, allocations: 1.255 MB / 0.5177 GB, free: 42.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.624e-06/0.4983, allocations: 4.719 kB / 0.5177 GB, free: 42.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.003637/0.502, allocations: 1.85 MB / 0.5195 GB, free: 41.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.502, allocations: 11.5 kB / 0.5195 GB, free: 41.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002853/0.5049, allocations: 1.451 MB / 0.521 GB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001949/0.5068, allocations: 0.5768 MB / 0.5215 GB, free: 40.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/0.5076, allocations: 220.9 kB / 0.5217 GB, free: 40.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/0.5183, allocations: 11.07 MB / 0.5325 GB, free: 32.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.5196, allocations: 59.66 kB / 0.5326 GB, free: 32.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-05/0.5197, allocations: 45 kB / 0.5326 GB, free: 32.13 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.0003634/0.5201, allocations: 253.5 kB / 0.5329 GB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.5203, allocations: 102.8 kB / 0.533 GB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/0.5231, allocations: 1.405 MB / 0.5344 GB, free: 31.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.5232, allocations: 11.97 kB / 0.5344 GB, free: 31.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5232, allocations: 7.938 kB / 0.5344 GB, free: 31.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.5232, allocations: 7.875 kB / 0.5344 GB, free: 31.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.5273, allocations: 2.856 MB / 0.5372 GB, free: 29.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.5274, allocations: 7.031 kB / 0.5372 GB, free: 29.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004853/0.5278, allocations: 134.6 kB / 0.5373 GB, free: 29.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009603/0.5288, allocations: 393.2 kB / 0.5377 GB, free: 29.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-05/0.5289, allocations: 31.23 kB / 0.5377 GB, free: 29.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005394/0.5343, allocations: 9.495 MB / 0.547 GB, free: 20.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5343, allocations: 4.469 kB / 0.547 GB, free: 20.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/0.5368, allocations: 1.929 MB / 0.5489 GB, free: 18.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.5371, allocations: 259.8 kB / 0.5491 GB, free: 18.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.5373, allocations: 39.69 kB / 0.5492 GB, free: 18.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005224/0.5378, allocations: 35.97 kB / 0.5492 GB, free: 17.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.5379, allocations: 80.38 kB / 0.5493 GB, free: 17.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.538, allocations: 27.98 kB / 0.5493 GB, free: 17.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005373/0.5385, allocations: 0.5737 MB / 0.5499 GB, free: 17.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5385, allocations: 4 kB / 0.5499 GB, free: 17.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001939/0.5404, allocations: 0.642 MB / 0.5505 GB, free: 16.66 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.0002887/0.5407, allocations: 153.3 kB / 0.5506 GB, free: 16.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004965/0.5457, allocations: 3.677 MB / 0.5542 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5457, allocations: 0 / 0.5542 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.5471, allocations: 1.171 MB / 0.5554 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.5481, allocations: 246.2 kB / 0.5556 GB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.5521, allocations: 3.638 MB / 0.5592 GB, free: 7.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/0.5528, allocations: 1.35 MB / 0.5605 GB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008972/0.5537, allocations: 348.2 kB / 0.5608 GB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.5539, allocations: 71.42 kB / 0.5609 GB, free: 5.836 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5539, allocations: 0 / 0.5609 GB, free: 5.836 MB / 382.1 MB Notification: Performance of Templates: time 0.03218/0.5861, allocations: 22.16 MB / 0.5825 GB, free: 15.8 MB / 414.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)