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.006931/0.006931, allocations: 172.9 kB / 15.12 MB, free: 5.559 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.323/1.323, allocations: 223.2 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008593/0.0008593, allocations: 103 kB / 290.2 MB, free: 4.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5441/0.5441, allocations: 78.59 MB / 419.9 MB, free: 36.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003898, allocations: 8 kB / 499.9 MB, free: 7.172 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1195, allocations: 69.37 MB / 0.5559 GB, free: 1.742 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005899/0.1254, allocations: 6.126 MB / 0.5619 GB, free: 11.59 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.1291, allocations: 2.076 MB / 0.5639 GB, free: 9.504 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000769/0.1299, allocations: 12 kB / 0.5639 GB, free: 9.492 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007023/0.1306, allocations: 190.5 kB / 0.5641 GB, free: 9.305 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.1324, allocations: 0.6995 MB / 0.5648 GB, free: 8.605 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001397/0.1338, allocations: 0.618 MB / 0.5654 GB, free: 7.996 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.1353, allocations: 1.076 MB / 0.5664 GB, free: 6.918 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004598/0.1358, allocations: 328.3 kB / 0.5667 GB, free: 6.578 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008072/0.1366, allocations: 0.603 MB / 0.5673 GB, free: 5.973 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008865/0.1375, allocations: 0.704 MB / 0.568 GB, free: 5.266 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002317/0.1378, allocations: 60 kB / 0.5681 GB, free: 5.207 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005043/0.1383, allocations: 179.8 kB / 0.5682 GB, free: 5.031 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.1385, allocations: 246.9 kB / 0.5685 GB, free: 4.789 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.1388, allocations: 248.9 kB / 0.5687 GB, free: 4.539 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.1399, allocations: 1.286 MB / 0.57 GB, free: 3.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.14, allocations: 0 / 0.57 GB, free: 3.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.14, allocations: 0 / 0.57 GB, free: 3.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.928e-05/0.14, allocations: 0 / 0.57 GB, free: 3.25 MB / 442.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.008752/0.1488, allocations: 2.661 MB / 0.5726 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1488, allocations: 12.03 kB / 0.5726 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002322/0.1491, allocations: 143.3 kB / 0.5727 GB, free: 368 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2425/0.3916, allocations: 0.8011 MB / 0.5735 GB, free: 44.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/0.3935, allocations: 0.8737 MB / 0.5744 GB, free: 44.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003971/0.3939, allocations: 342.2 kB / 0.5747 GB, free: 43.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000269/0.3942, allocations: 91.62 kB / 0.5748 GB, free: 43.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.397, allocations: 1.352 MB / 0.5761 GB, free: 43.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.397, allocations: 2.5 kB / 0.5761 GB, free: 43.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.3971, allocations: 37.53 kB / 0.5761 GB, free: 43.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.3972, allocations: 24.36 kB / 0.5761 GB, free: 43.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/0.4, allocations: 1.286 MB / 0.5774 GB, free: 43.75 MB / 442.7 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.006346/0.4063, allocations: 4.363 MB / 0.5817 GB, free: 42.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003303/0.4096, allocations: 1.874 MB / 0.5835 GB, free: 41.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.16e-05/0.4097, allocations: 14.53 kB / 0.5835 GB, free: 41.81 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001933/0.4117, allocations: 1.041 MB / 0.5845 GB, free: 41.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 2.886e-06/0.4117, allocations: 0 / 0.5845 GB, free: 41.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.03398/0.4457, allocations: 9.419 MB / 0.5937 GB, free: 40.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.4457, allocations: 121.5 kB / 0.5938 GB, free: 40.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.4471, allocations: 1.027 MB / 0.5948 GB, free: 40.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.4473, allocations: 48.83 kB / 0.5949 GB, free: 40.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.4475, allocations: 0.5254 MB / 0.5954 GB, free: 39.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.4479, allocations: 393.4 kB / 0.5958 GB, free: 39.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.448, allocations: 23.44 kB / 0.5958 GB, free: 39.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.4481, allocations: 364.8 kB / 0.5961 GB, free: 39.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.4497, allocations: 0.8566 MB / 0.597 GB, free: 38.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.4514, allocations: 1.012 MB / 0.598 GB, free: 38.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.4531, allocations: 0.9719 MB / 0.5989 GB, free: 38.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.4532, allocations: 3.281 kB / 0.5989 GB, free: 38.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01414/0.4673, allocations: 5.412 MB / 0.6042 GB, free: 36.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/0.4674, allocations: 60.86 kB / 0.6043 GB, free: 36.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4674, allocations: 7.375 kB / 0.6043 GB, free: 36.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006547/0.474, allocations: 2.157 MB / 0.6064 GB, free: 36.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.4754, allocations: 279.1 kB / 0.6066 GB, free: 36.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0219/0.4973, allocations: 10.18 MB / 0.6166 GB, free: 32.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.4991, allocations: 251.9 kB / 0.6168 GB, free: 31.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/0.4993, allocations: 53.06 kB / 0.6169 GB, free: 31.95 MB / 442.7 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.0006173/0.5, allocations: 299.1 kB / 0.6172 GB, free: 31.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.5002, allocations: 130.1 kB / 0.6173 GB, free: 31.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01753/0.5178, allocations: 5.331 MB / 0.6225 GB, free: 30.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-05/0.5178, allocations: 11.91 kB / 0.6225 GB, free: 30.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.5179, allocations: 3.953 kB / 0.6225 GB, free: 30.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.038e-05/0.5179, allocations: 6.094 kB / 0.6225 GB, free: 30.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01913/0.5371, allocations: 7.24 MB / 0.6296 GB, free: 28.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.5371, allocations: 7.828 kB / 0.6296 GB, free: 28.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000757/0.5379, allocations: 136.4 kB / 0.6297 GB, free: 28.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006504/0.5444, allocations: 2.212 MB / 0.6319 GB, free: 26.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002442/0.5447, allocations: 19.98 kB / 0.6319 GB, free: 26.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02244/0.5671, allocations: 11.15 MB / 0.6428 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5672, allocations: 3.938 kB / 0.6428 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0169/0.5841, allocations: 6.428 MB / 0.6491 GB, free: 8.496 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/0.5845, allocations: 223.2 kB / 0.6493 GB, free: 8.258 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.5848, allocations: 24 kB / 0.6493 GB, free: 8.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.5862, allocations: 183.8 kB / 0.6495 GB, free: 8.055 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006194/0.5869, allocations: 236.6 kB / 0.6497 GB, free: 7.824 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.784e-05/0.587, allocations: 25.91 kB / 0.6497 GB, free: 7.801 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009163/0.5879, allocations: 0.6972 MB / 0.6504 GB, free: 7.098 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5879, allocations: 0 / 0.6504 GB, free: 7.098 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00134/0.5892, allocations: 497.2 kB / 0.6509 GB, free: 6.613 MB / 442.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 () * 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.01676/0.606, allocations: 7.075 MB / 0.6578 GB, free: 15.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00791/0.6139, allocations: 3.033 MB / 0.6608 GB, free: 12.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.614, allocations: 4 kB / 0.6608 GB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005744/0.6197, allocations: 2.063 MB / 0.6628 GB, free: 10.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009668/0.6207, allocations: 107 kB / 0.6629 GB, free: 10.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006784/0.6275, allocations: 5.182 MB / 0.6679 GB, free: 4.992 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/0.6283, allocations: 1.183 MB / 0.6691 GB, free: 3.781 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005013/0.6288, allocations: 115.7 kB / 0.6692 GB, free: 3.668 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006546/0.6295, allocations: 495.3 kB / 0.6697 GB, free: 3.188 MB / 458.7 MB Notification: Performance of SimCode: time 7.92e-07/0.6295, allocations: 0 / 0.6697 GB, free: 3.188 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05853/0.688, allocations: 34.08 MB / 0.703 GB, free: 1.473 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/0.6882, allocations: 218.8 kB / 0.7032 GB, free: 1.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/3.526, allocations: 0 / 0.7032 GB, free: 1.23 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)