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.0007315/0.0007315, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.179/1.179, allocations: 223.2 MB / 239.3 MB, free: 5.426 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.0009366/0.0009365, allocations: 180.5 kB / 290.6 MB, free: 2.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3924/0.3924, allocations: 78.55 MB / 420.3 MB, free: 4.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003232, allocations: 8 kB / 0.4888 GB, free: 5.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1076, allocations: 69.36 MB / 0.5565 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.178/0.2856, allocations: 6.853 MB / 0.5632 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003308/0.2889, allocations: 2.145 MB / 0.5653 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008504/0.2898, allocations: 15.97 kB / 0.5653 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006477/0.2905, allocations: 194.5 kB / 0.5655 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.2921, allocations: 0.6756 MB / 0.5661 GB, free: 34.58 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.001201/0.2933, allocations: 0.6992 MB / 0.5668 GB, free: 34.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.2943, allocations: 1.625 MB / 0.5684 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.2947, allocations: 357.4 kB / 0.5688 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004687/0.2952, allocations: 0.6061 MB / 0.5693 GB, free: 33.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005719/0.2957, allocations: 0.7514 MB / 0.5701 GB, free: 33.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.2959, allocations: 59.59 kB / 0.5701 GB, free: 33.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.2962, allocations: 189.1 kB / 0.5703 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.2964, allocations: 271.9 kB / 0.5706 GB, free: 33.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.2967, allocations: 0.657 MB / 0.5712 GB, free: 33.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009024/0.2976, allocations: 1.696 MB / 0.5729 GB, free: 32.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.2977, allocations: 0 / 0.5729 GB, free: 32.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2977, allocations: 0 / 0.5729 GB, free: 32.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.2977, allocations: 0 / 0.5729 GB, free: 32.84 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.006987/0.3047, allocations: 2.636 MB / 0.5755 GB, free: 31.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.3047, allocations: 14.78 kB / 0.5755 GB, free: 31.88 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.3049, allocations: 144.2 kB / 0.5756 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004375/0.3092, allocations: 0.8067 MB / 0.5764 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.3103, allocations: 0.9215 MB / 0.5773 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/0.3106, allocations: 342.8 kB / 0.5776 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.3107, allocations: 96.69 kB / 0.5777 GB, free: 31.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.313, allocations: 1.362 MB / 0.579 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.313, allocations: 0 / 0.579 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.981e-05/0.3131, allocations: 39.06 kB / 0.5791 GB, free: 30.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.3132, allocations: 27.03 kB / 0.5791 GB, free: 30.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.3155, allocations: 1.283 MB / 0.5804 GB, free: 30.89 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.005268/0.3207, allocations: 4.271 MB / 0.5845 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.3237, allocations: 1.874 MB / 0.5864 GB, free: 27.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.3253, allocations: 0.9395 MB / 0.5873 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.023e-05/0.3254, allocations: 20.23 kB / 0.5873 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001809/0.3273, allocations: 1.038 MB / 0.5883 GB, free: 27.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 2.856e-06/0.3273, allocations: 5.438 kB / 0.5883 GB, free: 27.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03256/0.3598, allocations: 9.475 MB / 0.5976 GB, free: 25.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3599, allocations: 116.9 kB / 0.5977 GB, free: 25.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.3612, allocations: 1.036 MB / 0.5987 GB, free: 24.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.194e-05/0.3613, allocations: 50.66 kB / 0.5987 GB, free: 24.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.3615, allocations: 0.5233 MB / 0.5992 GB, free: 24.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.3618, allocations: 392.8 kB / 0.5996 GB, free: 23.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.362, allocations: 125.9 kB / 0.5997 GB, free: 23.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.227e-05/0.3621, allocations: 355.5 kB / 0.6001 GB, free: 23.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.3638, allocations: 0.8708 MB / 0.6009 GB, free: 23.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.3655, allocations: 1.023 MB / 0.6019 GB, free: 22.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02111/0.3867, allocations: 6.02 MB / 0.6078 GB, free: 21.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.3867, allocations: 1.656 kB / 0.6078 GB, free: 21.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01421/0.4009, allocations: 5.377 MB / 0.6131 GB, free: 19.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.4009, allocations: 63.39 kB / 0.6131 GB, free: 19.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4009, allocations: 4 kB / 0.6131 GB, free: 19.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005478/0.4064, allocations: 2.04 MB / 0.6151 GB, free: 17.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.4076, allocations: 296.5 kB / 0.6154 GB, free: 17.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01748/0.4251, allocations: 9.314 MB / 0.6245 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.4265, allocations: 246.8 kB / 0.6247 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.073e-05/0.4266, allocations: 55.98 kB / 0.6248 GB, free: 7.355 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 generator.delta:VARIABLE(flow=false start = generator.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real generator.e1q:VARIABLE(start = generator.e1q0 unit = "1" fixed = true ) "q-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 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004416/0.427, allocations: 296.8 kB / 0.6251 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.4272, allocations: 130.4 kB / 0.6252 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/0.4412, allocations: 5.334 MB / 0.6304 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.4413, allocations: 16.78 kB / 0.6304 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.4413, allocations: 0 / 0.6304 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.4413, allocations: 3.984 kB / 0.6304 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/0.4582, allocations: 7.208 MB / 0.6375 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4582, allocations: 0 / 0.6375 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/0.4588, allocations: 139.8 kB / 0.6376 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006477/0.4653, allocations: 2.218 MB / 0.6398 GB, free: 7.844 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.443e-05/0.4654, allocations: 23.98 kB / 0.6398 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02188/0.4873, allocations: 10.65 MB / 0.6502 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4873, allocations: 5.672 kB / 0.6502 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01736/0.5047, allocations: 6.443 MB / 0.6565 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.5049, allocations: 227.2 kB / 0.6567 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.505, allocations: 20 kB / 0.6567 GB, free: 6.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.5063, allocations: 186.3 kB / 0.6569 GB, free: 5.965 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005539/0.5069, allocations: 224.6 kB / 0.6571 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.878e-05/0.507, allocations: 31.98 kB / 0.6571 GB, free: 5.715 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008926/0.5079, allocations: 0.7045 MB / 0.6578 GB, free: 5.004 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5079, allocations: 0 / 0.6578 GB, free: 5.004 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001102/0.509, allocations: 487.4 kB / 0.6583 GB, free: 4.527 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01754/0.5265, allocations: 7.002 MB / 0.6651 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006823/0.5334, allocations: 3.005 MB / 0.6681 GB, free: 10.45 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5334, allocations: 4.062 kB / 0.6681 GB, free: 10.44 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005094/0.5385, allocations: 2.067 MB / 0.6701 GB, free: 8.328 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008122/0.5393, allocations: 129.6 kB / 0.6702 GB, free: 8.199 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04082/0.5801, allocations: 20.19 MB / 0.6899 GB, free: 3.605 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.5808, allocations: 1.153 MB / 0.6911 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003729/0.5812, allocations: 118.1 kB / 0.6912 GB, free: 2.309 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005818/0.5817, allocations: 499.3 kB / 0.6916 GB, free: 1.824 MB / 494.1 MB Notification: Performance of SimCode: time 1.483e-06/0.5818, allocations: 0 / 0.6916 GB, free: 1.824 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04754/0.6293, allocations: 34.82 MB / 0.7256 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.6295, allocations: 223.8 kB / 0.7259 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/2.946, allocations: 0 / 0.7259 GB, free: 15.11 MB / 0.5294 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/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)