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.001379/0.00138, allocations: 110.2 kB / 17.06 MB, free: 5.785 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.001296/0.001296, allocations: 195 kB / 18 MB, free: 4.945 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.398/1.398, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2192/0.2192, allocations: 38.04 MB / 329.9 MB, free: 8.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 59.91 kB / 458.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.412, allocations: 58.06 MB / 0.5041 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.009837/0.4219, allocations: 10.33 MB / 0.5142 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006814/0.4288, allocations: 3.873 MB / 0.518 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.43, allocations: 36.62 kB / 0.518 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003258/0.4333, allocations: 1.166 MB / 0.5192 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0034/0.4367, allocations: 0.9364 MB / 0.5201 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.4388, allocations: 0.6429 MB / 0.5207 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004102/0.4429, allocations: 2.073 MB / 0.5227 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.445, allocations: 1.193 MB / 0.5239 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.4468, allocations: 0.8715 MB / 0.5247 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.4484, allocations: 0.9875 MB / 0.5257 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002757/0.4487, allocations: 139.8 kB / 0.5258 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.4506, allocations: 0.5691 MB / 0.5264 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009043/0.4515, allocations: 0.7102 MB / 0.5271 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.4526, allocations: 0.8143 MB / 0.5279 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003518/0.4562, allocations: 2.314 MB / 0.5301 GB, free: 8.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4562, allocations: 0 / 0.5301 GB, free: 8.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4562, allocations: 1.156 kB / 0.5301 GB, free: 8.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.025e-05/0.4562, allocations: 0 / 0.5301 GB, free: 8.121 MB / 398.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.00385/0.4601, allocations: 1.843 MB / 0.5319 GB, free: 6.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.4601, allocations: 12.98 kB / 0.532 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.4619, allocations: 295.2 kB / 0.5322 GB, free: 6.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.4642, allocations: 1.088 MB / 0.5333 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.619e-05/0.4643, allocations: 92.22 kB / 0.5334 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003455/0.4647, allocations: 148.2 kB / 0.5335 GB, free: 5.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/0.4678, allocations: 1.693 MB / 0.5352 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.096e-05/0.4679, allocations: 11.28 kB / 0.5352 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.468, allocations: 50.61 kB / 0.5352 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00031/0.4683, allocations: 104.6 kB / 0.5353 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/0.4709, allocations: 1.43 MB / 0.5367 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009001/0.4799, allocations: 6.052 MB / 0.5426 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.4811, allocations: 0.6986 MB / 0.5433 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007114/0.4819, allocations: 464.2 kB / 0.5438 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.206e-05/0.4819, allocations: 16.27 kB / 0.5438 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.482, allocations: 46.97 kB / 0.5438 GB, free: 14.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 4.198e-06/0.482, allocations: 0 / 0.5438 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.009686/0.4917, allocations: 4.368 MB / 0.5481 GB, free: 10.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.918e-05/0.4918, allocations: 162.9 kB / 0.5483 GB, free: 10.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.4929, allocations: 0.8374 MB / 0.5491 GB, free: 9.773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.713e-05/0.493, allocations: 37.7 kB / 0.5491 GB, free: 9.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004498/0.4934, allocations: 0.6523 MB / 0.5497 GB, free: 9.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.4937, allocations: 317.3 kB / 0.55 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.494, allocations: 222.9 kB / 0.5503 GB, free: 8.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4942, allocations: 353.9 kB / 0.5506 GB, free: 8.184 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007615/0.495, allocations: 485.8 kB / 0.5511 GB, free: 7.703 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009979/0.496, allocations: 0.7737 MB / 0.5518 GB, free: 6.812 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.4978, allocations: 1.296 MB / 0.5531 GB, free: 5.398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.4978, allocations: 4 kB / 0.5531 GB, free: 5.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003692/0.5015, allocations: 1.902 MB / 0.5549 GB, free: 3.473 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.5015, allocations: 11.94 kB / 0.555 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002951/0.5045, allocations: 1.506 MB / 0.5564 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/0.5064, allocations: 0.5621 MB / 0.557 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.508, allocations: 403.4 kB / 0.5574 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01541/0.5234, allocations: 14.21 MB / 0.5712 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.5248, allocations: 59.95 kB / 0.5713 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/0.525, allocations: 47.98 kB / 0.5713 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001596/0.5267, allocations: 0.8032 MB / 0.5721 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001031/0.5277, allocations: 0.7385 MB / 0.5728 GB, free: 16 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001792/0.5295, allocations: 1.257 MB / 0.5741 GB, free: 14.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.851e-06/0.5295, allocations: 0 / 0.5741 GB, free: 14.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.004043/0.5336, allocations: 1.863 MB / 0.5759 GB, free: 12.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.5336, allocations: 11.94 kB / 0.5759 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002966/0.5366, allocations: 1.451 MB / 0.5773 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/0.5386, allocations: 0.5664 MB / 0.5779 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007855/0.5394, allocations: 219.6 kB / 0.5781 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/0.5518, allocations: 11.07 MB / 0.5889 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.5531, allocations: 51.91 kB / 0.5889 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.5532, allocations: 56.05 kB / 0.589 GB, free: 14.61 MB / 462.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.0004167/0.5537, allocations: 247.9 kB / 0.5892 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/0.554, allocations: 107.3 kB / 0.5893 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.5567, allocations: 1.409 MB / 0.5907 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.5567, allocations: 8 kB / 0.5907 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.5568, allocations: 8 kB / 0.5907 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.5568, allocations: 7.922 kB / 0.5907 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005406/0.5622, allocations: 2.859 MB / 0.5935 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.5622, allocations: 8 kB / 0.5935 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/0.5628, allocations: 135.7 kB / 0.5937 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.564, allocations: 392.1 kB / 0.594 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.495e-05/0.5641, allocations: 31.92 kB / 0.5941 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00849/0.5726, allocations: 9.498 MB / 0.6033 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.5726, allocations: 4.078 kB / 0.6033 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003614/0.5762, allocations: 1.933 MB / 0.6052 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007091/0.577, allocations: 276.2 kB / 0.6055 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/0.5774, allocations: 24 kB / 0.6055 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008063/0.5782, allocations: 39.95 kB / 0.6056 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.5784, allocations: 80.44 kB / 0.6056 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-05/0.5785, allocations: 24.11 kB / 0.6057 GB, free: 12.61 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001101/0.5796, allocations: 0.5737 MB / 0.6062 GB, free: 12.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5796, allocations: 0 / 0.6062 GB, free: 12.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003099/0.5827, allocations: 0.6484 MB / 0.6068 GB, free: 11.37 MB / 478.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.000429/0.5831, allocations: 161.8 kB / 0.607 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006205/0.5893, allocations: 3.486 MB / 0.6104 GB, free: 7.586 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.5894, allocations: 0 / 0.6104 GB, free: 7.586 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001761/0.5911, allocations: 1.17 MB / 0.6116 GB, free: 6.348 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.5928, allocations: 244.4 kB / 0.6118 GB, free: 6.117 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006234/0.5991, allocations: 3.11 MB / 0.6148 GB, free: 2.934 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/0.6006, allocations: 1.339 MB / 0.6161 GB, free: 1.566 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001013/0.6017, allocations: 352.2 kB / 0.6165 GB, free: 1.219 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.6019, allocations: 75.41 kB / 0.6165 GB, free: 1.148 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6019, allocations: 0 / 0.6165 GB, free: 1.148 MB / 478.1 MB Notification: Performance of Templates: time 0.03738/0.6393, allocations: 22.43 MB / 0.6384 GB, free: 10.82 MB / 0.4981 GB 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)