Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00453/0.00453, allocations: 169.4 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.167/1.167, allocations: 223.2 MB / 239 MB, free: 72 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000842/0.0008421, allocations: 96.56 kB / 290.2 MB, free: 4.434 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4327/0.4327, allocations: 79.43 MB / 420.8 MB, free: 36.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 16 kB / 0.489 GB, free: 6.391 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1206, allocations: 69.52 MB / 0.5569 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3396/0.4603, allocations: 102.6 MB / 0.6571 GB, free: 14.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.4606, allocations: 80.91 kB / 0.6572 GB, free: 14.62 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2412/0.7018, allocations: 101.3 MB / 0.7561 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7019, allocations: 0 / 0.7561 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002228/0.7021, allocations: 87.94 kB / 0.7562 GB, free: 8.836 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.01942/0.7215, allocations: 6.558 MB / 0.7626 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.7216, allocations: 12.03 kB / 0.7626 GB, free: 2.176 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01711/0.7387, allocations: 2.811 MB / 0.7653 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006256/0.745, allocations: 2.317 MB / 0.7676 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008561/0.7459, allocations: 0.9557 MB / 0.7685 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/0.747, allocations: 343.9 kB / 0.7689 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009329/0.7564, allocations: 4.943 MB / 0.7737 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-05/0.7565, allocations: 0 / 0.7737 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003884/0.7569, allocations: 140 kB / 0.7738 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.559e-05/0.7569, allocations: 84 kB / 0.7739 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008361/0.7653, allocations: 4.509 MB / 0.7783 GB, free: 1.828 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 preOpt removeSimpleEquations (simulation): time 0.2836/1.049, allocations: 18.66 MB / 0.7965 GB, free: 92.8 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/1.061, allocations: 5.649 MB / 0.802 GB, free: 92.36 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006064/1.062, allocations: 70.14 kB / 0.8021 GB, free: 92.36 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/1.062, allocations: 74.14 kB / 0.8022 GB, free: 92.31 MB / 0.573 GB Notification: Performance of pre-optimization done (n=380): time 6.212e-06/1.062, allocations: 1.344 kB / 0.8022 GB, free: 92.31 MB / 0.573 GB Notification: Performance of matching and sorting (n=380): time 0.2835/1.345, allocations: 78.61 MB / 0.8789 GB, free: 88.77 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/1.346, allocations: 176.4 kB / 0.8791 GB, free: 88.61 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003578/1.349, allocations: 2.697 MB / 0.8817 GB, free: 88.34 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007885/1.35, allocations: 87.58 kB / 0.8818 GB, free: 88.31 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009663/1.351, allocations: 1.988 MB / 0.8838 GB, free: 87.91 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001108/1.352, allocations: 1.288 MB / 0.885 GB, free: 87.25 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/1.352, allocations: 71.88 kB / 0.8851 GB, free: 87.25 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.352, allocations: 440.4 kB / 0.8855 GB, free: 86.95 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00435/1.357, allocations: 2.655 MB / 0.8881 GB, free: 86.89 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00449/1.361, allocations: 3.233 MB / 0.8913 GB, free: 86.27 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00452/1.366, allocations: 2.902 MB / 0.8941 GB, free: 86.09 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/1.366, allocations: 4.25 kB / 0.8941 GB, free: 86.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.05022/1.416, allocations: 20.11 MB / 0.9137 GB, free: 80.25 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001176/1.417, allocations: 6.68 MB / 0.9203 GB, free: 73.17 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/1.417, allocations: 12 kB / 0.9203 GB, free: 73.16 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02388/1.441, allocations: 8.496 MB / 0.9286 GB, free: 67.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/1.444, allocations: 0.5408 MB / 0.9291 GB, free: 67.18 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07489/1.519, allocations: 36.85 MB / 0.9651 GB, free: 33.21 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006299/1.525, allocations: 0.7069 MB / 0.9658 GB, free: 32.58 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000552/1.526, allocations: 128 kB / 0.9659 GB, free: 32.45 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/1.526, allocations: 5.422 kB / 0.9659 GB, free: 32.45 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04975/1.576, allocations: 19.67 MB / 0.9851 GB, free: 12.93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.9e-05/1.576, allocations: 16 kB / 0.9851 GB, free: 12.92 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0241/1.6, allocations: 8.488 MB / 0.9934 GB, free: 4.422 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/1.603, allocations: 0.533 MB / 0.9939 GB, free: 3.922 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3199/1.923, allocations: 36.84 MB / 1.03 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005564/1.928, allocations: 0.677 MB / 1.031 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/1.929, allocations: 136.8 kB / 1.031 GB, free: 110.2 MB / 0.6042 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (322): * Single equations (assignments): 319 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001824/1.93, allocations: 0.7303 MB / 1.031 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000762/1.931, allocations: 452.1 kB / 1.032 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05281/1.984, allocations: 20.42 MB / 1.052 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.3e-05/1.984, allocations: 38.78 kB / 1.052 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.65e-05/1.984, allocations: 31.62 kB / 1.052 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.882e-05/1.984, allocations: 20.39 kB / 1.052 GB, free: 109.7 MB / 0.6042 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.06053/2.045, allocations: 25.68 MB / 1.077 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.163e-05/2.045, allocations: 5.453 kB / 1.077 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002591/2.047, allocations: 402.4 kB / 1.077 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02442/2.072, allocations: 8.559 MB / 1.086 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006615/2.073, allocations: 71.03 kB / 1.086 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06412/2.137, allocations: 32.23 MB / 1.117 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.137, allocations: 3.688 kB / 1.117 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05615/2.193, allocations: 24.08 MB / 1.141 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/2.194, allocations: 0.5591 MB / 1.141 GB, free: 99.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008284/2.195, allocations: 63.81 kB / 1.141 GB, free: 99.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003691/2.199, allocations: 0.4974 MB / 1.142 GB, free: 99.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002604/2.201, allocations: 0.7659 MB / 1.143 GB, free: 99.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002745/2.202, allocations: 92.89 kB / 1.143 GB, free: 99.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00243/2.204, allocations: 2.066 MB / 1.145 GB, free: 98.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.32e-07/2.204, allocations: 0 / 1.145 GB, free: 98.81 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.006154/2.21, allocations: 2.869 MB / 1.148 GB, free: 98.01 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (250): * Single equations (assignments): 248 * 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 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004688/2.211, allocations: 215.6 kB / 1.148 GB, free: 97.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0386/2.249, allocations: 16.92 MB / 1.164 GB, free: 83.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/2.25, allocations: 4.25 kB / 1.164 GB, free: 83.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.017/2.267, allocations: 6.915 MB / 1.171 GB, free: 77.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/2.269, allocations: 310.1 kB / 1.171 GB, free: 77.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/2.281, allocations: 9.702 MB / 1.181 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/2.282, allocations: 2.583 MB / 1.183 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001793/2.284, allocations: 359.4 kB / 1.184 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007098/2.285, allocations: 201 kB / 1.184 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/2.285, allocations: 0 / 1.184 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.3628/2.647, allocations: 105.7 MB / 1.287 GB, free: 108.8 MB / 0.6042 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)