Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004504/0.004504, allocations: 171.2 kB / 15.11 MB, free: 5.582 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.197/1.197, allocations: 223.2 MB / 239 MB, free: 1.797 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.0008194/0.0008194, allocations: 96.05 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4097/0.4097, allocations: 79.44 MB / 420.8 MB, free: 43.73 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003371, allocations: 12 kB / 0.489 GB, free: 2.023 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3402, allocations: 69.5 MB / 0.5569 GB, free: 38.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1166/0.4569, allocations: 100.9 MB / 0.6554 GB, free: 4.684 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.4572, allocations: 83.89 kB / 0.6555 GB, free: 4.602 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1615/0.6187, allocations: 68.51 MB / 0.7224 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6188, allocations: 0 / 0.7224 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001402/0.6189, allocations: 59.94 kB / 0.7225 GB, free: 15.65 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01165/0.6306, allocations: 4.649 MB / 0.727 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.6306, allocations: 8.031 kB / 0.727 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009002/0.6396, allocations: 1.615 MB / 0.7286 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/0.6425, allocations: 1.717 MB / 0.7303 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005344/0.6431, allocations: 0.6867 MB / 0.7309 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003317/0.6434, allocations: 211.9 kB / 0.7312 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00551/0.6489, allocations: 3.235 MB / 0.7343 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/0.649, allocations: 7.969 kB / 0.7343 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002357/0.6492, allocations: 80 kB / 0.7344 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.6493, allocations: 48 kB / 0.7344 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005424/0.6547, allocations: 3.03 MB / 0.7374 GB, free: 4 kB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.01536/0.6701, allocations: 10.06 MB / 0.7472 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.6804, allocations: 4.766 MB / 0.7519 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/0.6806, allocations: 45.95 kB / 0.7519 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.6807, allocations: 60.5 kB / 0.752 GB, free: 496 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=243): time 3.967e-06/0.6807, allocations: 0 / 0.752 GB, free: 496 kB / 0.5417 GB Notification: Performance of matching and sorting (n=243): time 0.3331/1.014, allocations: 30.53 MB / 0.7818 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/1.014, allocations: 236 kB / 0.782 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003372/1.017, allocations: 1.941 MB / 0.7839 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005629/1.018, allocations: 69.73 kB / 0.784 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008539/1.019, allocations: 1.214 MB / 0.7852 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/1.02, allocations: 0.8363 MB / 0.786 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/1.02, allocations: 47.56 kB / 0.786 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.02, allocations: 392.8 kB / 0.7864 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003517/1.024, allocations: 1.88 MB / 0.7882 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003607/1.027, allocations: 2.196 MB / 0.7904 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003652/1.031, allocations: 2.103 MB / 0.7924 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/1.031, allocations: 0 / 0.7924 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.0369/1.068, allocations: 13.53 MB / 0.8056 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005291/1.069, allocations: 2.874 MB / 0.8085 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.069, allocations: 5.531 kB / 0.8085 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0172/1.086, allocations: 5.957 MB / 0.8143 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0035/1.089, allocations: 0.6879 MB / 0.8149 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04764/1.137, allocations: 24.56 MB / 0.8389 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/1.141, allocations: 0.5298 MB / 0.8395 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/1.141, allocations: 80.89 kB / 0.8395 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/1.141, allocations: 7.406 kB / 0.8395 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03253/1.173, allocations: 13.2 MB / 0.8524 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-05/1.173, allocations: 7.781 kB / 0.8524 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01541/1.189, allocations: 5.951 MB / 0.8582 GB, free: 98.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00334/1.192, allocations: 0.6736 MB / 0.8589 GB, free: 98.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04827/1.241, allocations: 24.58 MB / 0.8829 GB, free: 77.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003614/1.244, allocations: 0.4966 MB / 0.8834 GB, free: 76.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/1.244, allocations: 91.34 kB / 0.8835 GB, free: 76.84 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(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 (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.001241/1.246, allocations: 0.5746 MB / 0.884 GB, free: 76.28 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004464/1.246, allocations: 308.3 kB / 0.8843 GB, free: 75.98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0353/1.281, allocations: 14.53 MB / 0.8985 GB, free: 64.75 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/1.281, allocations: 24 kB / 0.8985 GB, free: 64.73 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.082e-05/1.282, allocations: 20 kB / 0.8986 GB, free: 64.71 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.344e-05/1.282, allocations: 18.38 kB / 0.8986 GB, free: 64.71 MB / 0.5573 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.03982/1.321, allocations: 18.28 MB / 0.9164 GB, free: 48.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/1.321, allocations: 6.688 kB / 0.9164 GB, free: 48.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/1.323, allocations: 283.5 kB / 0.9167 GB, free: 48.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0151/1.338, allocations: 6.005 MB / 0.9226 GB, free: 42.43 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000379/1.338, allocations: 51.98 kB / 0.9226 GB, free: 42.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04317/1.382, allocations: 22.69 MB / 0.9448 GB, free: 19.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.382, allocations: 4 kB / 0.9448 GB, free: 19.54 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03935/1.421, allocations: 17.12 MB / 0.9615 GB, free: 2.348 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009424/1.422, allocations: 416.9 kB / 0.9619 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003951/1.422, allocations: 44 kB / 0.962 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002606/1.425, allocations: 399.7 kB / 0.9623 GB, free: 1.484 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001617/1.427, allocations: 0.5527 MB / 0.9629 GB, free: 0.9297 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/1.427, allocations: 63.94 kB / 0.9629 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001959/1.429, allocations: 1.502 MB / 0.9644 GB, free: 15.36 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.91e-07/1.429, allocations: 0 / 0.9644 GB, free: 15.36 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003794/1.433, allocations: 1.752 MB / 0.9661 GB, free: 13.62 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.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 (164): * Single equations (assignments): 161 * 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: 1 {(62,8.3%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003954/1.433, allocations: 189.3 kB / 0.9663 GB, free: 13.43 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02787/1.461, allocations: 11.95 MB / 0.978 GB, free: 1.328 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.461, allocations: 4 kB / 0.978 GB, free: 1.324 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01188/1.473, allocations: 4.745 MB / 0.9826 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/1.474, allocations: 239 kB / 0.9828 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008963/1.483, allocations: 6.552 MB / 0.9892 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/1.485, allocations: 1.9 MB / 0.9911 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001256/1.486, allocations: 277.1 kB / 0.9913 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005315/1.486, allocations: 139.4 kB / 0.9915 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of SimCode: time 5.11e-07/1.486, allocations: 3.938 kB / 0.9915 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of Templates: time 0.3012/1.788, allocations: 70.21 MB / 1.06 GB, free: 135.1 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)