Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004374/0.004374, allocations: 170 kB / 15.11 MB, free: 5.977 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.15/1.15, allocations: 223.2 MB / 239 MB, free: 1.773 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.0008292/0.0008291, allocations: 94.25 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4111/0.4111, allocations: 78.51 MB / 419.8 MB, free: 44.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003736, allocations: 8 kB / 499.7 MB, free: 2.75 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.311, allocations: 69.35 MB / 0.5557 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.4258, allocations: 102.2 MB / 0.6555 GB, free: 4.137 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.4261, allocations: 79.95 kB / 0.6556 GB, free: 4.059 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2337/0.6599, allocations: 99.88 MB / 0.7531 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6599, allocations: 0 / 0.7531 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003691/0.6603, allocations: 91.94 kB / 0.7532 GB, free: 15.45 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.01969/0.68, allocations: 6.597 MB / 0.7597 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.68, allocations: 8.031 kB / 0.7597 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/0.6969, allocations: 2.807 MB / 0.7624 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005748/0.7027, allocations: 2.321 MB / 0.7647 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009311/0.7037, allocations: 0.9634 MB / 0.7656 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/0.705, allocations: 343.9 kB / 0.766 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2308/0.9359, allocations: 4.948 MB / 0.7708 GB, free: 89.5 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.436e-05/0.936, allocations: 3.328 kB / 0.7708 GB, free: 89.5 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003893/0.9364, allocations: 145.2 kB / 0.7709 GB, free: 89.5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.894e-05/0.9364, allocations: 84.88 kB / 0.771 GB, free: 89.5 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008612/0.945, allocations: 4.522 MB / 0.7754 GB, free: 89.47 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.02712/0.9722, allocations: 18.69 MB / 0.7937 GB, free: 83.04 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/0.9828, allocations: 5.664 MB / 0.7992 GB, free: 82.59 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003697/0.9832, allocations: 67.47 kB / 0.7993 GB, free: 82.59 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.9833, allocations: 74.11 kB / 0.7993 GB, free: 82.55 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=381): time 5.621e-06/0.9833, allocations: 0 / 0.7993 GB, free: 82.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=381): time 0.2786/1.262, allocations: 78.5 MB / 0.876 GB, free: 78.48 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/1.262, allocations: 173.9 kB / 0.8762 GB, free: 78.32 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004074/1.266, allocations: 2.736 MB / 0.8788 GB, free: 76.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008597/1.267, allocations: 84.7 kB / 0.8789 GB, free: 76.79 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/1.268, allocations: 2.001 MB / 0.8809 GB, free: 76.12 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001276/1.269, allocations: 1.303 MB / 0.8822 GB, free: 75.28 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/1.27, allocations: 70.44 kB / 0.8822 GB, free: 75.27 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.27, allocations: 439.8 kB / 0.8826 GB, free: 74.93 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004407/1.274, allocations: 2.663 MB / 0.8852 GB, free: 73.03 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00455/1.279, allocations: 3.244 MB / 0.8884 GB, free: 69.97 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004502/1.283, allocations: 2.923 MB / 0.8913 GB, free: 67.23 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/1.283, allocations: 4 kB / 0.8913 GB, free: 67.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.04869/1.332, allocations: 20.13 MB / 0.9109 GB, free: 47.45 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009894/1.333, allocations: 6.677 MB / 0.9174 GB, free: 40.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/1.333, allocations: 17.03 kB / 0.9175 GB, free: 40.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02416/1.357, allocations: 8.465 MB / 0.9257 GB, free: 31.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/1.36, allocations: 0.5671 MB / 0.9263 GB, free: 31.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07257/1.433, allocations: 36.72 MB / 0.9621 GB, free: 10.43 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005314/1.438, allocations: 0.6918 MB / 0.9628 GB, free: 9.738 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003864/1.439, allocations: 128 kB / 0.9629 GB, free: 9.613 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/1.439, allocations: 12.17 kB / 0.9629 GB, free: 9.605 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05236/1.491, allocations: 19.69 MB / 0.9822 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.359e-05/1.491, allocations: 12 kB / 0.9822 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2616/1.753, allocations: 8.469 MB / 0.9905 GB, free: 96.87 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003107/1.756, allocations: 0.5549 MB / 0.991 GB, free: 96.87 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07852/1.835, allocations: 36.7 MB / 1.027 GB, free: 95.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005877/1.84, allocations: 0.6618 MB / 1.027 GB, free: 95.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008888/1.841, allocations: 130.7 kB / 1.028 GB, free: 95.18 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 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: 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 (326): * Single equations (assignments): 323 * 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 43} Notification: Performance of prepare postOptimizeDAE: time 0.002358/1.844, allocations: 0.7234 MB / 1.028 GB, free: 94.96 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/1.845, allocations: 461.7 kB / 1.029 GB, free: 94.72 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0539/1.899, allocations: 20.46 MB / 1.049 GB, free: 94.38 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.819e-05/1.899, allocations: 37.69 kB / 1.049 GB, free: 94.38 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.991e-05/1.899, allocations: 33.75 kB / 1.049 GB, free: 94.38 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.573e-05/1.899, allocations: 17.02 kB / 1.049 GB, free: 94.38 MB / 0.5886 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.05689/1.956, allocations: 25.73 MB / 1.074 GB, free: 89.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.671e-05/1.956, allocations: 0 / 1.074 GB, free: 89.22 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002297/1.958, allocations: 405.2 kB / 1.074 GB, free: 89.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02291/1.981, allocations: 8.548 MB / 1.083 GB, free: 87.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009404/1.982, allocations: 73.8 kB / 1.083 GB, free: 87.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0688/2.051, allocations: 32.23 MB / 1.114 GB, free: 72.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/2.051, allocations: 4 kB / 1.114 GB, free: 72.84 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0582/2.109, allocations: 24.12 MB / 1.138 GB, free: 53.42 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/2.111, allocations: 0.5557 MB / 1.138 GB, free: 52.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001491/2.112, allocations: 67.61 kB / 1.138 GB, free: 52.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004605/2.117, allocations: 494.3 kB / 1.139 GB, free: 52.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00293/2.12, allocations: 0.7681 MB / 1.14 GB, free: 52.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003407/2.12, allocations: 95.94 kB / 1.14 GB, free: 51.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00265/2.123, allocations: 2.094 MB / 1.142 GB, free: 50.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/2.123, allocations: 3.719 kB / 1.142 GB, free: 50.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006879/2.13, allocations: 2.877 MB / 1.145 GB, free: 47.48 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (251): * Single equations (assignments): 249 * 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.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004915/2.13, allocations: 216.9 kB / 1.145 GB, free: 47.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03597/2.166, allocations: 16.93 MB / 1.161 GB, free: 32.78 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/2.166, allocations: 0 / 1.161 GB, free: 32.78 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01569/2.182, allocations: 6.915 MB / 1.168 GB, free: 26.89 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/2.185, allocations: 309.4 kB / 1.168 GB, free: 26.59 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/2.196, allocations: 9.825 MB / 1.178 GB, free: 17.41 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/2.198, allocations: 2.591 MB / 1.18 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001688/2.2, allocations: 357.8 kB / 1.181 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007146/2.2, allocations: 197.7 kB / 1.181 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of SimCode: time 4.3e-07/2.2, allocations: 0 / 1.181 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of Templates: time 0.3614/2.562, allocations: 106 MB / 1.284 GB, free: 110.9 MB / 0.6042 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)