Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009647/0.0009646, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.454/1.454, allocations: 223.3 MB / 239 MB, free: 5.441 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.001356/0.001356, allocations: 188.3 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.535/0.535, allocations: 78.54 MB / 419.9 MB, free: 4.402 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005152/0.0005153, allocations: 19.94 kB / 499.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1711, allocations: 69.36 MB / 0.5558 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII): time 0.332/0.5032, allocations: 12.05 MB / 0.5676 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007724/0.5109, allocations: 3.23 MB / 0.5707 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/0.5135, allocations: 31.75 kB / 0.5708 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.5146, allocations: 355.1 kB / 0.5711 GB, free: 33.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004074/0.5187, allocations: 1.118 MB / 0.5722 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.5216, allocations: 1.254 MB / 0.5734 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003552/0.5252, allocations: 2.972 MB / 0.5763 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009512/0.5262, allocations: 0.6194 MB / 0.5769 GB, free: 30.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.528, allocations: 1.167 MB / 0.5781 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.5294, allocations: 1.586 MB / 0.5796 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002553/0.5297, allocations: 131.2 kB / 0.5797 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006645/0.5304, allocations: 256.7 kB / 0.58 GB, free: 29.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003561/0.5307, allocations: 0.539 MB / 0.5805 GB, free: 28.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.5312, allocations: 495.6 kB / 0.581 GB, free: 28.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.5332, allocations: 2.661 MB / 0.5836 GB, free: 27.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.5332, allocations: 3.375 kB / 0.5836 GB, free: 27.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5332, allocations: 0 / 0.5836 GB, free: 27.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.846e-05/0.5333, allocations: 0 / 0.5836 GB, free: 27.65 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01773/0.551, allocations: 5.721 MB / 0.5892 GB, free: 25.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.5511, allocations: 10 kB / 0.5892 GB, free: 25.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01461/0.5657, allocations: 2.262 MB / 0.5914 GB, free: 25.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003929/0.5697, allocations: 1.555 MB / 0.5929 GB, free: 24.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006165/0.5703, allocations: 0.6803 MB / 0.5936 GB, free: 23.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004243/0.5707, allocations: 204.9 kB / 0.5938 GB, free: 23.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006583/0.5773, allocations: 3.083 MB / 0.5968 GB, free: 22.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.5774, allocations: 0 / 0.5968 GB, free: 22.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/0.5776, allocations: 80.75 kB / 0.5969 GB, free: 22.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.896e-05/0.5777, allocations: 46 kB / 0.5969 GB, free: 22.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006249/0.5839, allocations: 2.863 MB / 0.5997 GB, free: 21.61 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.01961/0.6036, allocations: 9.792 MB / 0.6093 GB, free: 16.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/0.6152, allocations: 4.774 MB / 0.6139 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004832/0.6201, allocations: 2.082 MB / 0.616 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003587/0.6204, allocations: 44.39 kB / 0.616 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.6205, allocations: 53.53 kB / 0.6161 GB, free: 13.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=227): time 4.047e-06/0.6205, allocations: 0 / 0.6161 GB, free: 13.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.1051/0.7256, allocations: 33.7 MB / 0.649 GB, free: 14.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/0.7258, allocations: 132.8 kB / 0.6491 GB, free: 14.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003128/0.7289, allocations: 1.969 MB / 0.651 GB, free: 12.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008175/0.7297, allocations: 65.7 kB / 0.6511 GB, free: 12.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008944/0.7306, allocations: 1.083 MB / 0.6521 GB, free: 11.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/0.7317, allocations: 0.7971 MB / 0.6529 GB, free: 10.24 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.7319, allocations: 60 kB / 0.653 GB, free: 10.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.7322, allocations: 412 kB / 0.6534 GB, free: 9.773 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004136/0.7363, allocations: 2.055 MB / 0.6554 GB, free: 7.715 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004543/0.7409, allocations: 2.421 MB / 0.6577 GB, free: 5.195 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004602/0.7455, allocations: 2.2 MB / 0.6599 GB, free: 2.973 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.7455, allocations: 7.938 kB / 0.6599 GB, free: 2.965 MB / 462.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.04035/0.7859, allocations: 14.8 MB / 0.6743 GB, free: 4.113 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003606/0.7863, allocations: 291.3 kB / 0.6746 GB, free: 3.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/0.7863, allocations: 8 kB / 0.6746 GB, free: 3.723 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01921/0.8056, allocations: 6.436 MB / 0.6809 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/0.8083, allocations: 487.8 kB / 0.6814 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05901/0.8673, allocations: 25.17 MB / 0.706 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004476/0.8718, allocations: 0.5325 MB / 0.7065 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004742/0.8723, allocations: 99.97 kB / 0.7066 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.8724, allocations: 6.031 kB / 0.7066 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03865/0.911, allocations: 14.48 MB / 0.7207 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.008e-05/0.9111, allocations: 8 kB / 0.7207 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01881/0.9299, allocations: 6.434 MB / 0.727 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/0.9326, allocations: 472.1 kB / 0.7275 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06138/0.994, allocations: 25.16 MB / 0.752 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004468/0.9986, allocations: 0.4938 MB / 0.7525 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003796/0.999, allocations: 95.97 kB / 0.7526 GB, free: 3.582 MB / 0.545 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.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 order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (283): * Single equations (assignments): 282 * Array equations: 0 * Algorithm blocks: 0 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001602/1.001, allocations: 0.5045 MB / 0.7531 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006372/1.001, allocations: 272.6 kB / 0.7533 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03728/1.039, allocations: 14.25 MB / 0.7673 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-05/1.039, allocations: 24 kB / 0.7673 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-05/1.039, allocations: 20.84 kB / 0.7673 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-05/1.039, allocations: 11.95 kB / 0.7673 GB, free: 4.465 MB / 0.5606 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.3777/1.416, allocations: 17.78 MB / 0.7847 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/1.417, allocations: 0 / 0.7847 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/1.418, allocations: 245.6 kB / 0.7849 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01776/1.436, allocations: 6.087 MB / 0.7909 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007167/1.437, allocations: 46.62 kB / 0.7909 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05277/1.489, allocations: 21.37 MB / 0.8118 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.489, allocations: 3.906 kB / 0.8118 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04158/1.531, allocations: 16.72 MB / 0.8281 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.532, allocations: 386.3 kB / 0.8285 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008329/1.533, allocations: 36.69 kB / 0.8285 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002577/1.536, allocations: 359.7 kB / 0.8289 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002032/1.538, allocations: 0.5494 MB / 0.8294 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001864/1.538, allocations: 55.42 kB / 0.8294 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001504/1.54, allocations: 1.275 MB / 0.8307 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/1.54, allocations: 0.6562 kB / 0.8307 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005495/1.545, allocations: 1.829 MB / 0.8325 GB, free: 146.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004477/1.546, allocations: 165.3 kB / 0.8326 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02838/1.574, allocations: 12.18 MB / 0.8445 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.574, allocations: 0.5625 kB / 0.8445 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01161/1.586, allocations: 4.627 MB / 0.8491 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/1.588, allocations: 216.8 kB / 0.8493 GB, free: 132 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008155/1.596, allocations: 5.923 MB / 0.855 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009772/1.597, allocations: 1.731 MB / 0.8567 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001323/1.599, allocations: 274 kB / 0.857 GB, free: 125 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/1.599, allocations: 146.4 kB / 0.8571 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/1.599, allocations: 4 kB / 0.8571 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.0985/1.698, allocations: 72.69 MB / 0.9281 GB, free: 52.55 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1) Environment - environmentSimulation: