Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",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.001423/0.001424, allocations: 173.4 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0008534/0.0008538, allocations: 98.09 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4929/0.4929, allocations: 78.95 MB / 410.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.195e-05/1.19e-05, allocations: 0 / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 69.51 MB / 0.5425 GB, free: 5.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.398/0.528, allocations: 102.7 MB / 0.6428 GB, free: 11.32 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.5283, allocations: 90.16 kB / 0.6429 GB, free: 11.24 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1035/0.6319, allocations: 36.74 MB / 0.6787 GB, free: 6.547 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.6319, allocations: 4 kB / 0.6787 GB, free: 6.543 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000168/0.6321, allocations: 27.94 kB / 0.6788 GB, free: 6.516 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00601/0.6381, allocations: 1.955 MB / 0.6807 GB, free: 4.504 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.6382, allocations: 9.719 kB / 0.6807 GB, free: 4.496 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003646/0.6418, allocations: 0.5757 MB / 0.6812 GB, free: 3.918 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.6442, allocations: 0.8778 MB / 0.6821 GB, free: 2.984 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004595/0.6447, allocations: 299.6 kB / 0.6824 GB, free: 2.645 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/0.645, allocations: 59.91 kB / 0.6824 GB, free: 2.586 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001966/0.647, allocations: 0.9217 MB / 0.6833 GB, free: 1.664 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.649, allocations: 0.9711 MB / 0.6843 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.649, allocations: 4 kB / 0.6843 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.6491, allocations: 0 / 0.6843 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.6491, allocations: 20 kB / 0.6843 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008386/0.6575, allocations: 4.117 MB / 0.6883 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.6599, allocations: 1.517 MB / 0.6898 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009584/0.6609, allocations: 0.6388 MB / 0.6904 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.6611, allocations: 17.25 kB / 0.6905 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001288/0.6624, allocations: 0.7496 MB / 0.6912 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=108): time 3.898e-06/0.6624, allocations: 0 / 0.6912 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108): time 0.01395/0.6763, allocations: 4.357 MB / 0.6954 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.6765, allocations: 112.1 kB / 0.6956 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.6782, allocations: 0.7891 MB / 0.6963 GB, free: 4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002907/0.6785, allocations: 25.7 kB / 0.6963 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/0.679, allocations: 0.5327 MB / 0.6969 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006276/0.6796, allocations: 370.4 kB / 0.6972 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.6798, allocations: 0 / 0.6972 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.6799, allocations: 350 kB / 0.6976 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00098/0.6809, allocations: 0.4986 MB / 0.698 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009917/0.6819, allocations: 0.6114 MB / 0.6986 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009982/0.6829, allocations: 0.5449 MB / 0.6992 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.683, allocations: 0 / 0.6992 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01386/0.6968, allocations: 4.41 MB / 0.7035 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.134e-05/0.6969, allocations: 63.39 kB / 0.7035 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.6969, allocations: 0 / 0.7035 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006185/0.7031, allocations: 1.8 MB / 0.7053 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.7043, allocations: 215.6 kB / 0.7055 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01669/0.721, allocations: 7.877 MB / 0.7132 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.7229, allocations: 215 kB / 0.7134 GB, free: 2.301 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/0.7231, allocations: 47.94 kB / 0.7134 GB, free: 2.254 MB / 0.5105 GB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(start = exciter_Type_II.firstOrder2.y_start ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004466/0.7236, allocations: 149.8 kB / 0.7136 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01375/0.7373, allocations: 4.364 MB / 0.7178 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005254/0.7379, allocations: 130.4 kB / 0.718 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/0.7519, allocations: 4.483 MB / 0.7224 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/0.752, allocations: 8 kB / 0.7224 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.752, allocations: 4 kB / 0.7224 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/0.752, allocations: 10.12 kB / 0.7224 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/0.7685, allocations: 6.224 MB / 0.7285 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.7686, allocations: 4.031 kB / 0.7285 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/0.7694, allocations: 135.8 kB / 0.7286 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006131/0.7755, allocations: 1.818 MB / 0.7304 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/0.7757, allocations: 11.98 kB / 0.7304 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01622/0.7919, allocations: 8.423 MB / 0.7386 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.792, allocations: 0 / 0.7386 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0152/0.8072, allocations: 5.355 MB / 0.7438 GB, free: 2.699 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/0.8077, allocations: 223.2 kB / 0.744 GB, free: 2.461 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003237/0.808, allocations: 0 / 0.744 GB, free: 2.461 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/0.8096, allocations: 171.8 kB / 0.7442 GB, free: 2.293 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007111/0.8103, allocations: 240.8 kB / 0.7444 GB, free: 2.055 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.8104, allocations: 27.98 kB / 0.7445 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008925/0.8113, allocations: 0.5948 MB / 0.745 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.51e-07/0.8113, allocations: 0 / 0.745 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001534/0.8129, allocations: 435.3 kB / 0.7455 GB, free: 1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * 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 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01522/0.8281, allocations: 6 MB / 0.7513 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006145/0.8343, allocations: 2.251 MB / 0.7535 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.8344, allocations: 0 / 0.7535 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004857/0.8392, allocations: 1.72 MB / 0.7552 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.8403, allocations: 99.62 kB / 0.7553 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/0.8453, allocations: 2.046 MB / 0.7573 GB, free: 4.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008632/0.8462, allocations: 1.19 MB / 0.7584 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004451/0.8467, allocations: 94.95 kB / 0.7585 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006453/0.8473, allocations: 495.3 kB / 0.759 GB, free: 2.945 MB / 0.5573 GB Notification: Performance of SimCode: time 5.01e-07/0.8473, allocations: 1.781 kB / 0.759 GB, free: 2.945 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3193/1.167, allocations: 31.9 MB / 0.7902 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001311/1.167, allocations: 141.1 kB / 0.7903 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.813/3.98, allocations: 1.828 kB / 0.7903 GB, free: 142.6 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)