Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_dev_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.005569/0.005569, allocations: 170.5 kB / 15.11 MB, free: 5.973 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.313/1.313, allocations: 223.2 MB / 239 MB, free: 1.785 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.0009094/0.0009094, allocations: 93.78 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4838/0.4838, allocations: 79.44 MB / 420.8 MB, free: 43.7 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0004, allocations: 8 kB / 0.4891 GB, free: 1.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3644, allocations: 69.5 MB / 0.557 GB, free: 38.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.4874, allocations: 99.59 MB / 0.6542 GB, free: 5.969 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.4877, allocations: 79.95 kB / 0.6543 GB, free: 5.891 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1014/0.5892, allocations: 37.13 MB / 0.6906 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.078e-06/0.5892, allocations: 3.984 kB / 0.6906 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001168/0.5893, allocations: 31.88 kB / 0.6906 GB, free: 0.5195 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.005771/0.5951, allocations: 1.986 MB / 0.6926 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.5952, allocations: 12.03 kB / 0.6926 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003854/0.5956, allocations: 126.6 kB / 0.6927 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003611/0.5992, allocations: 0.568 MB / 0.6932 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.6012, allocations: 0.815 MB / 0.694 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00031/0.6015, allocations: 268.2 kB / 0.6943 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.6018, allocations: 79.91 kB / 0.6944 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.6042, allocations: 1.137 MB / 0.6955 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.6043, allocations: 3.938 kB / 0.6955 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-05/0.6044, allocations: 28 kB / 0.6955 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.6044, allocations: 24 kB / 0.6955 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.6066, allocations: 1.039 MB / 0.6966 GB, free: 10.26 MB / 0.4948 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.007336/0.6139, allocations: 3.825 MB / 0.7003 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007786/0.6217, allocations: 2.889 MB / 0.7031 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.622, allocations: 20.97 kB / 0.7031 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002029/0.624, allocations: 0.8686 MB / 0.704 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 3.627e-06/0.624, allocations: 0 / 0.704 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.03177/0.6558, allocations: 8.704 MB / 0.7125 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/0.656, allocations: 119.8 kB / 0.7126 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.6579, allocations: 0.9171 MB / 0.7135 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002307/0.6581, allocations: 45.73 kB / 0.7135 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.6586, allocations: 0.5013 MB / 0.714 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000537/0.6591, allocations: 335 kB / 0.7143 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.6593, allocations: 20 kB / 0.7144 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.6595, allocations: 349.9 kB / 0.7147 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/0.661, allocations: 0.6426 MB / 0.7153 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.6625, allocations: 0.7848 MB / 0.7161 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.6641, allocations: 0.7355 MB / 0.7168 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.6641, allocations: 0 / 0.7168 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01414/0.6783, allocations: 4.68 MB / 0.7214 GB, free: 352 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.315e-05/0.6784, allocations: 64.03 kB / 0.7214 GB, free: 276 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.6784, allocations: 3.938 kB / 0.7214 GB, free: 272 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006617/0.685, allocations: 1.901 MB / 0.7233 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.6861, allocations: 187.7 kB / 0.7235 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/0.7076, allocations: 9.44 MB / 0.7327 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.7095, allocations: 207 kB / 0.7329 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/0.7097, allocations: 35.98 kB / 0.7329 GB, free: 4.363 MB / 0.5261 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.0008492/0.7106, allocations: 281 kB / 0.7332 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/0.711, allocations: 126.7 kB / 0.7333 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/0.7249, allocations: 4.728 MB / 0.7379 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/0.725, allocations: 12 kB / 0.7379 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/0.7251, allocations: 4 kB / 0.7379 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.235e-05/0.7251, allocations: 7.984 kB / 0.738 GB, free: 15.17 MB / 0.5417 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.01659/0.7417, allocations: 6.289 MB / 0.7441 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.7418, allocations: 0 / 0.7441 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/0.7425, allocations: 99.89 kB / 0.7442 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005878/0.7484, allocations: 1.876 MB / 0.746 GB, free: 6.789 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002296/0.7486, allocations: 20 kB / 0.746 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.021/0.7697, allocations: 10.14 MB / 0.7559 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.7697, allocations: 0 / 0.7559 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01555/0.7853, allocations: 5.65 MB / 0.7615 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005571/0.7859, allocations: 231.2 kB / 0.7617 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003868/0.7863, allocations: 27.95 kB / 0.7617 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.7877, allocations: 139.9 kB / 0.7618 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006354/0.7884, allocations: 196.7 kB / 0.762 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.7885, allocations: 31.98 kB / 0.7621 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0013/0.7898, allocations: 0.7157 MB / 0.7628 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7898, allocations: 0 / 0.7628 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001631/0.7915, allocations: 439.5 kB / 0.7632 GB, free: 4.887 MB / 0.5573 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.2801/1.072, allocations: 6.317 MB / 0.7693 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006636/1.078, allocations: 2.474 MB / 0.7718 GB, free: 143.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.078, allocations: 0 / 0.7718 GB, free: 143.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004732/1.083, allocations: 1.8 MB / 0.7735 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/1.084, allocations: 108.6 kB / 0.7736 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005148/1.089, allocations: 5.101 MB / 0.7786 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/1.09, allocations: 1.143 MB / 0.7797 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003866/1.09, allocations: 95.94 kB / 0.7798 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007113/1.091, allocations: 476.3 kB / 0.7803 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of SimCode: time 6.181e-06/1.091, allocations: 0 / 0.7803 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05739/1.148, allocations: 30.48 MB / 0.81 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/1.149, allocations: 237.9 kB / 0.8103 GB, free: 137.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.003/4.152, allocations: 0 / 0.8103 GB, free: 137.1 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)