Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 106.2 kB / 15.99 MB, free: 6.355 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.252/1.252, allocations: 222.9 MB / 239.6 MB, free: 4.699 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 192.5 kB / 289.9 MB, free: 2.441 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4338/0.4338, allocations: 78.52 MB / 418.6 MB, free: 3.305 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 75.88 kB / 497.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1356, allocations: 68.17 MB / 0.5525 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.2522/0.3879, allocations: 7.018 MB / 0.5593 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00329/0.3912, allocations: 2.04 MB / 0.5613 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004121/0.3916, allocations: 11.34 kB / 0.5614 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006302/0.3923, allocations: 183.5 kB / 0.5615 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.3938, allocations: 0.7273 MB / 0.5622 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009906/0.3948, allocations: 0.5948 MB / 0.5628 GB, free: 35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.3961, allocations: 1.657 MB / 0.5644 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003904/0.3965, allocations: 326.8 kB / 0.5647 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006059/0.3971, allocations: 0.694 MB / 0.5654 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006826/0.3978, allocations: 0.8763 MB / 0.5663 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.398, allocations: 133.7 kB / 0.5664 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.3984, allocations: 264.8 kB / 0.5667 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.3986, allocations: 354.6 kB / 0.567 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004171/0.399, allocations: 0.6989 MB / 0.5677 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000919/0.4, allocations: 1.337 MB / 0.569 GB, free: 33.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4, allocations: 2.844 kB / 0.569 GB, free: 33.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4, allocations: 1.562 kB / 0.569 GB, free: 33.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.4, allocations: 0.5625 kB / 0.569 GB, free: 33.95 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008094/0.4081, allocations: 2.776 MB / 0.5717 GB, free: 32.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4082, allocations: 14.08 kB / 0.5717 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004583/0.4128, allocations: 0.7741 MB / 0.5725 GB, free: 32.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.4139, allocations: 0.9291 MB / 0.5734 GB, free: 32.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002155/0.4142, allocations: 255.6 kB / 0.5736 GB, free: 32.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.4143, allocations: 88.22 kB / 0.5737 GB, free: 32.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.4162, allocations: 1.114 MB / 0.5748 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.4162, allocations: 7.875 kB / 0.5748 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.008e-05/0.4163, allocations: 31.84 kB / 0.5748 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.4163, allocations: 19.19 kB / 0.5749 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.418, allocations: 1.001 MB / 0.5758 GB, free: 32.16 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005382/0.4234, allocations: 3.917 MB / 0.5797 GB, free: 30.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006814/0.4303, allocations: 2.404 MB / 0.582 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.4315, allocations: 0.6942 MB / 0.5827 GB, free: 29.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.4317, allocations: 22.81 kB / 0.5827 GB, free: 29.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/0.4332, allocations: 0.8387 MB / 0.5835 GB, free: 28.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.216e-06/0.4332, allocations: 1.875 kB / 0.5835 GB, free: 28.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02806/0.4613, allocations: 7.085 MB / 0.5904 GB, free: 27.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.4613, allocations: 118.4 kB / 0.5906 GB, free: 27.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.4635, allocations: 1.143 MB / 0.5917 GB, free: 26.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001397/0.4636, allocations: 46.17 kB / 0.5917 GB, free: 26.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004049/0.4641, allocations: 0.4964 MB / 0.5922 GB, free: 26.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.4644, allocations: 362.8 kB / 0.5925 GB, free: 26.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006726/0.4651, allocations: 304.2 kB / 0.5928 GB, free: 26.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.4652, allocations: 301.8 kB / 0.5931 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/0.4669, allocations: 0.7934 MB / 0.5939 GB, free: 25.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.4687, allocations: 0.9698 MB / 0.5948 GB, free: 25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0257/0.4945, allocations: 5.943 MB / 0.6006 GB, free: 23.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.4945, allocations: 1.281 kB / 0.6006 GB, free: 23.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01533/0.5098, allocations: 4.508 MB / 0.6051 GB, free: 21.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.5099, allocations: 68.12 kB / 0.6051 GB, free: 21.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.5099, allocations: 3 kB / 0.6051 GB, free: 21.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006303/0.5162, allocations: 1.668 MB / 0.6067 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.5177, allocations: 300.2 kB / 0.607 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01864/0.5363, allocations: 8.622 MB / 0.6155 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.5383, allocations: 214.5 kB / 0.6157 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/0.5385, allocations: 53.39 kB / 0.6157 GB, free: 14.3 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006467/0.5391, allocations: 306.7 kB / 0.616 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.5395, allocations: 135.2 kB / 0.6161 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.5509, allocations: 3.908 MB / 0.6199 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.5509, allocations: 12 kB / 0.62 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.5509, allocations: 8 kB / 0.62 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.5509, allocations: 4.734 kB / 0.62 GB, free: 9.898 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/0.5637, allocations: 5.555 MB / 0.6254 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.5637, allocations: 0 / 0.6254 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/0.5643, allocations: 107.8 kB / 0.6255 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004859/0.5692, allocations: 1.596 MB / 0.6271 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.5693, allocations: 24.61 kB / 0.6271 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01956/0.5889, allocations: 9.64 MB / 0.6365 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5889, allocations: 6.156 kB / 0.6365 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/0.6031, allocations: 4.803 MB / 0.6412 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005313/0.6036, allocations: 235.2 kB / 0.6414 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003217/0.604, allocations: 19.94 kB / 0.6414 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.6054, allocations: 103.9 kB / 0.6415 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005658/0.6059, allocations: 204.7 kB / 0.6417 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.6061, allocations: 28 kB / 0.6418 GB, free: 3.129 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001212/0.6073, allocations: 0.7673 MB / 0.6425 GB, free: 2.355 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6073, allocations: 0 / 0.6425 GB, free: 2.355 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001544/0.6088, allocations: 491.6 kB / 0.643 GB, free: 1.875 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002968/0.6091, allocations: 140 kB / 0.6431 GB, free: 1.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006908/0.6161, allocations: 2.658 MB / 0.6457 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.6161, allocations: 0 / 0.6457 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004107/0.6202, allocations: 1.615 MB / 0.6473 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009401/0.6211, allocations: 118.1 kB / 0.6474 GB, free: 13.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/0.6256, allocations: 2.913 MB / 0.6502 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006563/0.6263, allocations: 1.132 MB / 0.6513 GB, free: 9.215 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.6267, allocations: 91.41 kB / 0.6514 GB, free: 9.125 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.6267, allocations: 0 / 0.6514 GB, free: 9.125 MB / 462.1 MB Notification: Performance of Templates: time 0.02809/0.6548, allocations: 24.21 MB / 0.6751 GB, free: 1.105 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)