Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.004051/0.004051, allocations: 172 kB / 15.11 MB, free: 5.98 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.14/1.14, allocations: 223.2 MB / 239.1 MB, free: 1.793 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.0009163/0.0009162, allocations: 92.45 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.3923/0.3923, allocations: 78.51 MB / 419.8 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003568, allocations: 12 kB / 499.7 MB, free: 2.77 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3011, allocations: 69.34 MB / 0.5557 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.406, allocations: 101.8 MB / 0.6551 GB, free: 4.598 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.4062, allocations: 75.97 kB / 0.6552 GB, free: 4.523 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2264/0.6326, allocations: 99 MB / 0.7519 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6327, allocations: 4 kB / 0.7519 GB, free: 0.8867 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002141/0.6329, allocations: 87.94 kB / 0.752 GB, free: 0.8008 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.01715/0.6501, allocations: 6.531 MB / 0.7584 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.6501, allocations: 8.031 kB / 0.7584 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01618/0.6663, allocations: 2.803 MB / 0.7611 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006573/0.6729, allocations: 2.313 MB / 0.7634 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001066/0.674, allocations: 0.9634 MB / 0.7643 GB, free: 3.875 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001407/0.6754, allocations: 339.9 kB / 0.7646 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2351/0.9106, allocations: 4.941 MB / 0.7694 GB, free: 90.65 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-05/0.9107, allocations: 0 / 0.7694 GB, free: 90.65 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003739/0.9111, allocations: 140 kB / 0.7696 GB, free: 90.65 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.296e-05/0.9112, allocations: 83.75 kB / 0.7697 GB, free: 90.65 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00865/0.9198, allocations: 4.507 MB / 0.7741 GB, free: 90.62 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.02624/0.9461, allocations: 18.62 MB / 0.7922 GB, free: 84.18 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.9568, allocations: 5.655 MB / 0.7978 GB, free: 83.74 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/0.9571, allocations: 70.78 kB / 0.7978 GB, free: 83.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.9572, allocations: 76.86 kB / 0.7979 GB, free: 83.69 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=380): time 5.351e-06/0.9572, allocations: 3.625 kB / 0.7979 GB, free: 83.69 MB / 0.5573 GB Notification: Performance of matching and sorting (n=380): time 0.2751/1.232, allocations: 78.61 MB / 0.8747 GB, free: 79.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/1.232, allocations: 169.5 kB / 0.8748 GB, free: 79.48 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003192/1.236, allocations: 2.699 MB / 0.8775 GB, free: 79.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000626/1.236, allocations: 89.05 kB / 0.8776 GB, free: 79.16 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009893/1.237, allocations: 1.982 MB / 0.8795 GB, free: 78.51 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001023/1.238, allocations: 1.292 MB / 0.8808 GB, free: 77.68 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/1.238, allocations: 69 kB / 0.8808 GB, free: 77.66 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.239, allocations: 444.2 kB / 0.8812 GB, free: 77.32 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004271/1.243, allocations: 2.651 MB / 0.8838 GB, free: 75.84 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004415/1.247, allocations: 3.238 MB / 0.887 GB, free: 72.86 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004388/1.252, allocations: 2.904 MB / 0.8898 GB, free: 70.14 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/1.252, allocations: 4 kB / 0.8898 GB, free: 70.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.04668/1.298, allocations: 20.11 MB / 0.9095 GB, free: 50.17 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009115/1.299, allocations: 6.671 MB / 0.916 GB, free: 42.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/1.299, allocations: 19.98 kB / 0.916 GB, free: 42.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02247/1.322, allocations: 8.498 MB / 0.9243 GB, free: 34.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002504/1.324, allocations: 0.5385 MB / 0.9248 GB, free: 33.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07351/1.398, allocations: 36.85 MB / 0.9608 GB, free: 13.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005265/1.403, allocations: 0.688 MB / 0.9615 GB, free: 12.32 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007168/1.404, allocations: 128 kB / 0.9616 GB, free: 12.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/1.404, allocations: 8.812 kB / 0.9616 GB, free: 12.2 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05367/1.458, allocations: 19.67 MB / 0.9808 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.262e-05/1.458, allocations: 19.95 kB / 0.9808 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0256/1.483, allocations: 8.494 MB / 0.9891 GB, free: 12 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2188/1.702, allocations: 0.5311 MB / 0.9897 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07548/1.778, allocations: 36.83 MB / 1.026 GB, free: 106.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005325/1.783, allocations: 0.6635 MB / 1.026 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008018/1.784, allocations: 128.8 kB / 1.026 GB, free: 106.1 MB / 0.5886 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.002586/1.787, allocations: 0.7303 MB / 1.027 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/1.788, allocations: 457.2 kB / 1.028 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0545/1.842, allocations: 20.42 MB / 1.047 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.984e-05/1.843, allocations: 42.42 kB / 1.048 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001309/1.843, allocations: 29.69 kB / 1.048 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001282/1.843, allocations: 17.34 kB / 1.048 GB, free: 105.3 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.06095/1.904, allocations: 25.67 MB / 1.073 GB, free: 99.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.463e-05/1.904, allocations: 0 / 1.073 GB, free: 99.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002373/1.906, allocations: 415.5 kB / 1.073 GB, free: 99.76 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02304/1.929, allocations: 8.543 MB / 1.081 GB, free: 98.36 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007752/1.93, allocations: 74.61 kB / 1.081 GB, free: 98.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06539/1.996, allocations: 32.24 MB / 1.113 GB, free: 80.65 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.996, allocations: 3.953 kB / 1.113 GB, free: 80.64 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05604/2.052, allocations: 24.09 MB / 1.136 GB, free: 61.25 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/2.053, allocations: 0.5533 MB / 1.137 GB, free: 60.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001397/2.055, allocations: 60 kB / 1.137 GB, free: 60.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004504/2.059, allocations: 498.7 kB / 1.138 GB, free: 60.32 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002739/2.062, allocations: 0.767 MB / 1.138 GB, free: 59.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003414/2.062, allocations: 91.94 kB / 1.138 GB, free: 59.82 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002579/2.065, allocations: 2.059 MB / 1.14 GB, free: 58.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3e-07/2.065, allocations: 0 / 1.14 GB, free: 58.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006378/2.071, allocations: 2.862 MB / 1.143 GB, free: 55.36 MB / 0.5886 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.0004635/2.072, allocations: 217.3 kB / 1.143 GB, free: 55.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03809/2.11, allocations: 16.93 MB / 1.16 GB, free: 40.67 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/2.11, allocations: 0 / 1.16 GB, free: 40.67 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01721/2.127, allocations: 6.911 MB / 1.167 GB, free: 34.77 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00319/2.13, allocations: 310.9 kB / 1.167 GB, free: 34.48 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/2.142, allocations: 9.708 MB / 1.176 GB, free: 25.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/2.143, allocations: 2.584 MB / 1.179 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001686/2.145, allocations: 358.9 kB / 1.179 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000672/2.146, allocations: 198 kB / 1.179 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of SimCode: time 9.42e-07/2.146, allocations: 0 / 1.179 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of Templates: time 0.3447/2.49, allocations: 105.6 MB / 1.283 GB, free: 115.4 MB / 0.6042 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)