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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009174/0.0009175, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.2 MB / 238.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 181 kB / 290.2 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4596/0.4596, allocations: 78.53 MB / 419.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003775, allocations: 8 kB / 499.7 MB, free: 6.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1266, allocations: 69.36 MB / 0.5558 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.2292/0.3558, allocations: 6.119 MB / 0.5617 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00464/0.3605, allocations: 2.089 MB / 0.5638 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009005/0.3614, allocations: 18.16 kB / 0.5638 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006403/0.3621, allocations: 180.6 kB / 0.564 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.3638, allocations: 0.6976 MB / 0.5647 GB, free: 36.81 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.3652, allocations: 0.6116 MB / 0.5653 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.3667, allocations: 1.072 MB / 0.5663 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004769/0.3672, allocations: 326.1 kB / 0.5666 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007743/0.3679, allocations: 0.6008 MB / 0.5672 GB, free: 36.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006813/0.3686, allocations: 0.7078 MB / 0.5679 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.3688, allocations: 60.28 kB / 0.5679 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004004/0.3692, allocations: 172.4 kB / 0.5681 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.3694, allocations: 251.5 kB / 0.5684 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.3696, allocations: 248 kB / 0.5686 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000999/0.3706, allocations: 1.297 MB / 0.5699 GB, free: 35.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.3706, allocations: 0.7188 kB / 0.5699 GB, free: 35.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3706, allocations: 0 / 0.5699 GB, free: 35.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.3707, allocations: 0.75 kB / 0.5699 GB, free: 35.76 MB / 430.1 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.008292/0.379, allocations: 2.664 MB / 0.5725 GB, free: 34.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.379, allocations: 8.75 kB / 0.5725 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003426/0.3794, allocations: 143.4 kB / 0.5726 GB, free: 34.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00508/0.3844, allocations: 0.8022 MB / 0.5734 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.386, allocations: 0.8843 MB / 0.5743 GB, free: 34.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/0.3864, allocations: 341.9 kB / 0.5746 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.3865, allocations: 91.89 kB / 0.5747 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.389, allocations: 1.355 MB / 0.576 GB, free: 33.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.3891, allocations: 2.625 kB / 0.576 GB, free: 33.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3892, allocations: 35.88 kB / 0.576 GB, free: 33.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.3892, allocations: 24.95 kB / 0.576 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.3917, allocations: 1.281 MB / 0.5773 GB, free: 32.84 MB / 430.1 MB 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.006304/0.398, allocations: 4.361 MB / 0.5816 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/0.401, allocations: 1.881 MB / 0.5834 GB, free: 29.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.557e-05/0.4011, allocations: 15.45 kB / 0.5834 GB, free: 29.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001868/0.403, allocations: 1.036 MB / 0.5844 GB, free: 28.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.316e-06/0.403, allocations: 0 / 0.5844 GB, free: 28.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03573/0.4388, allocations: 9.418 MB / 0.5936 GB, free: 27.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/0.4389, allocations: 116.1 kB / 0.5937 GB, free: 27.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.4411, allocations: 1.031 MB / 0.5947 GB, free: 26.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004338/0.4415, allocations: 42.39 kB / 0.5948 GB, free: 26.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/0.442, allocations: 0.5303 MB / 0.5953 GB, free: 26.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004812/0.4425, allocations: 389.2 kB / 0.5957 GB, free: 25.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.4426, allocations: 25.5 kB / 0.5957 GB, free: 25.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4427, allocations: 363.2 kB / 0.596 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/0.4448, allocations: 0.86 MB / 0.5969 GB, free: 25.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/0.4469, allocations: 1.01 MB / 0.5979 GB, free: 24.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.449, allocations: 0.977 MB / 0.5988 GB, free: 24.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.449, allocations: 1 kB / 0.5988 GB, free: 24.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01579/0.4648, allocations: 5.411 MB / 0.6041 GB, free: 23.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.815e-05/0.4649, allocations: 60.12 kB / 0.6042 GB, free: 23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.4649, allocations: 2.734 kB / 0.6042 GB, free: 23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007638/0.4726, allocations: 2.16 MB / 0.6063 GB, free: 22.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.4742, allocations: 282.1 kB / 0.6065 GB, free: 22.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02221/0.4964, allocations: 10.19 MB / 0.6165 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.4983, allocations: 250.8 kB / 0.6167 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.4985, allocations: 51.97 kB / 0.6168 GB, free: 15.23 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(flow=false start = exciter_Type_II.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * 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 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005865/0.499, allocations: 306.9 kB / 0.6171 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.4992, allocations: 126.4 kB / 0.6172 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01452/0.5138, allocations: 5.326 MB / 0.6224 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.5138, allocations: 12 kB / 0.6224 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5138, allocations: 4.562 kB / 0.6224 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.171e-05/0.5139, allocations: 11.92 kB / 0.6224 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/0.5306, allocations: 7.243 MB / 0.6295 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.5307, allocations: 1.062 kB / 0.6295 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008234/0.5315, allocations: 135.8 kB / 0.6296 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006472/0.538, allocations: 2.21 MB / 0.6318 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002523/0.5383, allocations: 33.61 kB / 0.6318 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02516/0.5634, allocations: 11.14 MB / 0.6427 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5635, allocations: 0 / 0.6427 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01961/0.5831, allocations: 6.427 MB / 0.649 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006651/0.5838, allocations: 232.5 kB / 0.6492 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/0.5841, allocations: 16 kB / 0.6492 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/0.5856, allocations: 187.8 kB / 0.6494 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007477/0.5864, allocations: 236.6 kB / 0.6496 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/0.5865, allocations: 28 kB / 0.6496 GB, free: 13.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001116/0.5877, allocations: 0.6928 MB / 0.6503 GB, free: 12.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5877, allocations: 4 kB / 0.6503 GB, free: 12.35 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001809/0.5895, allocations: 495.4 kB / 0.6508 GB, free: 11.87 MB / 462.1 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 () * Number of clocked 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.01948/0.609, allocations: 7.069 MB / 0.6577 GB, free: 4.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008277/0.6173, allocations: 3.033 MB / 0.6607 GB, free: 1.688 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.6174, allocations: 0 / 0.6607 GB, free: 1.688 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005816/0.6232, allocations: 2.067 MB / 0.6627 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000992/0.6242, allocations: 105.3 kB / 0.6628 GB, free: 15.47 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006675/0.6309, allocations: 5.182 MB / 0.6678 GB, free: 10.23 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007572/0.6317, allocations: 1.179 MB / 0.669 GB, free: 9.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004673/0.6322, allocations: 119.7 kB / 0.6691 GB, free: 8.902 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006332/0.6328, allocations: 495.3 kB / 0.6696 GB, free: 8.418 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6328, allocations: 0 / 0.6696 GB, free: 8.418 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.104/0.7368, allocations: 34.06 MB / 0.7028 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.737, allocations: 210 kB / 0.703 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.683/3.42, allocations: 1 kB / 0.703 GB, free: 6.477 MB / 0.4981 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) Environment - environmentSimulation: