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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006049/0.006049, allocations: 171.2 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.365/1.365, allocations: 223.2 MB / 239 MB, free: 64 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.0009556/0.0009558, allocations: 97.86 kB / 290.2 MB, free: 4.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4706/0.4706, allocations: 78.51 MB / 419.8 MB, free: 36.35 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004073, allocations: 16 kB / 499.8 MB, free: 7.004 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1437, allocations: 69.35 MB / 0.5558 GB, free: 1.664 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3976/0.5414, allocations: 98.89 MB / 0.6524 GB, free: 3.238 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.5417, allocations: 82.73 kB / 0.6525 GB, free: 3.195 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09575/0.6374, allocations: 36.53 MB / 0.6881 GB, free: 15.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6375, allocations: 0 / 0.6881 GB, free: 15.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.547e-05/0.6376, allocations: 20 kB / 0.6882 GB, free: 15.08 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.005061/0.6426, allocations: 2.007 MB / 0.6901 GB, free: 13.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.6427, allocations: 12.03 kB / 0.6901 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.6429, allocations: 122.7 kB / 0.6903 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/0.6462, allocations: 0.5641 MB / 0.6908 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.6478, allocations: 0.8189 MB / 0.6916 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002852/0.6481, allocations: 260.2 kB / 0.6918 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.6483, allocations: 87.91 kB / 0.6919 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.6504, allocations: 1.137 MB / 0.693 GB, free: 9.906 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.6505, allocations: 0 / 0.693 GB, free: 9.906 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.666e-05/0.6506, allocations: 35.98 kB / 0.6931 GB, free: 9.871 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.6506, allocations: 20 kB / 0.6931 GB, free: 9.852 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.6526, allocations: 1.042 MB / 0.6941 GB, free: 8.805 MB / 490.7 MB 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.006685/0.6593, allocations: 3.797 MB / 0.6978 GB, free: 4.832 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008471/0.6678, allocations: 2.892 MB / 0.7006 GB, free: 1.844 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.668, allocations: 16.97 kB / 0.7007 GB, free: 1.828 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001678/0.6696, allocations: 0.8686 MB / 0.7015 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.857e-06/0.6697, allocations: 0 / 0.7015 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.031/0.7007, allocations: 8.704 MB / 0.71 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/0.7008, allocations: 115.8 kB / 0.7101 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.7026, allocations: 0.921 MB / 0.711 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002616/0.7029, allocations: 44.89 kB / 0.7111 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/0.7034, allocations: 0.5129 MB / 0.7116 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000421/0.7038, allocations: 331.1 kB / 0.7119 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/0.7039, allocations: 20 kB / 0.7119 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.7041, allocations: 345.9 kB / 0.7122 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.7055, allocations: 0.6465 MB / 0.7129 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.707, allocations: 0.7854 MB / 0.7136 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.7085, allocations: 0.7395 MB / 0.7144 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.7085, allocations: 4 kB / 0.7144 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01432/0.7228, allocations: 4.677 MB / 0.7189 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.452e-05/0.723, allocations: 59.41 kB / 0.719 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.723, allocations: 4 kB / 0.719 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006503/0.7295, allocations: 1.897 MB / 0.7208 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.7307, allocations: 187.7 kB / 0.721 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/0.752, allocations: 9.437 MB / 0.7302 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.7538, allocations: 207 kB / 0.7304 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.7539, allocations: 35.98 kB / 0.7305 GB, free: 2.941 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" 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 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 () * Number of clocked 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.0006628/0.7546, allocations: 294.4 kB / 0.7307 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.7548, allocations: 122.5 kB / 0.7309 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/0.7682, allocations: 4.725 MB / 0.7355 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.7683, allocations: 8 kB / 0.7355 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/0.7683, allocations: 12 kB / 0.7355 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-05/0.7684, allocations: 3.984 kB / 0.7355 GB, free: 13.74 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 postOpt removeSimpleEquations (simulation): time 0.01645/0.7848, allocations: 6.281 MB / 0.7416 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.7849, allocations: 0 / 0.7416 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007133/0.7856, allocations: 99.89 kB / 0.7417 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005742/0.7914, allocations: 1.864 MB / 0.7435 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/0.7916, allocations: 31.92 kB / 0.7436 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0205/0.8121, allocations: 10.13 MB / 0.7535 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.8122, allocations: 0 / 0.7535 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/0.8276, allocations: 5.655 MB / 0.759 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000643/0.8283, allocations: 231.2 kB / 0.7592 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.8285, allocations: 20 kB / 0.7592 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.8298, allocations: 143.9 kB / 0.7594 GB, free: 4.848 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006198/0.8304, allocations: 204.7 kB / 0.7596 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-05/0.8305, allocations: 27.95 kB / 0.7596 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001153/0.8316, allocations: 0.7196 MB / 0.7603 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/0.8317, allocations: 0 / 0.7603 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001464/0.8331, allocations: 439.5 kB / 0.7607 GB, free: 3.465 MB / 0.5417 GB 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 () * Number of clocked 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.01614/0.8493, allocations: 6.327 MB / 0.7669 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007049/0.8564, allocations: 2.484 MB / 0.7693 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.8565, allocations: 0 / 0.7693 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004787/0.8613, allocations: 1.782 MB / 0.7711 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.8626, allocations: 109.2 kB / 0.7712 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007021/0.8696, allocations: 5.084 MB / 0.7761 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008515/0.8705, allocations: 1.143 MB / 0.7772 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004927/0.871, allocations: 94.77 kB / 0.7773 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006915/0.8717, allocations: 472.4 kB / 0.7778 GB, free: 1.723 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/0.8717, allocations: 1.5 kB / 0.7778 GB, free: 1.723 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3295/1.201, allocations: 30.48 MB / 0.8075 GB, free: 152.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/1.201, allocations: 234.2 kB / 0.8078 GB, free: 152.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/4.15, allocations: 7.25 kB / 0.8078 GB, free: 152.2 MB / 0.573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)