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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001341/0.001341, allocations: 191.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.159/1.159, allocations: 194.2 MB / 212.2 MB, free: 2.375 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001639/0.001639, allocations: 129.6 kB / 256.6 MB, free: 4.309 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.166/0.166, allocations: 37.95 MB / 338.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 64.23 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08323/0.0846, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.009632/0.09427, allocations: 12.15 MB / 466.1 MB, free: 4.367 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006114/0.1004, allocations: 4.457 MB / 470.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.1019, allocations: 75.5 kB / 470.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002997/0.105, allocations: 1.112 MB / 471.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.1074, allocations: 0.8715 MB / 472.7 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.109, allocations: 0.5383 MB / 473.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002963/0.112, allocations: 3.055 MB / 476.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.1134, allocations: 1.085 MB / 477.3 MB, free: 9.121 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.1146, allocations: 0.7313 MB / 478.1 MB, free: 8.387 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.1162, allocations: 1.047 MB / 479.1 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002625/0.1165, allocations: 92 kB / 479.2 MB, free: 7.246 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.1175, allocations: 0.5381 MB / 479.7 MB, free: 6.707 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007006/0.1183, allocations: 0.6623 MB / 480.4 MB, free: 6.043 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.1193, allocations: 0.7501 MB / 481.2 MB, free: 5.289 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.1214, allocations: 2.212 MB / 483.4 MB, free: 3.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1214, allocations: 4 kB / 483.4 MB, free: 3.066 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1214, allocations: 0 / 483.4 MB, free: 3.066 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.738e-05/0.1215, allocations: 0 / 483.4 MB, free: 3.066 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.003207/0.1247, allocations: 1.789 MB / 485.2 MB, free: 1.219 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.1248, allocations: 11.97 kB / 485.2 MB, free: 1.207 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.1262, allocations: 298.8 kB / 485.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.1281, allocations: 1.016 MB / 486.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.752e-05/0.1282, allocations: 98.41 kB / 486.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/0.1284, allocations: 155.9 kB / 486.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.1307, allocations: 1.678 MB / 488.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.1307, allocations: 11.84 kB / 488.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.1309, allocations: 47.98 kB / 488.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002857/0.1312, allocations: 110.3 kB / 488.6 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.1333, allocations: 1.419 MB / 490 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008031/0.1414, allocations: 6.064 MB / 496.1 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.1424, allocations: 0.6427 MB / 496.7 MB, free: 5.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/0.1432, allocations: 468.3 kB / 497.2 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.966e-05/0.1432, allocations: 16.58 kB / 497.2 MB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.1433, allocations: 47.22 kB / 497.2 MB, free: 4.656 MB / 346.7 MB Notification: Performance of pre-optimization done (n=73): time 3.376e-06/0.1433, allocations: 0 / 497.2 MB, free: 4.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=84): time 0.009659/0.153, allocations: 4.439 MB / 0.4899 GB, free: 72 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.1531, allocations: 166.9 kB / 0.4901 GB, free: 15.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.1542, allocations: 0.8295 MB / 0.4909 GB, free: 15.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/0.1542, allocations: 41.7 kB / 0.4909 GB, free: 14.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004243/0.1547, allocations: 0.6311 MB / 0.4915 GB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.155, allocations: 303.7 kB / 0.4918 GB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003491/0.1553, allocations: 214.8 kB / 0.492 GB, free: 13.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1555, allocations: 353.9 kB / 0.4924 GB, free: 13.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008337/0.1563, allocations: 489.8 kB / 0.4928 GB, free: 12.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.1574, allocations: 0.7658 MB / 0.4936 GB, free: 12.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.1592, allocations: 1.3 MB / 0.4948 GB, free: 10.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.1592, allocations: 7.938 kB / 0.4948 GB, free: 10.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003792/0.163, allocations: 1.897 MB / 0.4967 GB, free: 8.762 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.1631, allocations: 12 kB / 0.4967 GB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002946/0.166, allocations: 1.499 MB / 0.4982 GB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/0.1679, allocations: 0.5661 MB / 0.4987 GB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.1693, allocations: 395.4 kB / 0.4991 GB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1705/0.3399, allocations: 13.09 MB / 0.5119 GB, free: 59.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009426/0.3409, allocations: 66.12 kB / 0.512 GB, free: 59.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.3411, allocations: 50.88 kB / 0.512 GB, free: 59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001305/0.3424, allocations: 0.7943 MB / 0.5128 GB, free: 58.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008595/0.3432, allocations: 0.7419 MB / 0.5135 GB, free: 58.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001478/0.3447, allocations: 1.254 MB / 0.5147 GB, free: 57.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.636e-06/0.3448, allocations: 1.344 kB / 0.5147 GB, free: 57.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.00346/0.3482, allocations: 1.846 MB / 0.5165 GB, free: 56.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3483, allocations: 12.16 kB / 0.5165 GB, free: 56.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002491/0.3508, allocations: 1.451 MB / 0.518 GB, free: 56.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/0.3525, allocations: 0.5708 MB / 0.5185 GB, free: 56.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006592/0.3532, allocations: 214.5 kB / 0.5187 GB, free: 56.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008579/0.3618, allocations: 10.18 MB / 0.5287 GB, free: 48.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000874/0.3627, allocations: 55.88 kB / 0.5287 GB, free: 48.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.3628, allocations: 46.38 kB / 0.5288 GB, free: 48.08 MB / 362.7 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 (117): * Single equations (assignments): 110 * 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.0003229/0.3632, allocations: 250.1 kB / 0.529 GB, free: 47.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.3634, allocations: 105.6 kB / 0.5291 GB, free: 47.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.366, allocations: 1.399 MB / 0.5305 GB, free: 47.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.3661, allocations: 9.438 kB / 0.5305 GB, free: 47.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.3661, allocations: 11.62 kB / 0.5305 GB, free: 47.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.3661, allocations: 7.406 kB / 0.5305 GB, free: 47.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005062/0.3712, allocations: 2.884 MB / 0.5333 GB, free: 45.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.3712, allocations: 352 / 0.5333 GB, free: 45.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/0.3717, allocations: 139.7 kB / 0.5334 GB, free: 45.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009801/0.3727, allocations: 386.4 kB / 0.5338 GB, free: 45.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-05/0.3728, allocations: 35.23 kB / 0.5338 GB, free: 45.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005552/0.3783, allocations: 8.687 MB / 0.5423 GB, free: 37.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3784, allocations: 6.734 kB / 0.5423 GB, free: 37.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02005/0.3984, allocations: 18.81 MB / 0.5607 GB, free: 17.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004665/0.3989, allocations: 255.8 kB / 0.5609 GB, free: 17.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.3991, allocations: 33.11 kB / 0.561 GB, free: 17.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005666/0.3997, allocations: 43.91 kB / 0.561 GB, free: 17.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3998, allocations: 73.81 kB / 0.5611 GB, free: 17.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/0.3999, allocations: 27.98 kB / 0.5611 GB, free: 17.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005993/0.4005, allocations: 0.5752 MB / 0.5617 GB, free: 16.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4005, allocations: 0 / 0.5617 GB, free: 16.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002672/0.4032, allocations: 0.9166 MB / 0.5626 GB, free: 15.76 MB / 362.7 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 (67): * Single equations (assignments): 61 * 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.0003034/0.4035, allocations: 168 kB / 0.5627 GB, free: 15.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00472/0.4082, allocations: 3.45 MB / 0.5661 GB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.4082, allocations: 4.188 kB / 0.5661 GB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.4096, allocations: 1.165 MB / 0.5672 GB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.4107, allocations: 216.2 kB / 0.5674 GB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005802/0.4165, allocations: 4.916 MB / 0.5723 GB, free: 5.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008647/0.4174, allocations: 1.38 MB / 0.5736 GB, free: 4.137 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009228/0.4183, allocations: 368.1 kB / 0.5739 GB, free: 3.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.4185, allocations: 75.42 kB / 0.574 GB, free: 3.699 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.4186, allocations: 0 / 0.574 GB, free: 3.699 MB / 362.7 MB Notification: Performance of Templates: time 0.03676/0.4553, allocations: 25.02 MB / 0.5985 GB, free: 10.68 MB / 394.7 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)