Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",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.006876/0.006876, allocations: 172 kB / 15.11 MB, free: 5.98 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.502/1.502, allocations: 223.2 MB / 239 MB, free: 1.824 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.0009448/0.0009448, allocations: 105.9 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5129/0.5129, allocations: 78.59 MB / 419.9 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003774, allocations: 12 kB / 499.9 MB, free: 2.879 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4073, allocations: 69.34 MB / 0.5559 GB, free: 38.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.5292, allocations: 98.87 MB / 0.6524 GB, free: 7.648 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.5295, allocations: 79.97 kB / 0.6525 GB, free: 7.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1018/0.6313, allocations: 36.54 MB / 0.6882 GB, free: 2.828 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.6314, allocations: 0 / 0.6882 GB, free: 2.828 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00013/0.6315, allocations: 23.94 kB / 0.6882 GB, free: 2.805 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.005905/0.6374, allocations: 2.002 MB / 0.6901 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.6375, allocations: 8.031 kB / 0.6902 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003662/0.6379, allocations: 130.6 kB / 0.6903 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00379/0.6417, allocations: 0.5641 MB / 0.6908 GB, free: 24 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.6439, allocations: 0.815 MB / 0.6916 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/0.6442, allocations: 272.2 kB / 0.6919 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002751/0.6445, allocations: 79.91 kB / 0.692 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.6471, allocations: 1.133 MB / 0.6931 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.6471, allocations: 0 / 0.6931 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.972e-05/0.6472, allocations: 32 kB / 0.6931 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.6472, allocations: 16 kB / 0.6931 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.6495, allocations: 1.05 MB / 0.6941 GB, free: 12.53 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.007551/0.6571, allocations: 3.789 MB / 0.6978 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008243/0.6654, allocations: 2.893 MB / 0.7007 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.6656, allocations: 16.98 kB / 0.7007 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001946/0.6675, allocations: 0.8802 MB / 0.7015 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 3.937e-06/0.6675, allocations: 0 / 0.7015 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.03149/0.699, allocations: 8.7 MB / 0.71 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.6992, allocations: 123.8 kB / 0.7102 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.7011, allocations: 0.9132 MB / 0.711 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002466/0.7013, allocations: 41.7 kB / 0.7111 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004613/0.7018, allocations: 0.5051 MB / 0.7116 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000502/0.7023, allocations: 339.1 kB / 0.7119 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.7024, allocations: 20 kB / 0.7119 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7026, allocations: 345.9 kB / 0.7123 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.704, allocations: 0.6504 MB / 0.7129 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.7056, allocations: 0.7692 MB / 0.7136 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.7072, allocations: 0.755 MB / 0.7144 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.7072, allocations: 0 / 0.7144 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01516/0.7224, allocations: 4.676 MB / 0.7189 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.659e-05/0.7225, allocations: 59.41 kB / 0.719 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.7225, allocations: 4 kB / 0.719 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007096/0.7296, allocations: 1.897 MB / 0.7209 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.7307, allocations: 187.7 kB / 0.721 GB, free: 480 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02206/0.7528, allocations: 9.44 MB / 0.7303 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.7548, allocations: 210.9 kB / 0.7305 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/0.755, allocations: 39.98 kB / 0.7305 GB, free: 6.645 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.0007792/0.7558, allocations: 286.2 kB / 0.7308 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/0.7562, allocations: 126.5 kB / 0.7309 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/0.7699, allocations: 4.729 MB / 0.7355 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.77, allocations: 12 kB / 0.7355 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.77, allocations: 4 kB / 0.7355 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.568e-05/0.77, allocations: 7.969 kB / 0.7355 GB, free: 1.445 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.01642/0.7865, allocations: 6.277 MB / 0.7417 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.7865, allocations: 0 / 0.7417 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007573/0.7873, allocations: 103.8 kB / 0.7418 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005817/0.7931, allocations: 1.864 MB / 0.7436 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002082/0.7934, allocations: 23.98 kB / 0.7436 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02059/0.8139, allocations: 10.13 MB / 0.7535 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.814, allocations: 0 / 0.7535 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/0.8293, allocations: 5.658 MB / 0.759 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/0.8299, allocations: 231.2 kB / 0.7592 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003417/0.8303, allocations: 16 kB / 0.7593 GB, free: 8.691 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.8317, allocations: 143.9 kB / 0.7594 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006837/0.8324, allocations: 200.6 kB / 0.7596 GB, free: 8.355 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.8325, allocations: 23.95 kB / 0.7596 GB, free: 8.332 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001372/0.8339, allocations: 0.7196 MB / 0.7603 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8339, allocations: 4 kB / 0.7603 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001742/0.8357, allocations: 439.5 kB / 0.7607 GB, free: 7.172 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01589/0.8516, allocations: 6.336 MB / 0.7669 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2623/1.114, allocations: 2.467 MB / 0.7693 GB, free: 148.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.114, allocations: 1.281 kB / 0.7693 GB, free: 148.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004953/1.119, allocations: 1.786 MB / 0.7711 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/1.12, allocations: 103.3 kB / 0.7712 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005422/1.125, allocations: 5.088 MB / 0.7761 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008326/1.126, allocations: 1.147 MB / 0.7773 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005128/1.127, allocations: 103.8 kB / 0.7774 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006488/1.127, allocations: 467.1 kB / 0.7778 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.022e-06/1.127, allocations: 0 / 0.7778 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06405/1.192, allocations: 30.47 MB / 0.8076 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/1.192, allocations: 219.8 kB / 0.8078 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.889/4.081, allocations: 0 / 0.8078 GB, free: 142.1 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)