Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 172.9 kB / 16.12 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.4 MB / 222.3 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007747/0.0007747, allocations: 90.41 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3376/0.3376, allocations: 42.29 MB / 361.2 MB, free: 49.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004245/0.0004247, allocations: 19.98 kB / 429.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1151, allocations: 57.55 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3337/0.4489, allocations: 93.79 MB / 0.5672 GB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.4491, allocations: 84.58 kB / 0.5672 GB, free: 13.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06325/0.5124, allocations: 23.87 MB / 0.5905 GB, free: 5.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5124, allocations: 0 / 0.5905 GB, free: 5.918 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.8e-05/0.5125, allocations: 24 kB / 0.5906 GB, free: 5.895 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004825/0.5173, allocations: 1.857 MB / 0.5924 GB, free: 3.984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5174, allocations: 12.02 kB / 0.5924 GB, free: 3.973 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/0.5207, allocations: 0.5526 MB / 0.5929 GB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.5222, allocations: 0.7733 MB / 0.5937 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002889/0.5225, allocations: 264.2 kB / 0.5939 GB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.5226, allocations: 72 kB / 0.594 GB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/0.525, allocations: 1.161 MB / 0.5951 GB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.525, allocations: 4 kB / 0.5951 GB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.748e-05/0.5251, allocations: 28 kB / 0.5952 GB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.5252, allocations: 20 kB / 0.5952 GB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.5275, allocations: 1.117 MB / 0.5963 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006437/0.5339, allocations: 3.582 MB / 0.5998 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.5364, allocations: 1.517 MB / 0.6013 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.5379, allocations: 0.8204 MB / 0.6021 GB, free: 9.691 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.657e-05/0.538, allocations: 13 kB / 0.6021 GB, free: 9.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.538, allocations: 47.55 kB / 0.6021 GB, free: 9.625 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 3.467e-06/0.538, allocations: 3.938 kB / 0.6021 GB, free: 9.621 MB / 426.7 MB Notification: Performance of matching and sorting (n=90): time 0.02707/0.5651, allocations: 8.321 MB / 0.6102 GB, free: 1.266 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.5652, allocations: 98.05 kB / 0.6103 GB, free: 1.152 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.5665, allocations: 0.7892 MB / 0.6111 GB, free: 348 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.5667, allocations: 41.7 kB / 0.6111 GB, free: 300 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/0.5671, allocations: 464.5 kB / 0.6116 GB, free: 15.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003208/0.5674, allocations: 315.3 kB / 0.6119 GB, free: 15.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.5675, allocations: 16 kB / 0.6119 GB, free: 15.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5676, allocations: 338 kB / 0.6122 GB, free: 15.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.5691, allocations: 0.6774 MB / 0.6129 GB, free: 14.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.5706, allocations: 0.8008 MB / 0.6137 GB, free: 13.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0154/0.586, allocations: 4.745 MB / 0.6183 GB, free: 8.879 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.586, allocations: 0 / 0.6183 GB, free: 8.879 MB / 442.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01411/0.6002, allocations: 4.818 MB / 0.623 GB, free: 4.043 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.6004, allocations: 164.6 kB / 0.6232 GB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.331e-05/0.6005, allocations: 4 kB / 0.6232 GB, free: 3.848 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006891/0.6074, allocations: 2.089 MB / 0.6252 GB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008726/0.6083, allocations: 155.8 kB / 0.6254 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02217/0.6305, allocations: 9.494 MB / 0.6346 GB, free: 7.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.632, allocations: 187.2 kB / 0.6348 GB, free: 7.797 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/0.6322, allocations: 32 kB / 0.6348 GB, free: 7.766 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.6323, allocations: 4 kB / 0.6348 GB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01357/0.6458, allocations: 4.672 MB / 0.6394 GB, free: 3.078 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.6459, allocations: 4 kB / 0.6394 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006529/0.6524, allocations: 2.101 MB / 0.6415 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007833/0.6533, allocations: 147.8 kB / 0.6416 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02194/0.6752, allocations: 9.487 MB / 0.6509 GB, free: 7.199 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.6767, allocations: 179.3 kB / 0.651 GB, free: 7.023 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/0.6769, allocations: 31.98 kB / 0.6511 GB, free: 6.992 MB / 474.7 MB Warning: Assuming fixed start value for the following 3 variables: order4_Inputs_Outputs.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4_Inputs_Outputs.e1d:VARIABLE(start = order4_Inputs_Outputs.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_Inputs_Outputs.e1q:VARIABLE(start = order4_Inputs_Outputs.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: 10 * 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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * 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 {24 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008062/0.6778, allocations: 309.9 kB / 0.6514 GB, free: 6.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/0.6781, allocations: 114.6 kB / 0.6515 GB, free: 6.566 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/0.6923, allocations: 4.841 MB / 0.6562 GB, free: 1.711 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/0.6924, allocations: 8 kB / 0.6562 GB, free: 1.703 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.6924, allocations: 7.938 kB / 0.6562 GB, free: 1.695 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.533e-05/0.6924, allocations: 3.984 kB / 0.6562 GB, free: 1.691 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/0.7099, allocations: 6.507 MB / 0.6626 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.7099, allocations: 0 / 0.6626 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007426/0.7107, allocations: 123.9 kB / 0.6627 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006286/0.717, allocations: 2.054 MB / 0.6647 GB, free: 8.852 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002705/0.7173, allocations: 27.92 kB / 0.6647 GB, free: 8.824 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0194/0.7367, allocations: 8.198 MB / 0.6727 GB, free: 500 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7368, allocations: 0 / 0.6727 GB, free: 500 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2591/0.9958, allocations: 5.806 MB / 0.6784 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003818/0.9962, allocations: 199.5 kB / 0.6786 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.9964, allocations: 19.19 kB / 0.6786 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009803/0.9974, allocations: 139.3 kB / 0.6787 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006083/0.998, allocations: 203.2 kB / 0.6789 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.959e-05/0.9981, allocations: 25.31 kB / 0.679 GB, free: 126.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006794/0.9988, allocations: 0.5375 MB / 0.6795 GB, free: 126.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9988, allocations: 0 / 0.6795 GB, free: 126.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001858/1.001, allocations: 0.6541 MB / 0.6801 GB, free: 126.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.e1d) * 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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002753/1.001, allocations: 149.1 kB / 0.6803 GB, free: 126.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01043/1.011, allocations: 4.241 MB / 0.6844 GB, free: 126.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.011, allocations: 3.25 kB / 0.6844 GB, free: 126.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004478/1.016, allocations: 1.749 MB / 0.6861 GB, free: 126.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/1.017, allocations: 91.88 kB / 0.6862 GB, free: 126.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/1.021, allocations: 2.41 MB / 0.6886 GB, free: 125 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/1.022, allocations: 1.078 MB / 0.6896 GB, free: 124.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004215/1.022, allocations: 79.53 kB / 0.6897 GB, free: 124.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/1.022, allocations: 49.53 kB / 0.6897 GB, free: 124.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/1.022, allocations: 0 / 0.6897 GB, free: 124.3 MB / 490.7 MB Notification: Performance of Templates: time 0.04078/1.063, allocations: 26.53 MB / 0.7156 GB, free: 122.8 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR.pipe 2>&1)