Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004361/0.00436, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 223.2 MB / 239 MB, free: 1.785 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009179/0.0009179, allocations: 106.7 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.407/0.407, allocations: 78.52 MB / 419.8 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 12 kB / 499.7 MB, free: 2.723 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.292, allocations: 69.34 MB / 0.5557 GB, free: 38.98 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1027/0.3947, allocations: 98.85 MB / 0.6522 GB, free: 7.539 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.3949, allocations: 84.58 kB / 0.6523 GB, free: 7.457 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07604/0.471, allocations: 30.92 MB / 0.6825 GB, free: 8.371 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.471, allocations: 0 / 0.6825 GB, free: 8.371 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.542e-05/0.4711, allocations: 24 kB / 0.6825 GB, free: 8.348 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004588/0.4757, allocations: 2.045 MB / 0.6845 GB, free: 6.238 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.4757, allocations: 8.031 kB / 0.6846 GB, free: 6.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003148/0.4789, allocations: 0.5642 MB / 0.6851 GB, free: 5.664 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.4801, allocations: 0.827 MB / 0.6859 GB, free: 4.781 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.4804, allocations: 238.4 kB / 0.6861 GB, free: 4.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.4805, allocations: 75.94 kB / 0.6862 GB, free: 4.445 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.4825, allocations: 1.158 MB / 0.6873 GB, free: 3.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.4825, allocations: 0 / 0.6873 GB, free: 3.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.335e-05/0.4826, allocations: 32 kB / 0.6874 GB, free: 3.238 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.4826, allocations: 16 kB / 0.6874 GB, free: 3.223 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.4845, allocations: 1.085 MB / 0.6884 GB, free: 2.137 MB / 490.7 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.006107/0.4906, allocations: 3.916 MB / 0.6923 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007421/0.4981, allocations: 2.888 MB / 0.6951 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.4982, allocations: 16.97 kB / 0.6951 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.4982, allocations: 47.56 kB / 0.6952 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=94): time 2.865e-06/0.4983, allocations: 4 kB / 0.6952 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94): time 0.02731/0.5256, allocations: 8.327 MB / 0.7033 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.5257, allocations: 137.5 kB / 0.7034 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.527, allocations: 0.9452 MB / 0.7043 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.513e-05/0.5271, allocations: 45.69 kB / 0.7044 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.5274, allocations: 0.513 MB / 0.7049 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/0.5277, allocations: 335.1 kB / 0.7052 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.5278, allocations: 20 kB / 0.7052 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.5279, allocations: 345.9 kB / 0.7056 GB, free: 220 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.5291, allocations: 0.65 MB / 0.7062 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.5304, allocations: 0.7847 MB / 0.707 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.5317, allocations: 0.755 MB / 0.7077 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5317, allocations: 0 / 0.7077 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01232/0.544, allocations: 4.625 MB / 0.7122 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003396/0.5444, allocations: 1.208 MB / 0.7134 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.5444, allocations: 0 / 0.7134 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005513/0.5499, allocations: 1.82 MB / 0.7152 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009623/0.5509, allocations: 187.7 kB / 0.7153 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01831/0.5692, allocations: 9.119 MB / 0.7242 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.5705, allocations: 191.2 kB / 0.7244 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.089e-05/0.5706, allocations: 36 kB / 0.7245 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.5707, allocations: 7.984 kB / 0.7245 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01228/0.5829, allocations: 4.461 MB / 0.7288 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.583, allocations: 8 kB / 0.7288 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005588/0.5886, allocations: 1.824 MB / 0.7306 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009594/0.5895, allocations: 179.8 kB / 0.7308 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0186/0.6081, allocations: 9.093 MB / 0.7397 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.6095, allocations: 191.2 kB / 0.7399 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.816e-05/0.6096, allocations: 35.98 kB / 0.7399 GB, free: 12.59 MB / 0.5417 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005891/0.6102, allocations: 358.8 kB / 0.7402 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/0.6105, allocations: 130.4 kB / 0.7404 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/0.6232, allocations: 4.638 MB / 0.7449 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.6232, allocations: 8 kB / 0.7449 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.6232, allocations: 8 kB / 0.7449 GB, free: 7.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.6233, allocations: 3.984 kB / 0.7449 GB, free: 7.406 MB / 0.5417 GB 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.01426/0.6375, allocations: 6.288 MB / 0.751 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.6375, allocations: 7.938 kB / 0.751 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006487/0.6382, allocations: 115.9 kB / 0.7512 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005081/0.6433, allocations: 1.789 MB / 0.7529 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.411e-05/0.6434, allocations: 19.98 kB / 0.7529 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0161/0.6595, allocations: 8.004 MB / 0.7607 GB, free: 6.938 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6595, allocations: 4 kB / 0.7607 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/0.6734, allocations: 5.575 MB / 0.7662 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004241/0.6738, allocations: 231.2 kB / 0.7664 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/0.6741, allocations: 19.98 kB / 0.7664 GB, free: 1.055 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.6753, allocations: 139.9 kB / 0.7666 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004811/0.6758, allocations: 180.7 kB / 0.7667 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.454e-05/0.6759, allocations: 31.98 kB / 0.7668 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.2022/0.8782, allocations: 0.7352 MB / 0.7675 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.012e-06/0.8782, allocations: 1.094 kB / 0.7675 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00255/0.8808, allocations: 0.6742 MB / 0.7681 GB, free: 146.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003038/0.8811, allocations: 149.9 kB / 0.7683 GB, free: 146.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0097/0.8908, allocations: 4.201 MB / 0.7724 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8908, allocations: 0 / 0.7724 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003981/0.8948, allocations: 1.691 MB / 0.774 GB, free: 145.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.8955, allocations: 112.7 kB / 0.7741 GB, free: 145.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.8989, allocations: 2.781 MB / 0.7769 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.8993, allocations: 1.158 MB / 0.778 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004743/0.8998, allocations: 134 kB / 0.7781 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.9, allocations: 66.25 kB / 0.7782 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of SimCode: time 6.21e-07/0.9, allocations: 0 / 0.7782 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.03364/0.9336, allocations: 26.13 MB / 0.8037 GB, free: 142.1 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)