Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000944/0.0009439, allocations: 174.3 kB / 12.73 MB, free: 2.59 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.201/1.201, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008817/0.0008816, allocations: 91.77 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4297/0.4297, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.473e-05/2.475e-05, allocations: 4 kB / 491.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2693, allocations: 69.34 MB / 0.548 GB, free: 20.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.107/0.3763, allocations: 98.83 MB / 0.6445 GB, free: 1.598 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.3766, allocations: 79.95 kB / 0.6445 GB, free: 1.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3353/0.7119, allocations: 36.43 MB / 0.6801 GB, free: 106.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.712, allocations: 0 / 0.6801 GB, free: 106.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.668e-05/0.712, allocations: 33.05 kB / 0.6802 GB, free: 106.2 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.003986/0.716, allocations: 1.698 MB / 0.6818 GB, free: 105.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.7161, allocations: 12 kB / 0.6818 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003381/0.7195, allocations: 0.5564 MB / 0.6824 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.7209, allocations: 0.7865 MB / 0.6831 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.7211, allocations: 264.4 kB / 0.6834 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.7213, allocations: 80.16 kB / 0.6835 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.723, allocations: 0.9354 MB / 0.6844 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.723, allocations: 0 / 0.6844 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-05/0.7231, allocations: 36.08 kB / 0.6844 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.7231, allocations: 17.72 kB / 0.6844 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.7246, allocations: 0.8423 MB / 0.6852 GB, free: 104.7 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006127/0.7308, allocations: 3.787 MB / 0.6889 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00665/0.7374, allocations: 2.662 MB / 0.6915 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008448/0.7383, allocations: 0.5364 MB / 0.6921 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.7384, allocations: 22.58 kB / 0.6921 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009224/0.7394, allocations: 0.6715 MB / 0.6927 GB, free: 103 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.116e-06/0.7394, allocations: 0 / 0.6927 GB, free: 103 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01194/0.7513, allocations: 4.026 MB / 0.6967 GB, free: 102.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.7514, allocations: 111.8 kB / 0.6968 GB, free: 102 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.7527, allocations: 0.8803 MB / 0.6976 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002228/0.7529, allocations: 41.42 kB / 0.6977 GB, free: 101.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.7532, allocations: 0.5034 MB / 0.6982 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003277/0.7535, allocations: 349.7 kB / 0.6985 GB, free: 100.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.7536, allocations: 18.47 kB / 0.6985 GB, free: 100.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.7537, allocations: 347.4 kB / 0.6989 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006947/0.7544, allocations: 461.9 kB / 0.6993 GB, free: 100.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007048/0.7551, allocations: 0.5786 MB / 0.6999 GB, free: 100.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007649/0.7558, allocations: 0.5487 MB / 0.7004 GB, free: 99.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.7559, allocations: 7.953 kB / 0.7004 GB, free: 99.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01168/0.7676, allocations: 4.099 MB / 0.7044 GB, free: 98.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.926e-05/0.7676, allocations: 61.09 kB / 0.7045 GB, free: 98.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.7677, allocations: 5.328 kB / 0.7045 GB, free: 98.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005085/0.7727, allocations: 1.531 MB / 0.706 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.7738, allocations: 185.9 kB / 0.7061 GB, free: 98.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/0.786, allocations: 6.74 MB / 0.7127 GB, free: 92.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.7878, allocations: 206.2 kB / 0.7129 GB, free: 92.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.7879, allocations: 39.89 kB / 0.713 GB, free: 92 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002549/0.7882, allocations: 199.5 kB / 0.7132 GB, free: 91.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.7884, allocations: 130.4 kB / 0.7133 GB, free: 91.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/0.7996, allocations: 4.143 MB / 0.7173 GB, free: 88.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.7996, allocations: 8 kB / 0.7173 GB, free: 88.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.7996, allocations: 8 kB / 0.7173 GB, free: 88.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.7996, allocations: 10.66 kB / 0.7174 GB, free: 88.43 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01227/0.8119, allocations: 5.702 MB / 0.7229 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.8119, allocations: 4 kB / 0.7229 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.8125, allocations: 95.84 kB / 0.723 GB, free: 83.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004427/0.817, allocations: 1.489 MB / 0.7245 GB, free: 82.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/0.8172, allocations: 19.98 kB / 0.7245 GB, free: 82.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/0.8291, allocations: 7.704 MB / 0.732 GB, free: 74.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.8291, allocations: 3.953 kB / 0.732 GB, free: 74.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/0.8416, allocations: 4.881 MB / 0.7368 GB, free: 69.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.8421, allocations: 235.2 kB / 0.737 GB, free: 69.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.8423, allocations: 16 kB / 0.737 GB, free: 69.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.8435, allocations: 143.9 kB / 0.7372 GB, free: 68.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005227/0.844, allocations: 196.6 kB / 0.7373 GB, free: 68.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.536e-05/0.8441, allocations: 28 kB / 0.7374 GB, free: 68.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007597/0.8449, allocations: 0.6778 MB / 0.738 GB, free: 68.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8449, allocations: 0 / 0.738 GB, free: 68.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001083/0.846, allocations: 439.5 kB / 0.7385 GB, free: 67.58 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002336/0.8462, allocations: 155.1 kB / 0.7386 GB, free: 67.42 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004381/0.8506, allocations: 2.071 MB / 0.7406 GB, free: 65.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.8506, allocations: 4 kB / 0.7406 GB, free: 65.31 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003495/0.8541, allocations: 1.58 MB / 0.7422 GB, free: 63.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009154/0.855, allocations: 109.9 kB / 0.7423 GB, free: 63.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.8578, allocations: 1.722 MB / 0.744 GB, free: 61.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.8582, allocations: 1.15 MB / 0.7451 GB, free: 60.67 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003866/0.8586, allocations: 98.61 kB / 0.7452 GB, free: 60.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.8589, allocations: 67.42 kB / 0.7452 GB, free: 60.51 MB / 490.7 MB Notification: Performance of SimCode: time 6.62e-07/0.8589, allocations: 0 / 0.7452 GB, free: 60.51 MB / 490.7 MB Notification: Performance of Templates: time 0.0262/0.8851, allocations: 20.49 MB / 0.7653 GB, free: 40.29 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)