Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_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_release_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.001877/0.001876, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.6/1.6, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009933/0.000993, allocations: 100.6 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5437/0.5437, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.091e-05/4.092e-05, allocations: 0 / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4471, allocations: 69.35 MB / 0.5481 GB, free: 20.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.5797, allocations: 102.6 MB / 0.6483 GB, free: 13.88 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.58, allocations: 87.95 kB / 0.6484 GB, free: 13.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4599/1.04, allocations: 36.46 MB / 0.684 GB, free: 105.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.054e-06/1.04, allocations: 0 / 0.684 GB, free: 105.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.557e-05/1.04, allocations: 22.91 kB / 0.684 GB, free: 105.1 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.005834/1.046, allocations: 1.961 MB / 0.6859 GB, free: 104.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/1.046, allocations: 13.06 kB / 0.686 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003423/1.046, allocations: 142.8 kB / 0.6861 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003868/1.05, allocations: 0.5787 MB / 0.6867 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/1.053, allocations: 0.8758 MB / 0.6875 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004522/1.053, allocations: 340.9 kB / 0.6878 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003519/1.054, allocations: 98.23 kB / 0.6879 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/1.056, allocations: 1.094 MB / 0.689 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/1.056, allocations: 0 / 0.689 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/1.056, allocations: 38.58 kB / 0.689 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/1.056, allocations: 19.12 kB / 0.6891 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/1.058, allocations: 0.9751 MB / 0.69 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008447/1.067, allocations: 4.23 MB / 0.6941 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/1.069, allocations: 1.562 MB / 0.6957 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009863/1.07, allocations: 0.6681 MB / 0.6963 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/1.07, allocations: 25.56 kB / 0.6963 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/1.072, allocations: 0.7723 MB / 0.6971 GB, free: 100.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=108): time 5.09e-06/1.072, allocations: 3.688 kB / 0.6971 GB, free: 100.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=108): time 0.01351/1.085, allocations: 4.45 MB / 0.7014 GB, free: 99.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/1.085, allocations: 115.3 kB / 0.7016 GB, free: 99.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/1.087, allocations: 0.8485 MB / 0.7024 GB, free: 98.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000351/1.087, allocations: 45.45 kB / 0.7024 GB, free: 98.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/1.088, allocations: 0.5359 MB / 0.7029 GB, free: 98.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005561/1.088, allocations: 388.5 kB / 0.7033 GB, free: 98.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/1.089, allocations: 19.88 kB / 0.7033 GB, free: 98.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/1.089, allocations: 351.7 kB / 0.7037 GB, free: 97.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/1.09, allocations: 0.5164 MB / 0.7042 GB, free: 97.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/1.091, allocations: 0.648 MB / 0.7048 GB, free: 97.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/1.092, allocations: 0.6106 MB / 0.7054 GB, free: 96.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/1.092, allocations: 0 / 0.7054 GB, free: 96.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01409/1.106, allocations: 4.56 MB / 0.7099 GB, free: 95.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.764e-05/1.106, allocations: 63.02 kB / 0.7099 GB, free: 95.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.106, allocations: 0 / 0.7099 GB, free: 95.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006122/1.112, allocations: 1.841 MB / 0.7117 GB, free: 94.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.114, allocations: 216.5 kB / 0.7119 GB, free: 93.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01767/1.131, allocations: 8.091 MB / 0.7198 GB, free: 86.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/1.134, allocations: 237.1 kB / 0.7201 GB, free: 86.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003873/1.134, allocations: 43.52 kB / 0.7201 GB, free: 86.41 MB / 490.7 MB 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.000603/1.135, allocations: 189.9 kB / 0.7203 GB, free: 86.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005434/1.135, allocations: 134.3 kB / 0.7204 GB, free: 86.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/1.149, allocations: 4.611 MB / 0.7249 GB, free: 82.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/1.149, allocations: 12 kB / 0.7249 GB, free: 82.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.149, allocations: 0 / 0.7249 GB, free: 82.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-05/1.149, allocations: 3.984 kB / 0.7249 GB, free: 82.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01671/1.166, allocations: 6.452 MB / 0.7312 GB, free: 75.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/1.166, allocations: 0 / 0.7312 GB, free: 75.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009266/1.167, allocations: 135.9 kB / 0.7314 GB, free: 75.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005696/1.172, allocations: 1.836 MB / 0.7331 GB, free: 73.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004394/1.173, allocations: 27.94 kB / 0.7332 GB, free: 73.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/1.189, allocations: 8.606 MB / 0.7416 GB, free: 64.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.189, allocations: 0 / 0.7416 GB, free: 64.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/1.205, allocations: 5.462 MB / 0.7469 GB, free: 59.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007201/1.206, allocations: 227.2 kB / 0.7471 GB, free: 59.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006377/1.206, allocations: 20 kB / 0.7471 GB, free: 59.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/1.208, allocations: 183.8 kB / 0.7473 GB, free: 58.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009248/1.209, allocations: 236.6 kB / 0.7475 GB, free: 58.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/1.209, allocations: 24 kB / 0.7476 GB, free: 58.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001064/1.21, allocations: 0.6589 MB / 0.7482 GB, free: 58.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.21, allocations: 4 kB / 0.7482 GB, free: 58.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002201/1.213, allocations: 487.3 kB / 0.7487 GB, free: 57.55 MB / 490.7 MB 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.01564/1.228, allocations: 6.117 MB / 0.7547 GB, free: 51.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006591/1.235, allocations: 2.33 MB / 0.7569 GB, free: 49.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.235, allocations: 0 / 0.7569 GB, free: 49.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004759/1.24, allocations: 1.784 MB / 0.7587 GB, free: 47.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/1.241, allocations: 108.9 kB / 0.7588 GB, free: 47.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00574/1.247, allocations: 2.14 MB / 0.7609 GB, free: 44.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/1.248, allocations: 1.174 MB / 0.762 GB, free: 43.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005438/1.248, allocations: 102.4 kB / 0.7621 GB, free: 43.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006231/1.249, allocations: 495.2 kB / 0.7626 GB, free: 43.14 MB / 490.7 MB Notification: Performance of SimCode: time 1.723e-06/1.249, allocations: 0 / 0.7626 GB, free: 43.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05662/1.305, allocations: 34.1 MB / 0.7959 GB, free: 9.535 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/1.306, allocations: 192.3 kB / 0.7961 GB, free: 9.305 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.073/4.379, allocations: 0 / 0.7961 GB, free: 9.305 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)