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 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.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.0007498/0.0007499, allocations: 91.75 kB / 16.65 MB, free: 6.586 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.0008849/0.000885, allocations: 183.8 kB / 17.56 MB, free: 6.203 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.516/1.516, allocations: 205.4 MB / 223.8 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1875/0.1875, 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.0005555/0.0005558, allocations: 15.94 kB / 377.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2785, allocations: 56.34 MB / 433.5 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.009223/0.2878, allocations: 11.63 MB / 445.1 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007721/0.2956, allocations: 4.449 MB / 449.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.2969, allocations: 67.56 kB / 449.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.2981, allocations: 310 kB / 449.9 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.3005, allocations: 0.8637 MB / 450.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.3021, allocations: 0.5734 MB / 451.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003507/0.3056, allocations: 3.051 MB / 454.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002903/0.3085, allocations: 1.666 MB / 456.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.3098, allocations: 0.6609 MB / 456.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.3111, allocations: 0.9499 MB / 457.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.3113, allocations: 64 kB / 457.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009891/0.3123, allocations: 0.5185 MB / 458.3 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005914/0.3129, allocations: 0.6078 MB / 458.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006759/0.3135, allocations: 0.7284 MB / 459.6 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.3155, allocations: 2.169 MB / 461.8 MB, free: 6.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3155, allocations: 0 / 461.8 MB, free: 6.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3155, allocations: 0 / 461.8 MB, free: 6.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.3155, allocations: 4 kB / 461.8 MB, free: 6.242 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.002788/0.3183, allocations: 1.532 MB / 463.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.3184, allocations: 12.02 kB / 463.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.32, allocations: 290.8 kB / 463.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.3219, allocations: 1.04 MB / 464.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.034e-05/0.322, allocations: 90.72 kB / 464.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003317/0.3223, allocations: 155.8 kB / 464.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.325, allocations: 1.693 MB / 466.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.325, allocations: 4 kB / 466.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.3252, allocations: 51.98 kB / 466.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002911/0.3255, allocations: 106.4 kB / 466.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.3278, allocations: 1.442 MB / 468.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008255/0.3361, allocations: 6.111 MB / 474.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.3372, allocations: 0.7019 MB / 475 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006682/0.3378, allocations: 480.3 kB / 475.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.054e-05/0.3379, allocations: 16.64 kB / 475.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.3379, allocations: 43.22 kB / 475.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.394e-06/0.338, allocations: 3.938 kB / 475.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=83): time 0.009141/0.3471, allocations: 4.45 MB / 480 MB, free: 3.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.3472, allocations: 166.9 kB / 480.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.3484, allocations: 0.8415 MB / 481 MB, free: 2.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-05/0.3485, allocations: 41.7 kB / 481 MB, free: 2.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00047/0.349, allocations: 0.6311 MB / 481.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.3492, allocations: 303.7 kB / 482 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.3494, allocations: 105.7 kB / 482.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.3496, allocations: 353.9 kB / 482.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000739/0.3503, allocations: 494.3 kB / 482.9 MB, free: 344 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009661/0.3513, allocations: 0.7736 MB / 483.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.3532, allocations: 1.316 MB / 485 MB, free: 14.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.3532, allocations: 4 kB / 485 MB, free: 14.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003852/0.357, allocations: 1.909 MB / 486.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002763/0.3573, allocations: 348.1 kB / 487.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003207/0.3605, allocations: 1.518 MB / 488.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002151/0.3627, allocations: 0.5661 MB / 489.3 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.3644, allocations: 483.5 kB / 489.8 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01566/0.38, allocations: 13.27 MB / 0.4913 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.3814, allocations: 71.95 kB / 0.4913 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-05/0.3815, allocations: 48 kB / 0.4914 GB, free: 10.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.3815, allocations: 7.938 kB / 0.4914 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003417/0.3849, allocations: 1.737 MB / 0.4931 GB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002827/0.3878, allocations: 1.452 MB / 0.4945 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001991/0.3898, allocations: 0.5699 MB / 0.4951 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000747/0.3905, allocations: 219.6 kB / 0.4953 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.4011, allocations: 10.17 MB / 0.5052 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009553/0.402, allocations: 59.89 kB / 0.5053 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/0.4021, allocations: 44 kB / 0.5053 GB, free: 11.75 MB / 398.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.000838/0.403, allocations: 0.5084 MB / 0.5058 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.4031, allocations: 102.7 kB / 0.5059 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.4057, allocations: 1.424 MB / 0.5073 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.4057, allocations: 15.94 kB / 0.5073 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4057, allocations: 4 kB / 0.5073 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.4057, allocations: 3.984 kB / 0.5073 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005114/0.4108, allocations: 2.882 MB / 0.5101 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.812e-05/0.4109, allocations: 4 kB / 0.5101 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009561/0.4119, allocations: 131.8 kB / 0.5103 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.4134, allocations: 384 kB / 0.5106 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.947e-05/0.4135, allocations: 31.92 kB / 0.5107 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2646/0.6781, allocations: 8.672 MB / 0.5191 GB, free: 80.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.6781, allocations: 3.641 kB / 0.5191 GB, free: 80.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003843/0.682, allocations: 1.959 MB / 0.521 GB, free: 79.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007948/0.6828, allocations: 270.6 kB / 0.5213 GB, free: 79.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.683, allocations: 28.44 kB / 0.5213 GB, free: 79.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006572/0.6837, allocations: 45.98 kB / 0.5214 GB, free: 79.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/0.684, allocations: 74.88 kB / 0.5214 GB, free: 79.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/0.684, allocations: 26.73 kB / 0.5215 GB, free: 79.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001132/0.6852, allocations: 0.5789 MB / 0.522 GB, free: 79.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6852, allocations: 0 / 0.522 GB, free: 79.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00335/0.6886, allocations: 0.6471 MB / 0.5227 GB, free: 79.68 MB / 398.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.0003847/0.689, allocations: 154 kB / 0.5228 GB, free: 79.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006634/0.6956, allocations: 3.55 MB / 0.5263 GB, free: 77.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.6957, allocations: 1.094 kB / 0.5263 GB, free: 77.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002332/0.698, allocations: 1.185 MB / 0.5274 GB, free: 77.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.7001, allocations: 233.6 kB / 0.5277 GB, free: 77.03 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006088/0.7062, allocations: 3.805 MB / 0.5314 GB, free: 74.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.7075, allocations: 1.343 MB / 0.5327 GB, free: 74.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001109/0.7086, allocations: 350.6 kB / 0.533 GB, free: 74.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.7089, allocations: 75.47 kB / 0.5331 GB, free: 74.11 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7089, allocations: 0 / 0.5331 GB, free: 74.11 MB / 398.1 MB Notification: Performance of Templates: time 0.03347/0.7423, allocations: 20.81 MB / 0.5534 GB, free: 56.52 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: