Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.0057/0.0057, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.334/1.334, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0007932/0.0007933, allocations: 98.83 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0583/0.0583, allocations: 12.2 MB / 330.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3908/0.3908, allocations: 78.52 MB / 459.6 MB, free: 4.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004752, allocations: 22.19 kB / 0.528 GB, free: 35.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1211, allocations: 69.25 MB / 0.5956 GB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3383/0.4594, allocations: 100.5 MB / 0.6938 GB, free: 98.33 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.4597, allocations: 80.98 kB / 0.6938 GB, free: 98.33 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08572/0.5454, allocations: 35.6 MB / 0.7286 GB, free: 82.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.5455, allocations: 0 / 0.7286 GB, free: 82.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.825e-05/0.5456, allocations: 27.94 kB / 0.7286 GB, free: 82.35 MB / 474.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.004344/0.5499, allocations: 2.009 MB / 0.7306 GB, free: 80.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.55, allocations: 15.92 kB / 0.7306 GB, free: 80.26 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.5501, allocations: 126.7 kB / 0.7307 GB, free: 80.12 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003062/0.5532, allocations: 0.5679 MB / 0.7313 GB, free: 79.55 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.5545, allocations: 0.8151 MB / 0.7321 GB, free: 78.69 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.5547, allocations: 264.2 kB / 0.7323 GB, free: 78.39 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.5548, allocations: 72 kB / 0.7324 GB, free: 78.32 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.5566, allocations: 1.137 MB / 0.7335 GB, free: 77.17 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.5566, allocations: 4 kB / 0.7335 GB, free: 77.17 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.37e-05/0.5567, allocations: 28 kB / 0.7335 GB, free: 77.14 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.5567, allocations: 23.95 kB / 0.7336 GB, free: 77.12 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.5585, allocations: 1.05 MB / 0.7346 GB, free: 76.06 MB / 474.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.005182/0.5637, allocations: 3.789 MB / 0.7383 GB, free: 72.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007135/0.5708, allocations: 2.891 MB / 0.7411 GB, free: 69.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.405e-05/0.5709, allocations: 24.92 kB / 0.7411 GB, free: 69.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/0.5722, allocations: 0.8724 MB / 0.742 GB, free: 68.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=96): time 2.505e-06/0.5722, allocations: 0 / 0.742 GB, free: 68.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.02714/0.5994, allocations: 8.704 MB / 0.7505 GB, free: 59.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.5995, allocations: 119.8 kB / 0.7506 GB, free: 59.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.6007, allocations: 0.9172 MB / 0.7515 GB, free: 58.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.572e-05/0.6009, allocations: 41.7 kB / 0.7515 GB, free: 58.31 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.6011, allocations: 0.4974 MB / 0.752 GB, free: 57.81 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.6013, allocations: 347 kB / 0.7523 GB, free: 57.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.6014, allocations: 16 kB / 0.7524 GB, free: 57.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.6015, allocations: 345.9 kB / 0.7527 GB, free: 57.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.6026, allocations: 0.6465 MB / 0.7533 GB, free: 56.46 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.6037, allocations: 0.7809 MB / 0.7541 GB, free: 55.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.6049, allocations: 0.751 MB / 0.7548 GB, free: 54.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6049, allocations: 0 / 0.7548 GB, free: 54.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01159/0.6165, allocations: 4.68 MB / 0.7594 GB, free: 50.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.6165, allocations: 63.36 kB / 0.7594 GB, free: 50.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.6166, allocations: 7.938 kB / 0.7595 GB, free: 50.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005751/0.6223, allocations: 1.9 MB / 0.7613 GB, free: 48.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009494/0.6233, allocations: 183.8 kB / 0.7615 GB, free: 48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/0.6409, allocations: 9.44 MB / 0.7707 GB, free: 38.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.6425, allocations: 203 kB / 0.7709 GB, free: 38.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/0.6427, allocations: 43.92 kB / 0.7709 GB, free: 38.18 MB / 474.7 MB 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.0006353/0.6434, allocations: 287.8 kB / 0.7712 GB, free: 37.89 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/0.6437, allocations: 134.4 kB / 0.7713 GB, free: 37.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/0.6557, allocations: 4.721 MB / 0.776 GB, free: 33.01 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.6557, allocations: 8 kB / 0.776 GB, free: 33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.6557, allocations: 8 kB / 0.776 GB, free: 32.99 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.6557, allocations: 3.984 kB / 0.776 GB, free: 32.99 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.01351/0.6692, allocations: 6.281 MB / 0.7821 GB, free: 26.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.6693, allocations: 0 / 0.7821 GB, free: 26.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/0.6699, allocations: 99.83 kB / 0.7822 GB, free: 26.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004976/0.6749, allocations: 1.864 MB / 0.784 GB, free: 24.63 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.675, allocations: 19.98 kB / 0.784 GB, free: 24.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01687/0.6919, allocations: 10.14 MB / 0.7939 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6919, allocations: 0 / 0.7939 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/0.7052, allocations: 5.65 MB / 0.7995 GB, free: 8.496 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005442/0.7058, allocations: 231.2 kB / 0.7997 GB, free: 8.25 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000265/0.7061, allocations: 19.95 kB / 0.7997 GB, free: 8.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.7074, allocations: 147.9 kB / 0.7998 GB, free: 8.086 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004973/0.7079, allocations: 192.7 kB / 0.8 GB, free: 7.898 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.837e-05/0.708, allocations: 32 kB / 0.8001 GB, free: 7.867 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.709, allocations: 0.7157 MB / 0.8008 GB, free: 7.145 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.709, allocations: 0 / 0.8008 GB, free: 7.145 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001275/0.7103, allocations: 435.5 kB / 0.8012 GB, free: 6.719 MB / 474.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 () * 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.0134/0.7237, allocations: 6.335 MB / 0.8074 GB, free: 336 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005723/0.7295, allocations: 2.481 MB / 0.8098 GB, free: 13.81 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7295, allocations: 0 / 0.8098 GB, free: 13.81 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004288/0.7338, allocations: 1.782 MB / 0.8115 GB, free: 11.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009266/0.7347, allocations: 112.5 kB / 0.8116 GB, free: 11.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/0.7407, allocations: 5.087 MB / 0.8166 GB, free: 6.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/0.7414, allocations: 1.147 MB / 0.8177 GB, free: 5.504 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004471/0.7419, allocations: 98.77 kB / 0.8178 GB, free: 5.402 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006257/0.7425, allocations: 471.3 kB / 0.8183 GB, free: 4.941 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/0.7426, allocations: 0 / 0.8183 GB, free: 4.941 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04992/0.7925, allocations: 30.48 MB / 0.848 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.7927, allocations: 238.3 kB / 0.8483 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.743/3.535, allocations: 4.062 kB / 0.8483 GB, free: 6.445 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)