Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005247/0.005247, allocations: 171.1 kB / 15.11 MB, free: 5.969 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.212/1.212, allocations: 223.2 MB / 239 MB, free: 1.797 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.0008407/0.0008406, allocations: 104.8 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4271/0.4271, allocations: 79.44 MB / 420.8 MB, free: 43.69 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003305, allocations: 12 kB / 0.489 GB, free: 2.055 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3249, allocations: 69.5 MB / 0.5569 GB, free: 38.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1141/0.439, allocations: 100.6 MB / 0.6551 GB, free: 5.012 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.4392, allocations: 83.95 kB / 0.6552 GB, free: 4.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1668/0.6061, allocations: 68.08 MB / 0.7217 GB, free: 496 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6061, allocations: 0 / 0.7217 GB, free: 496 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002532/0.6064, allocations: 56 kB / 0.7218 GB, free: 440 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01396/0.6203, allocations: 4.594 MB / 0.7262 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.6204, allocations: 8.031 kB / 0.7263 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009779/0.6302, allocations: 1.607 MB / 0.7278 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004318/0.6345, allocations: 1.689 MB / 0.7295 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007306/0.6353, allocations: 0.6983 MB / 0.7302 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007248/0.636, allocations: 215.8 kB / 0.7304 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007083/0.6431, allocations: 3.22 MB / 0.7335 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/0.6432, allocations: 0 / 0.7335 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003107/0.6435, allocations: 80 kB / 0.7336 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/0.6435, allocations: 51.98 kB / 0.7336 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006114/0.6497, allocations: 3.022 MB / 0.7366 GB, free: 0.8828 MB / 0.5261 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.01855/0.6682, allocations: 10.02 MB / 0.7464 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.6792, allocations: 4.735 MB / 0.751 GB, free: 1.531 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002961/0.6795, allocations: 50 kB / 0.751 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.6796, allocations: 64.5 kB / 0.7511 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=242): time 4.569e-06/0.6796, allocations: 0 / 0.7511 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of matching and sorting (n=242): time 0.3159/0.9955, allocations: 28.47 MB / 0.7789 GB, free: 119 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.9956, allocations: 241.2 kB / 0.7791 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/0.9983, allocations: 1.897 MB / 0.781 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004897/0.9988, allocations: 64.89 kB / 0.7811 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007851/0.9996, allocations: 1.195 MB / 0.7822 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006986/1, allocations: 0.8422 MB / 0.783 GB, free: 118 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/1, allocations: 42.53 kB / 0.7831 GB, free: 118 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/1.001, allocations: 394.8 kB / 0.7835 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003296/1.004, allocations: 1.867 MB / 0.7853 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003408/1.007, allocations: 2.178 MB / 0.7874 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/1.011, allocations: 2.098 MB / 0.7895 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.011, allocations: 0 / 0.7895 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.03815/1.049, allocations: 14.32 MB / 0.8034 GB, free: 116 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004808/1.049, allocations: 2.873 MB / 0.8063 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/1.049, allocations: 5.875 kB / 0.8063 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01851/1.068, allocations: 6.312 MB / 0.8124 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/1.07, allocations: 377 kB / 0.8128 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05304/1.123, allocations: 26.02 MB / 0.8382 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003734/1.127, allocations: 0.5161 MB / 0.8387 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003182/1.127, allocations: 80.89 kB / 0.8388 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/1.127, allocations: 7.406 kB / 0.8388 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03485/1.162, allocations: 14 MB / 0.8525 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.162e-05/1.162, allocations: 10.08 kB / 0.8525 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01615/1.178, allocations: 6.309 MB / 0.8586 GB, free: 98.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/1.18, allocations: 360.5 kB / 0.859 GB, free: 98.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05119/1.231, allocations: 26.01 MB / 0.8844 GB, free: 76.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003474/1.235, allocations: 0.4924 MB / 0.8849 GB, free: 75.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/1.235, allocations: 85.39 kB / 0.8849 GB, free: 75.7 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (208): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 4 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.001199/1.236, allocations: 0.5897 MB / 0.8855 GB, free: 75.13 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000487/1.237, allocations: 295.6 kB / 0.8858 GB, free: 74.84 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03549/1.272, allocations: 14.51 MB / 0.9 GB, free: 63.62 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/1.272, allocations: 24 kB / 0.9 GB, free: 63.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.137e-05/1.272, allocations: 20 kB / 0.9 GB, free: 63.58 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.008e-05/1.273, allocations: 11.25 kB / 0.9 GB, free: 63.58 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 postOpt removeSimpleEquations (simulation): time 0.04058/1.313, allocations: 18.23 MB / 0.9178 GB, free: 47.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/1.313, allocations: 4 kB / 0.9178 GB, free: 47.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/1.315, allocations: 279.5 kB / 0.9181 GB, free: 47.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01547/1.33, allocations: 6.043 MB / 0.924 GB, free: 41.23 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005361/1.331, allocations: 47.98 kB / 0.924 GB, free: 41.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04456/1.375, allocations: 22.67 MB / 0.9462 GB, free: 18.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.376, allocations: 0 / 0.9462 GB, free: 18.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04105/1.417, allocations: 17.09 MB / 0.9629 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/1.418, allocations: 408.9 kB / 0.9633 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006931/1.418, allocations: 44 kB / 0.9633 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002915/1.421, allocations: 399.6 kB / 0.9637 GB, free: 380 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001822/1.423, allocations: 0.5527 MB / 0.9642 GB, free: 15.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/1.423, allocations: 55.98 kB / 0.9643 GB, free: 15.77 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002401/1.426, allocations: 1.476 MB / 0.9657 GB, free: 14.29 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.426, allocations: 0 / 0.9657 GB, free: 14.29 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00497/1.431, allocations: 1.758 MB / 0.9674 GB, free: 12.53 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.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 (163): * Single equations (assignments): 160 * 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: 1 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004638/1.431, allocations: 195.8 kB / 0.9676 GB, free: 12.34 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03086/1.462, allocations: 11.92 MB / 0.9793 GB, free: 308 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.462, allocations: 0 / 0.9793 GB, free: 308 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01303/1.475, allocations: 4.78 MB / 0.9839 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/1.477, allocations: 234.4 kB / 0.9841 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008872/1.486, allocations: 6.483 MB / 0.9905 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/1.487, allocations: 1.895 MB / 0.9923 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001179/1.488, allocations: 272.8 kB / 0.9926 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005018/1.489, allocations: 131.4 kB / 0.9927 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of SimCode: time 6.71e-07/1.489, allocations: 0 / 0.9927 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of Templates: time 0.3156/1.805, allocations: 72.12 MB / 1.063 GB, free: 134.8 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)