Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_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_dev_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.001467/0.001467, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.404/1.404, allocations: 222.9 MB / 239 MB, free: 4.715 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.001423/0.001424, allocations: 200.4 kB / 289.3 MB, free: 2.449 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.508/0.508, allocations: 91.89 MB / 431.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 75.88 kB / 0.5015 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3287, allocations: 71.26 MB / 0.5711 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.006731/0.3354, allocations: 7.371 MB / 0.5783 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.3397, allocations: 2.158 MB / 0.5804 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.3409, allocations: 17.44 kB / 0.5804 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.342, allocations: 202.9 kB / 0.5806 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.3443, allocations: 0.6683 MB / 0.5813 GB, free: 30.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.346, allocations: 0.7028 MB / 0.5819 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001957/0.348, allocations: 1.722 MB / 0.5836 GB, free: 29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005542/0.3485, allocations: 399.7 kB / 0.584 GB, free: 28.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009036/0.3494, allocations: 0.7099 MB / 0.5847 GB, free: 28.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008136/0.3503, allocations: 0.8434 MB / 0.5855 GB, free: 28.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.3505, allocations: 134.7 kB / 0.5857 GB, free: 28.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005034/0.351, allocations: 265.8 kB / 0.5859 GB, free: 27.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.3512, allocations: 343 kB / 0.5862 GB, free: 27.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005372/0.3518, allocations: 0.7272 MB / 0.5869 GB, free: 27.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.3534, allocations: 1.783 MB / 0.5887 GB, free: 26.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3534, allocations: 5.125 kB / 0.5887 GB, free: 26.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3534, allocations: 3.938 kB / 0.5887 GB, free: 26.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.751e-05/0.3534, allocations: 0 / 0.5887 GB, free: 26.45 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.009185/0.3626, allocations: 2.844 MB / 0.5915 GB, free: 25.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.3627, allocations: 12.67 kB / 0.5915 GB, free: 25.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/0.3629, allocations: 141.3 kB / 0.5916 GB, free: 25.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00525/0.3681, allocations: 0.7943 MB / 0.5924 GB, free: 24.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.3699, allocations: 0.9216 MB / 0.5933 GB, free: 24.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003828/0.3703, allocations: 332.9 kB / 0.5936 GB, free: 23.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003228/0.3707, allocations: 95.41 kB / 0.5937 GB, free: 23.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.3739, allocations: 1.285 MB / 0.595 GB, free: 23.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.3739, allocations: 0 / 0.595 GB, free: 23.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/0.3741, allocations: 31.78 kB / 0.595 GB, free: 23.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/0.3742, allocations: 20.72 kB / 0.595 GB, free: 23.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00309/0.3773, allocations: 1.205 MB / 0.5962 GB, free: 23.01 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.008867/0.3862, allocations: 4.224 MB / 0.6003 GB, free: 20.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003545/0.3897, allocations: 1.765 MB / 0.602 GB, free: 19.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.3917, allocations: 0.8524 MB / 0.6029 GB, free: 19.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.3919, allocations: 22.56 kB / 0.6029 GB, free: 19.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002346/0.3942, allocations: 0.9547 MB / 0.6038 GB, free: 18.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 6.542e-06/0.3943, allocations: 4 kB / 0.6038 GB, free: 18.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03535/0.4296, allocations: 7.754 MB / 0.6114 GB, free: 17.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.4297, allocations: 115.2 kB / 0.6115 GB, free: 17.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.4319, allocations: 1.04 MB / 0.6125 GB, free: 16.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000332/0.4323, allocations: 51.22 kB / 0.6126 GB, free: 16.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/0.4327, allocations: 0.5235 MB / 0.6131 GB, free: 16.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005828/0.4333, allocations: 387.8 kB / 0.6135 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008608/0.4341, allocations: 244.6 kB / 0.6137 GB, free: 15.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.4343, allocations: 358.5 kB / 0.614 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/0.4362, allocations: 0.7879 MB / 0.6148 GB, free: 15.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/0.4382, allocations: 0.9488 MB / 0.6157 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02295/0.4612, allocations: 5.498 MB / 0.6211 GB, free: 10.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.4612, allocations: 4 kB / 0.6211 GB, free: 10.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01389/0.4751, allocations: 4.463 MB / 0.6255 GB, free: 6.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.863e-05/0.4752, allocations: 59.41 kB / 0.6255 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.4752, allocations: 0 / 0.6255 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00572/0.481, allocations: 1.741 MB / 0.6272 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.4825, allocations: 275.6 kB / 0.6275 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02097/0.5035, allocations: 9.067 MB / 0.6363 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/0.5057, allocations: 202.8 kB / 0.6365 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00031/0.506, allocations: 51.98 kB / 0.6366 GB, free: 10.88 MB / 446.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.0009348/0.507, allocations: 295.7 kB / 0.6369 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004969/0.5075, allocations: 142.3 kB / 0.637 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01573/0.5232, allocations: 4.401 MB / 0.6413 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.5233, allocations: 12 kB / 0.6413 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5233, allocations: 0 / 0.6413 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.191e-05/0.5234, allocations: 7.922 kB / 0.6413 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/0.5427, allocations: 6.267 MB / 0.6474 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.5428, allocations: 0 / 0.6474 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008655/0.5437, allocations: 127.8 kB / 0.6476 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007005/0.5507, allocations: 1.907 MB / 0.6494 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003008/0.551, allocations: 24 kB / 0.6494 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02572/0.5768, allocations: 10.73 MB / 0.6599 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5768, allocations: 0 / 0.6599 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01868/0.5955, allocations: 5.431 MB / 0.6652 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/0.5961, allocations: 223.2 kB / 0.6654 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005132/0.5966, allocations: 28 kB / 0.6655 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/0.5984, allocations: 135.8 kB / 0.6656 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009314/0.5993, allocations: 240.6 kB / 0.6658 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002036/0.5995, allocations: 28 kB / 0.6658 GB, free: 12.37 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001302/0.6009, allocations: 0.7006 MB / 0.6665 GB, free: 11.66 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.6009, allocations: 192 / 0.6665 GB, free: 11.66 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001985/0.6029, allocations: 483.4 kB / 0.667 GB, free: 11.19 MB / 478.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.0185/0.6214, allocations: 6.011 MB / 0.6729 GB, free: 5.133 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008449/0.6299, allocations: 2.773 MB / 0.6756 GB, free: 2.324 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6299, allocations: 0 / 0.6756 GB, free: 2.324 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005863/0.6358, allocations: 1.884 MB / 0.6774 GB, free: 404 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.6375, allocations: 131.2 kB / 0.6775 GB, free: 272 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04781/0.6853, allocations: 18.16 MB / 0.6953 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008873/0.6863, allocations: 1.151 MB / 0.6964 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006806/0.687, allocations: 120.3 kB / 0.6965 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000783/0.6878, allocations: 499.3 kB / 0.697 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.6878, allocations: 0 / 0.697 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06734/0.7551, allocations: 37 MB / 0.7331 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.7554, allocations: 237 kB / 0.7333 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.805/3.561, allocations: 7.938 kB / 0.7333 GB, free: 6.801 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)