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.001067/0.001067, allocations: 106.4 kB / 16.92 MB, free: 6.145 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.001121/0.001121, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.363/1.363, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1701/0.1701, allocations: 38.04 MB / 329.7 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 67.12 kB / 398.8 MB, free: 34.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1255, allocations: 58.05 MB / 456.8 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01268/0.1383, allocations: 10.33 MB / 467.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007106/0.1454, allocations: 3.891 MB / 471.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008406/0.1463, allocations: 39.75 kB / 471.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.1493, allocations: 1.159 MB / 472.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002523/0.1519, allocations: 0.9409 MB / 473.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.1536, allocations: 0.6502 MB / 473.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003019/0.1567, allocations: 2.073 MB / 475.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.1583, allocations: 1.198 MB / 477.1 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.1596, allocations: 0.8523 MB / 478 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.1611, allocations: 0.9889 MB / 479 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002622/0.1614, allocations: 144 kB / 479.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.1626, allocations: 0.5733 MB / 479.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006904/0.1633, allocations: 0.7092 MB / 480.4 MB, free: 420 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008962/0.1643, allocations: 0.8087 MB / 481.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00246/0.1667, allocations: 2.271 MB / 483.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1667, allocations: 0 / 483.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1668, allocations: 0 / 483.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.1e-05/0.1668, allocations: 0 / 483.5 MB, free: 13.32 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.003695/0.1705, allocations: 1.809 MB / 485.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1706, allocations: 11.89 kB / 485.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.1723, allocations: 282.9 kB / 485.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.1743, allocations: 1.024 MB / 486.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/0.1744, allocations: 90.72 kB / 486.7 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/0.1747, allocations: 159.8 kB / 486.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.1776, allocations: 1.69 MB / 488.5 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.1776, allocations: 4 kB / 488.5 MB, free: 8.082 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.1778, allocations: 48 kB / 488.6 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003178/0.1781, allocations: 110.3 kB / 488.7 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.1805, allocations: 1.426 MB / 490.1 MB, free: 6.492 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009101/0.1896, allocations: 6.091 MB / 496.2 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.191, allocations: 0.7097 MB / 496.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006883/0.1917, allocations: 464.3 kB / 497.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.433e-05/0.1918, allocations: 12.66 kB / 497.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.1918, allocations: 39.22 kB / 497.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.166e-06/0.1918, allocations: 4 kB / 497.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.009468/0.2013, allocations: 4.313 MB / 0.49 GB, free: 10.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.335e-05/0.2014, allocations: 162.9 kB / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.2025, allocations: 0.8373 MB / 0.4909 GB, free: 9.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.621e-05/0.2026, allocations: 41.7 kB / 0.491 GB, free: 9.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.203, allocations: 0.6312 MB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.2032, allocations: 303.7 kB / 0.4919 GB, free: 8.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003248/0.2036, allocations: 222.7 kB / 0.4921 GB, free: 8.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2037, allocations: 353.9 kB / 0.4924 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007844/0.2045, allocations: 493.8 kB / 0.4929 GB, free: 7.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009778/0.2055, allocations: 0.7697 MB / 0.4937 GB, free: 6.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.2073, allocations: 1.3 MB / 0.4949 GB, free: 4.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.2073, allocations: 4 kB / 0.4949 GB, free: 4.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003796/0.2112, allocations: 1.897 MB / 0.4968 GB, free: 3.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.2112, allocations: 11.94 kB / 0.4968 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003136/0.2143, allocations: 1.499 MB / 0.4983 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002013/0.2164, allocations: 0.57 MB / 0.4988 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.2179, allocations: 399.4 kB / 0.4992 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2435/0.4614, allocations: 14.2 MB / 0.5131 GB, free: 44.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.4625, allocations: 61.08 kB / 0.5131 GB, free: 44.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/0.4627, allocations: 51.8 kB / 0.5132 GB, free: 44.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001787/0.4645, allocations: 0.7992 MB / 0.514 GB, free: 43.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001518/0.4661, allocations: 0.7467 MB / 0.5147 GB, free: 43.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001998/0.4681, allocations: 1.253 MB / 0.5159 GB, free: 42.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.416e-05/0.4681, allocations: 3.375 kB / 0.5159 GB, free: 42.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.004595/0.4727, allocations: 1.859 MB / 0.5177 GB, free: 41.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.4728, allocations: 8.688 kB / 0.5177 GB, free: 41.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003264/0.4761, allocations: 1.456 MB / 0.5192 GB, free: 41.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001967/0.478, allocations: 0.5732 MB / 0.5197 GB, free: 41.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007937/0.4788, allocations: 217.7 kB / 0.5199 GB, free: 41.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.4894, allocations: 11.07 MB / 0.5307 GB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.4905, allocations: 59.33 kB / 0.5308 GB, free: 32.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.4906, allocations: 45.91 kB / 0.5308 GB, free: 32.52 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.0003494/0.491, allocations: 257.3 kB / 0.5311 GB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.4912, allocations: 103.1 kB / 0.5312 GB, free: 32.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.4936, allocations: 1.397 MB / 0.5325 GB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.4937, allocations: 11.7 kB / 0.5326 GB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.4937, allocations: 7 kB / 0.5326 GB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.4937, allocations: 5.109 kB / 0.5326 GB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004751/0.4985, allocations: 2.875 MB / 0.5354 GB, free: 30.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.4985, allocations: 3.969 kB / 0.5354 GB, free: 30.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004973/0.499, allocations: 125.6 kB / 0.5355 GB, free: 30.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009323/0.4999, allocations: 387.5 kB / 0.5359 GB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.071e-05/0.5, allocations: 39.84 kB / 0.5359 GB, free: 30.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005713/0.5057, allocations: 9.489 MB / 0.5452 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5058, allocations: 3.625 kB / 0.5452 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002909/0.5087, allocations: 1.927 MB / 0.5471 GB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005275/0.5092, allocations: 258.9 kB / 0.5473 GB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/0.5095, allocations: 35.89 kB / 0.5473 GB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000653/0.5102, allocations: 47.95 kB / 0.5474 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.5103, allocations: 72.45 kB / 0.5475 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/0.5104, allocations: 23.98 kB / 0.5475 GB, free: 19.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007558/0.5111, allocations: 0.58 MB / 0.548 GB, free: 18.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5111, allocations: 480 / 0.548 GB, free: 18.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002499/0.5137, allocations: 0.6393 MB / 0.5487 GB, free: 18.07 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.0003891/0.5141, allocations: 165.2 kB / 0.5488 GB, free: 17.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005488/0.5196, allocations: 3.679 MB / 0.5524 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.5196, allocations: 0 / 0.5524 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.521, allocations: 1.173 MB / 0.5536 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.5224, allocations: 244.5 kB / 0.5538 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004582/0.527, allocations: 3.109 MB / 0.5568 GB, free: 9.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000903/0.528, allocations: 1.335 MB / 0.5581 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001056/0.529, allocations: 344.2 kB / 0.5585 GB, free: 7.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.5293, allocations: 79.42 kB / 0.5585 GB, free: 7.762 MB / 382.1 MB Notification: Performance of SimCode: time 2.184e-06/0.5293, allocations: 0 / 0.5585 GB, free: 7.762 MB / 382.1 MB Notification: Performance of Templates: time 0.03957/0.5689, allocations: 22.08 MB / 0.5801 GB, free: 1.809 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)