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.001607/0.001607, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001693/0.001693, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.369/1.369, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2043/0.2043, allocations: 38.03 MB / 329.3 MB, free: 9.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 62.98 kB / 398.1 MB, free: 34.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1098, allocations: 58.05 MB / 456.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01296/0.1228, allocations: 12.16 MB / 468.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007586/0.1304, allocations: 4.48 MB / 472.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.1317, allocations: 75.56 kB / 472.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002785/0.1345, allocations: 1.112 MB / 474 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002658/0.1372, allocations: 0.8637 MB / 474.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.1389, allocations: 0.5811 MB / 475.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003384/0.1423, allocations: 3.044 MB / 478.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.1439, allocations: 1.081 MB / 479.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.1451, allocations: 0.7273 MB / 480.3 MB, free: 296 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.1465, allocations: 1.047 MB / 481.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.1466, allocations: 88 kB / 481.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.1478, allocations: 0.5381 MB / 481.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006019/0.1484, allocations: 0.6662 MB / 482.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007568/0.1491, allocations: 0.7463 MB / 483.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.1513, allocations: 2.231 MB / 485.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1513, allocations: 0 / 485.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1513, allocations: 0 / 485.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.1513, allocations: 4 kB / 485.6 MB, free: 10.95 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.003596/0.1549, allocations: 1.79 MB / 487.4 MB, free: 9.105 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.155, allocations: 8.031 kB / 487.4 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.1566, allocations: 290.8 kB / 487.7 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.1586, allocations: 1.028 MB / 488.7 MB, free: 7.742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.228e-05/0.1586, allocations: 90.73 kB / 488.8 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003141/0.159, allocations: 155.7 kB / 488.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/0.1616, allocations: 1.693 MB / 490.6 MB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.1617, allocations: 11.92 kB / 490.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.1618, allocations: 47.98 kB / 490.7 MB, free: 5.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002975/0.1621, allocations: 110.4 kB / 490.8 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.1644, allocations: 1.415 MB / 492.2 MB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008196/0.1726, allocations: 6.087 MB / 498.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.1737, allocations: 0.7167 MB / 499 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006477/0.1744, allocations: 460.4 kB / 499.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.816e-05/0.1744, allocations: 16.64 kB / 499.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.1745, allocations: 47.2 kB / 499.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.545e-06/0.1745, allocations: 0 / 499.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.008886/0.1834, allocations: 4.298 MB / 0.492 GB, free: 8.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.1835, allocations: 174.8 kB / 0.4922 GB, free: 7.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.1846, allocations: 0.8373 MB / 0.493 GB, free: 6.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.1847, allocations: 41.7 kB / 0.493 GB, free: 6.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004155/0.1851, allocations: 0.6349 MB / 0.4937 GB, free: 6.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.1853, allocations: 299.8 kB / 0.4939 GB, free: 5.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003139/0.1856, allocations: 218.8 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1858, allocations: 354 kB / 0.4945 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007687/0.1866, allocations: 497.8 kB / 0.495 GB, free: 4.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009625/0.1875, allocations: 0.7697 MB / 0.4957 GB, free: 4.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.1894, allocations: 1.296 MB / 0.497 GB, free: 2.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.1894, allocations: 4 kB / 0.497 GB, free: 2.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003812/0.1932, allocations: 1.897 MB / 0.4988 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.1933, allocations: 11.94 kB / 0.4989 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2378/0.4311, allocations: 1.495 MB / 0.5003 GB, free: 55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002272/0.4334, allocations: 0.5714 MB / 0.5009 GB, free: 54.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.435, allocations: 400.9 kB / 0.5013 GB, free: 54.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/0.4478, allocations: 13.1 MB / 0.514 GB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009308/0.4487, allocations: 62.98 kB / 0.5141 GB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-05/0.4488, allocations: 49.28 kB / 0.5141 GB, free: 44.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001289/0.4501, allocations: 0.7974 MB / 0.5149 GB, free: 44.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008164/0.4509, allocations: 0.749 MB / 0.5157 GB, free: 43.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001631/0.4526, allocations: 1.256 MB / 0.5169 GB, free: 43.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.98e-06/0.4526, allocations: 3.25 kB / 0.5169 GB, free: 43.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.003825/0.4564, allocations: 1.846 MB / 0.5187 GB, free: 42.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4564, allocations: 9.812 kB / 0.5187 GB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003073/0.4595, allocations: 1.456 MB / 0.5201 GB, free: 41.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.4616, allocations: 0.5632 MB / 0.5207 GB, free: 41.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007327/0.4623, allocations: 220.9 kB / 0.5209 GB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009429/0.4718, allocations: 10.17 MB / 0.5308 GB, free: 33.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.4729, allocations: 58.7 kB / 0.5309 GB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.4731, allocations: 43.39 kB / 0.5309 GB, free: 33.67 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.0004087/0.4735, allocations: 258.8 kB / 0.5312 GB, free: 33.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003135/0.4738, allocations: 104.7 kB / 0.5313 GB, free: 33.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/0.4767, allocations: 1.404 MB / 0.5326 GB, free: 32.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.4768, allocations: 9.625 kB / 0.5326 GB, free: 32.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/0.4768, allocations: 8.062 kB / 0.5327 GB, free: 32.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.4768, allocations: 5.266 kB / 0.5327 GB, free: 32.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004906/0.4817, allocations: 2.864 MB / 0.5355 GB, free: 31.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.4817, allocations: 3.875 kB / 0.5355 GB, free: 31.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.4823, allocations: 122.9 kB / 0.5356 GB, free: 31.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.4833, allocations: 399.8 kB / 0.536 GB, free: 30.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.519e-05/0.4834, allocations: 34.8 kB / 0.536 GB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006114/0.4895, allocations: 8.666 MB / 0.5445 GB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/0.4896, allocations: 11.67 kB / 0.5445 GB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00317/0.4928, allocations: 1.927 MB / 0.5463 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/0.4933, allocations: 260.3 kB / 0.5466 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/0.4935, allocations: 28.47 kB / 0.5466 GB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006463/0.4942, allocations: 43.95 kB / 0.5467 GB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.4944, allocations: 72.44 kB / 0.5467 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/0.4944, allocations: 28.89 kB / 0.5468 GB, free: 20.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008353/0.4953, allocations: 0.5737 MB / 0.5473 GB, free: 19.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.52e-07/0.4953, allocations: 0 / 0.5473 GB, free: 19.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002932/0.4982, allocations: 0.6575 MB / 0.548 GB, free: 19.25 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.0004369/0.4987, allocations: 148.7 kB / 0.5481 GB, free: 19.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005249/0.5039, allocations: 3.456 MB / 0.5515 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.504, allocations: 0 / 0.5515 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.5055, allocations: 1.177 MB / 0.5526 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.5068, allocations: 225.9 kB / 0.5528 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005442/0.5123, allocations: 3.645 MB / 0.5564 GB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009001/0.5132, allocations: 1.334 MB / 0.5577 GB, free: 9.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009604/0.5141, allocations: 356.2 kB / 0.558 GB, free: 8.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.5143, allocations: 75.42 kB / 0.5581 GB, free: 8.648 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5144, allocations: 0 / 0.5581 GB, free: 8.648 MB / 382.1 MB Notification: Performance of Templates: time 0.03388/0.5482, allocations: 21.19 MB / 0.5788 GB, free: 3.578 MB / 398.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)