Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.00146/0.00146, allocations: 173.9 kB / 7.648 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.561/1.561, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008832/0.0008833, allocations: 89.48 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4962/0.4962, allocations: 78.07 MB / 409.3 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.638e-05/2.684e-05, allocations: 7.938 kB / 485 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1545, allocations: 69.36 MB / 0.5414 GB, free: 6.703 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4518/0.6064, allocations: 102 MB / 0.641 GB, free: 13.41 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.6068, allocations: 87.89 kB / 0.641 GB, free: 13.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09886/0.7056, allocations: 36.04 MB / 0.6762 GB, free: 9.312 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.7057, allocations: 0 / 0.6762 GB, free: 9.312 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001176/0.7058, allocations: 31.94 kB / 0.6763 GB, free: 9.281 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.005792/0.7116, allocations: 1.953 MB / 0.6782 GB, free: 7.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.7116, allocations: 12.03 kB / 0.6782 GB, free: 7.258 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/0.7152, allocations: 0.5718 MB / 0.6787 GB, free: 6.684 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.7175, allocations: 0.8817 MB / 0.6796 GB, free: 5.746 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004003/0.7179, allocations: 299.6 kB / 0.6799 GB, free: 5.406 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002903/0.7182, allocations: 55.91 kB / 0.6799 GB, free: 5.352 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001972/0.7202, allocations: 0.9256 MB / 0.6808 GB, free: 4.426 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.7221, allocations: 0.9751 MB / 0.6818 GB, free: 3.434 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.7221, allocations: 0.5625 kB / 0.6818 GB, free: 3.434 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.7222, allocations: 3.562 kB / 0.6818 GB, free: 3.434 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.7222, allocations: 20 kB / 0.6818 GB, free: 3.414 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008429/0.7307, allocations: 4.079 MB / 0.6858 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.7332, allocations: 1.513 MB / 0.6873 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.7343, allocations: 0.6465 MB / 0.6879 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.7345, allocations: 22.38 kB / 0.6879 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001297/0.7358, allocations: 0.7425 MB / 0.6887 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=108): time 3.226e-06/0.7358, allocations: 0 / 0.6887 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108): time 0.01382/0.7496, allocations: 4.357 MB / 0.6929 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/0.7497, allocations: 116.1 kB / 0.693 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.7513, allocations: 0.7845 MB / 0.6938 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000346/0.7517, allocations: 25.7 kB / 0.6938 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000509/0.7522, allocations: 0.5366 MB / 0.6943 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006376/0.7529, allocations: 366.4 kB / 0.6947 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.7531, allocations: 0 / 0.6947 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.7533, allocations: 353.9 kB / 0.695 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009736/0.7542, allocations: 0.4986 MB / 0.6955 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.7553, allocations: 0.6159 MB / 0.6961 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.7564, allocations: 0.5399 MB / 0.6966 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.7564, allocations: 0 / 0.6966 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01408/0.7705, allocations: 4.417 MB / 0.701 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.144e-05/0.7706, allocations: 63.39 kB / 0.701 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.7706, allocations: 2.5 kB / 0.701 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0064/0.777, allocations: 1.804 MB / 0.7028 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.7783, allocations: 213.6 kB / 0.703 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01785/0.7961, allocations: 7.88 MB / 0.7107 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.7981, allocations: 215 kB / 0.7109 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002602/0.7984, allocations: 43.94 kB / 0.7109 GB, free: 5.035 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.0005076/0.7989, allocations: 151.8 kB / 0.7111 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01381/0.8128, allocations: 4.358 MB / 0.7153 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006107/0.8134, allocations: 134.4 kB / 0.7155 GB, free: 380 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/0.8277, allocations: 4.483 MB / 0.7198 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.8278, allocations: 12 kB / 0.7198 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.8278, allocations: 0 / 0.7198 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-05/0.8278, allocations: 7.969 kB / 0.7199 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/0.8453, allocations: 6.218 MB / 0.7259 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.8454, allocations: 0 / 0.7259 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008915/0.8463, allocations: 139.8 kB / 0.7261 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005904/0.8522, allocations: 1.817 MB / 0.7278 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000244/0.8525, allocations: 11.98 kB / 0.7278 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/0.8702, allocations: 8.422 MB / 0.7361 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.8703, allocations: 1.219 kB / 0.7361 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/0.8867, allocations: 5.339 MB / 0.7413 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005789/0.8873, allocations: 227.1 kB / 0.7415 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004107/0.8878, allocations: 4 kB / 0.7415 GB, free: 5.262 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.8894, allocations: 167.8 kB / 0.7417 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007783/0.8902, allocations: 240.9 kB / 0.7419 GB, free: 4.859 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.8904, allocations: 24 kB / 0.7419 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001039/0.8914, allocations: 0.6026 MB / 0.7425 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8914, allocations: 0 / 0.7425 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001891/0.8933, allocations: 439.3 kB / 0.7429 GB, free: 3.797 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.01559/0.9089, allocations: 5.983 MB / 0.7488 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006192/0.9152, allocations: 2.244 MB / 0.751 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.9152, allocations: 0 / 0.751 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004975/0.9202, allocations: 1.731 MB / 0.7527 GB, free: 9.734 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.9214, allocations: 93.36 kB / 0.7527 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005681/0.9271, allocations: 2.055 MB / 0.7547 GB, free: 7.559 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008281/0.928, allocations: 1.178 MB / 0.7559 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005344/0.9285, allocations: 90.97 kB / 0.756 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006918/0.9292, allocations: 499.2 kB / 0.7565 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of SimCode: time 3.046e-06/0.9292, allocations: 4 kB / 0.7565 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3463/1.276, allocations: 31.91 MB / 0.7876 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/1.276, allocations: 139.2 kB / 0.7878 GB, free: 143.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.119/4.395, allocations: 5.344 kB / 0.7878 GB, free: 143.2 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)