Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.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.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",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.001127/0.001127, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.3 MB / 213.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 86.72 kB / 261.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08566/0.08566, allocations: 12.2 MB / 321.5 MB, free: 15.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5177/0.5177, allocations: 78.05 MB / 450.3 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.673e-05, allocations: 2.625 kB / 0.5142 GB, free: 42.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1337, allocations: 69.25 MB / 0.5819 GB, free: 1.254 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.2608, allocations: 101.6 MB / 0.6811 GB, free: 11.47 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.2611, allocations: 91.94 kB / 0.6812 GB, free: 11.38 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3769/0.638, allocations: 28.78 MB / 0.7093 GB, free: 98.65 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.638, allocations: 0 / 0.7093 GB, free: 98.65 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.962e-05/0.6381, allocations: 21.03 kB / 0.7093 GB, free: 98.65 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.004885/0.643, allocations: 1.879 MB / 0.7112 GB, free: 97.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.6431, allocations: 8.906 kB / 0.7112 GB, free: 97.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003015/0.6461, allocations: 0.5651 MB / 0.7117 GB, free: 97.55 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.6476, allocations: 0.817 MB / 0.7125 GB, free: 97.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.6478, allocations: 242 kB / 0.7128 GB, free: 96.89 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.648, allocations: 46.25 kB / 0.7128 GB, free: 96.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001429/0.6494, allocations: 0.8582 MB / 0.7136 GB, free: 96.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.6509, allocations: 0.8989 MB / 0.7145 GB, free: 96.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.651, allocations: 2.875 kB / 0.7145 GB, free: 96.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.511e-05/0.6511, allocations: 0 / 0.7145 GB, free: 96.07 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.6511, allocations: 17.91 kB / 0.7145 GB, free: 96.07 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005887/0.657, allocations: 3.606 MB / 0.7181 GB, free: 93.39 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.6586, allocations: 1.354 MB / 0.7194 GB, free: 92.36 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007576/0.6593, allocations: 0.6049 MB / 0.72 GB, free: 92.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.6595, allocations: 9.125 kB / 0.72 GB, free: 92.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.6605, allocations: 0.7151 MB / 0.7207 GB, free: 91.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=102): time 3.997e-06/0.6605, allocations: 0 / 0.7207 GB, free: 91.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=102): time 0.01171/0.6722, allocations: 4.235 MB / 0.7248 GB, free: 87.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.6723, allocations: 116.1 kB / 0.7249 GB, free: 87.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.6736, allocations: 0.7865 MB / 0.7257 GB, free: 86.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000239/0.6739, allocations: 31.09 kB / 0.7257 GB, free: 86.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.6742, allocations: 0.5244 MB / 0.7262 GB, free: 85.72 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003512/0.6746, allocations: 342.8 kB / 0.7266 GB, free: 85.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.6747, allocations: 0 / 0.7266 GB, free: 85.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.6748, allocations: 349.9 kB / 0.7269 GB, free: 85.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/0.6755, allocations: 490.6 kB / 0.7274 GB, free: 84.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007418/0.6762, allocations: 0.5979 MB / 0.728 GB, free: 83.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007633/0.677, allocations: 0.5191 MB / 0.7285 GB, free: 83.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.677, allocations: 4 kB / 0.7285 GB, free: 83.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01171/0.6887, allocations: 4.344 MB / 0.7327 GB, free: 79.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.44e-05/0.6889, allocations: 63.41 kB / 0.7328 GB, free: 78.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.6889, allocations: 0 / 0.7328 GB, free: 78.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005783/0.6947, allocations: 1.799 MB / 0.7345 GB, free: 77.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.6959, allocations: 191.8 kB / 0.7347 GB, free: 76.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01379/0.7097, allocations: 7.441 MB / 0.742 GB, free: 69.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.7117, allocations: 191 kB / 0.7422 GB, free: 69.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.7119, allocations: 39.98 kB / 0.7422 GB, free: 69.2 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRI.firstOrder2.y:VARIABLE(start = aVRI.firstOrder2.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (97): * Single equations (assignments): 94 * 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 {25 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003817/0.7123, allocations: 155.7 kB / 0.7423 GB, free: 69.04 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01146/0.7237, allocations: 4.247 MB / 0.7465 GB, free: 64.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000582/0.7244, allocations: 130.4 kB / 0.7466 GB, free: 64.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.7359, allocations: 4.352 MB / 0.7509 GB, free: 60.28 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.736, allocations: 12 kB / 0.7509 GB, free: 60.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.736, allocations: 0 / 0.7509 GB, free: 60.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.537e-05/0.736, allocations: 3.984 kB / 0.7509 GB, free: 60.26 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/0.7496, allocations: 6.014 MB / 0.7568 GB, free: 54.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.7497, allocations: 0 / 0.7568 GB, free: 54.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007156/0.7504, allocations: 107.8 kB / 0.7569 GB, free: 54.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004979/0.7554, allocations: 1.738 MB / 0.7586 GB, free: 52.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/0.7556, allocations: 8 kB / 0.7586 GB, free: 52.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01349/0.7691, allocations: 8.122 MB / 0.7665 GB, free: 43.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/0.7692, allocations: 4 kB / 0.7665 GB, free: 43.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/0.7824, allocations: 5.163 MB / 0.7715 GB, free: 38.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007249/0.7832, allocations: 223.3 kB / 0.7718 GB, free: 38.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/0.7834, allocations: 3.984 kB / 0.7718 GB, free: 38.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.7847, allocations: 135.9 kB / 0.7719 GB, free: 38.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007011/0.7854, allocations: 212.9 kB / 0.7721 GB, free: 38.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.677e-05/0.7855, allocations: 24 kB / 0.7721 GB, free: 38.13 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008344/0.7863, allocations: 0.6015 MB / 0.7727 GB, free: 37.52 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7863, allocations: 0 / 0.7727 GB, free: 37.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001596/0.7879, allocations: 427.4 kB / 0.7731 GB, free: 37.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.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: 0 * Non-linear torn systems: 2 {26 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01277/0.8007, allocations: 5.814 MB / 0.7788 GB, free: 31.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005236/0.806, allocations: 2.217 MB / 0.7809 GB, free: 29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.806, allocations: 0 / 0.7809 GB, free: 29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004024/0.81, allocations: 1.684 MB / 0.7826 GB, free: 27.28 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.8111, allocations: 83.31 kB / 0.7827 GB, free: 27.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/0.8149, allocations: 1.955 MB / 0.7846 GB, free: 25.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.8154, allocations: 1.159 MB / 0.7857 GB, free: 24.01 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003683/0.8158, allocations: 86.69 kB / 0.7858 GB, free: 23.92 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005163/0.8163, allocations: 459.7 kB / 0.7862 GB, free: 23.47 MB / 474.7 MB Notification: Performance of SimCode: time 6.42e-07/0.8163, allocations: 0 / 0.7862 GB, free: 23.47 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06151/0.8778, allocations: 30.58 MB / 0.8161 GB, free: 8.934 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/0.8782, allocations: 141.6 kB / 0.8162 GB, free: 8.738 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.328/4.206, allocations: 0 / 0.8162 GB, free: 8.738 MB / 490.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)