Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.005527/0.005527, allocations: 171.5 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.245/1.245, allocations: 223.2 MB / 239 MB, free: 48 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.0009136/0.0009138, allocations: 98.83 kB / 290.2 MB, free: 4.555 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5279/0.5279, allocations: 78.58 MB / 419.9 MB, free: 36.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006907/0.0006908, allocations: 12 kB / 499.8 MB, free: 7.246 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2228, allocations: 69.36 MB / 0.5558 GB, free: 1.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.6404, allocations: 101.8 MB / 0.6552 GB, free: 444 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.6407, allocations: 83.39 kB / 0.6553 GB, free: 400 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2412/0.8819, allocations: 98.99 MB / 0.7519 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8819, allocations: 4 kB / 0.7519 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002794/0.8822, allocations: 91.94 kB / 0.752 GB, free: 13.39 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.02069/0.9029, allocations: 6.543 MB / 0.7584 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.903, allocations: 8.031 kB / 0.7584 GB, free: 6.754 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01759/0.9206, allocations: 2.799 MB / 0.7611 GB, free: 3.945 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006464/0.9271, allocations: 2.309 MB / 0.7634 GB, free: 1.559 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009489/0.9281, allocations: 0.9595 MB / 0.7643 GB, free: 480 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/0.9294, allocations: 343.9 kB / 0.7647 GB, free: 136 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/0.9412, allocations: 4.946 MB / 0.7695 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.666e-05/0.9413, allocations: 0 / 0.7695 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004232/0.9417, allocations: 144 kB / 0.7696 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.138e-05/0.9418, allocations: 84 kB / 0.7697 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.9525, allocations: 4.509 MB / 0.7741 GB, free: 6.41 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.04226/0.9948, allocations: 18.62 MB / 0.7923 GB, free: 2.598 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3527/1.347, allocations: 5.641 MB / 0.7978 GB, free: 96.84 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009521/1.348, allocations: 71.84 kB / 0.7979 GB, free: 96.84 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.429e-05/1.349, allocations: 76.89 kB / 0.798 GB, free: 96.8 MB / 0.573 GB Notification: Performance of pre-optimization done (n=380): time 7.453e-06/1.349, allocations: 0 / 0.798 GB, free: 96.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=380): time 0.2964/1.645, allocations: 78.62 MB / 0.8747 GB, free: 93.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/1.645, allocations: 166.4 kB / 0.8749 GB, free: 93.14 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003908/1.649, allocations: 2.697 MB / 0.8775 GB, free: 92.87 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000967/1.65, allocations: 85.7 kB / 0.8776 GB, free: 92.84 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001196/1.651, allocations: 1.986 MB / 0.8795 GB, free: 92.45 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001337/1.653, allocations: 1.29 MB / 0.8808 GB, free: 91.79 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/1.653, allocations: 71.44 kB / 0.8809 GB, free: 91.79 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.653, allocations: 447.4 kB / 0.8813 GB, free: 91.47 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004802/1.658, allocations: 2.652 MB / 0.8839 GB, free: 91.42 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00505/1.663, allocations: 3.233 MB / 0.887 GB, free: 90.8 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004907/1.668, allocations: 2.909 MB / 0.8899 GB, free: 90.62 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/1.668, allocations: 3.906 kB / 0.8899 GB, free: 90.62 MB / 0.573 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.05299/1.721, allocations: 20.11 MB / 0.9095 GB, free: 85.56 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00126/1.722, allocations: 6.674 MB / 0.916 GB, free: 78.48 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/1.722, allocations: 16 kB / 0.9161 GB, free: 78.47 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02482/1.747, allocations: 8.498 MB / 0.9244 GB, free: 72.91 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/1.75, allocations: 0.5361 MB / 0.9249 GB, free: 72.49 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07772/1.828, allocations: 36.84 MB / 0.9609 GB, free: 39.17 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006595/1.834, allocations: 0.6878 MB / 0.9615 GB, free: 38.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007173/1.835, allocations: 135.9 kB / 0.9617 GB, free: 38.42 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.835, allocations: 8 kB / 0.9617 GB, free: 38.41 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05191/1.887, allocations: 19.67 MB / 0.9809 GB, free: 18.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-05/1.887, allocations: 16 kB / 0.9809 GB, free: 18.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02507/1.912, allocations: 8.494 MB / 0.9892 GB, free: 10.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/1.915, allocations: 0.5324 MB / 0.9897 GB, free: 9.852 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4158/2.331, allocations: 36.84 MB / 1.026 GB, free: 94.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006481/2.337, allocations: 0.6553 MB / 1.026 GB, free: 94.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008596/2.338, allocations: 131.4 kB / 1.026 GB, free: 94.55 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.002598/2.341, allocations: 0.7264 MB / 1.027 GB, free: 94.33 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/2.343, allocations: 457.1 kB / 1.028 GB, free: 94.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05716/2.4, allocations: 20.43 MB / 1.048 GB, free: 93.88 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.831e-05/2.4, allocations: 39.97 kB / 1.048 GB, free: 93.88 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.056e-05/2.4, allocations: 32.3 kB / 1.048 GB, free: 93.88 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001292/2.4, allocations: 17.3 kB / 1.048 GB, free: 93.88 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.07075/2.471, allocations: 25.67 MB / 1.073 GB, free: 92.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-05/2.471, allocations: 0 / 1.073 GB, free: 92.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002558/2.473, allocations: 405.1 kB / 1.073 GB, free: 92.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02509/2.498, allocations: 8.548 MB / 1.081 GB, free: 92.67 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001147/2.5, allocations: 70.73 kB / 1.082 GB, free: 92.67 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07071/2.57, allocations: 32.24 MB / 1.113 GB, free: 87.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/2.57, allocations: 0 / 1.113 GB, free: 87.55 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06219/2.633, allocations: 24.09 MB / 1.137 GB, free: 80.68 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001865/2.635, allocations: 0.5596 MB / 1.137 GB, free: 80.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000989/2.636, allocations: 64 kB / 1.137 GB, free: 80.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003804/2.639, allocations: 490.4 kB / 1.138 GB, free: 79.74 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002727/2.642, allocations: 0.7668 MB / 1.138 GB, free: 79.33 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002795/2.642, allocations: 91.61 kB / 1.138 GB, free: 79.24 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00281/2.645, allocations: 2.061 MB / 1.14 GB, free: 77.52 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.31e-07/2.645, allocations: 0 / 1.14 GB, free: 77.52 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007407/2.653, allocations: 2.865 MB / 1.143 GB, free: 74.79 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.0005553/2.653, allocations: 221.7 kB / 1.143 GB, free: 74.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04117/2.694, allocations: 16.92 MB / 1.16 GB, free: 60.14 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/2.694, allocations: 0.875 kB / 1.16 GB, free: 60.14 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0189/2.713, allocations: 6.913 MB / 1.167 GB, free: 54.25 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/2.717, allocations: 315 kB / 1.167 GB, free: 53.95 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/2.731, allocations: 9.704 MB / 1.176 GB, free: 44.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/2.733, allocations: 2.583 MB / 1.179 GB, free: 42.98 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002168/2.735, allocations: 360 kB / 1.179 GB, free: 42.73 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007598/2.735, allocations: 195.2 kB / 1.18 GB, free: 42.56 MB / 0.5886 GB Notification: Performance of SimCode: time 1.162e-06/2.735, allocations: 4 kB / 1.18 GB, free: 42.56 MB / 0.5886 GB Notification: Performance of Templates: time 0.4204/3.156, allocations: 105.6 MB / 1.283 GB, free: 91.26 MB / 0.6042 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)