Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.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.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",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.001346/0.001346, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 239.3 MB, free: 4.621 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.001558/0.001558, allocations: 196.4 kB / 289.6 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4904/0.4904, allocations: 91.9 MB / 431.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 83.88 kB / 0.502 GB, free: 7.668 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2999, allocations: 71.25 MB / 0.5716 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.00681/0.3067, allocations: 8.639 MB / 0.58 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004471/0.3112, allocations: 2.688 MB / 0.5826 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009413/0.3122, allocations: 19.41 kB / 0.5827 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006245/0.3128, allocations: 316.5 kB / 0.583 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.3149, allocations: 1.006 MB / 0.5839 GB, free: 28.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.3164, allocations: 0.8517 MB / 0.5848 GB, free: 28.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002034/0.3185, allocations: 2.225 MB / 0.5869 GB, free: 27.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005768/0.3191, allocations: 481.7 kB / 0.5874 GB, free: 26.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.3201, allocations: 0.8828 MB / 0.5883 GB, free: 26.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009973/0.3211, allocations: 1.144 MB / 0.5894 GB, free: 25.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002996/0.3214, allocations: 195.3 kB / 0.5896 GB, free: 25.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008105/0.3222, allocations: 471.6 kB / 0.59 GB, free: 25.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002699/0.3225, allocations: 471.5 kB / 0.5905 GB, free: 25.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000633/0.3232, allocations: 0.9542 MB / 0.5914 GB, free: 24.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.325, allocations: 2.42 MB / 0.5938 GB, free: 23.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.325, allocations: 1.062 kB / 0.5938 GB, free: 23.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.325, allocations: 0 / 0.5938 GB, free: 23.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.843e-05/0.3251, allocations: 0 / 0.5938 GB, free: 23.78 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.01188/0.337, allocations: 3.633 MB / 0.5973 GB, free: 22.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.337, allocations: 10.06 kB / 0.5973 GB, free: 22.24 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002036/0.3372, allocations: 165.1 kB / 0.5975 GB, free: 22.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004627/0.3419, allocations: 0.7591 MB / 0.5982 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.3437, allocations: 1.128 MB / 0.5993 GB, free: 21.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003747/0.3441, allocations: 460.5 kB / 0.5998 GB, free: 20.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/0.3444, allocations: 125.4 kB / 0.5999 GB, free: 20.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002764/0.3471, allocations: 1.472 MB / 0.6013 GB, free: 20.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.3472, allocations: 1.656 kB / 0.6013 GB, free: 20.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.3473, allocations: 40.59 kB / 0.6014 GB, free: 20.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.3473, allocations: 25.41 kB / 0.6014 GB, free: 20.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002803/0.3501, allocations: 1.35 MB / 0.6027 GB, free: 19.66 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.008698/0.3588, allocations: 5.247 MB / 0.6078 GB, free: 16.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007829/0.3667, allocations: 2.946 MB / 0.6107 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.3686, allocations: 0.9247 MB / 0.6116 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003895/0.369, allocations: 0.7347 MB / 0.6123 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002201/0.3712, allocations: 1.071 MB / 0.6134 GB, free: 13.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=131): time 3.577e-06/0.3712, allocations: 4 kB / 0.6134 GB, free: 13.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.03978/0.411, allocations: 9.86 MB / 0.623 GB, free: 9.242 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.4111, allocations: 120.1 kB / 0.6231 GB, free: 9.102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.413, allocations: 1.438 MB / 0.6245 GB, free: 7.652 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002833/0.4133, allocations: 49.7 kB / 0.6246 GB, free: 7.598 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.4137, allocations: 0.6316 MB / 0.6252 GB, free: 6.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004243/0.4141, allocations: 485.2 kB / 0.6256 GB, free: 6.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005648/0.4147, allocations: 367.4 kB / 0.626 GB, free: 6.113 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.4147, allocations: 301.1 kB / 0.6263 GB, free: 5.816 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/0.4166, allocations: 1.003 MB / 0.6273 GB, free: 4.809 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.4186, allocations: 1.227 MB / 0.6285 GB, free: 3.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003681/0.4222, allocations: 2.157 MB / 0.6306 GB, free: 1.309 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.4223, allocations: 0 / 0.6306 GB, free: 1.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01731/0.4396, allocations: 5.508 MB / 0.6359 GB, free: 11.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.4397, allocations: 10.19 kB / 0.636 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/0.4397, allocations: 7.984 kB / 0.636 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009762/0.4495, allocations: 2.675 MB / 0.6386 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.4513, allocations: 343.5 kB / 0.6389 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006362/0.4576, allocations: 2.703 MB / 0.6415 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/0.4604, allocations: 250.2 kB / 0.6418 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/0.4606, allocations: 71.98 kB / 0.6419 GB, free: 5.699 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.000684/0.4613, allocations: 309.5 kB / 0.6421 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004083/0.4618, allocations: 165.8 kB / 0.6423 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01635/0.4781, allocations: 4.946 MB / 0.6471 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/0.4782, allocations: 12 kB / 0.6471 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4782, allocations: 0 / 0.6471 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.809e-05/0.4782, allocations: 7.969 kB / 0.6472 GB, free: 236 kB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01963/0.4979, allocations: 7.101 MB / 0.6541 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.4979, allocations: 4 kB / 0.6541 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009389/0.4989, allocations: 151.8 kB / 0.6542 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007739/0.5066, allocations: 2.197 MB / 0.6564 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002659/0.5069, allocations: 35.92 kB / 0.6564 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02722/0.5341, allocations: 11.8 MB / 0.6679 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5342, allocations: 0 / 0.6679 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01879/0.553, allocations: 6.096 MB / 0.6739 GB, free: 4.383 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006488/0.5537, allocations: 278.7 kB / 0.6742 GB, free: 4.09 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004755/0.5542, allocations: 20 kB / 0.6742 GB, free: 4.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/0.5559, allocations: 127.9 kB / 0.6743 GB, free: 3.945 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008199/0.5567, allocations: 273.3 kB / 0.6746 GB, free: 3.676 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.5569, allocations: 35.98 kB / 0.6746 GB, free: 3.641 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001402/0.5583, allocations: 0.9483 MB / 0.6755 GB, free: 2.695 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5583, allocations: 0 / 0.6755 GB, free: 2.695 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001666/0.56, allocations: 0.5581 MB / 0.6761 GB, free: 2.137 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.TransducerDelay.state) * 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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,3), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01886/0.5788, allocations: 6.708 MB / 0.6826 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009489/0.5883, allocations: 2.982 MB / 0.6855 GB, free: 8.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5884, allocations: 4 kB / 0.6855 GB, free: 8.387 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006253/0.5946, allocations: 2.082 MB / 0.6876 GB, free: 6.277 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.5963, allocations: 152 kB / 0.6877 GB, free: 6.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04512/0.6414, allocations: 20.69 MB / 0.7079 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007731/0.6422, allocations: 1.247 MB / 0.7091 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006094/0.6429, allocations: 142.5 kB / 0.7093 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008516/0.6437, allocations: 0.6438 MB / 0.7099 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.6437, allocations: 4 kB / 0.7099 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07792/0.7217, allocations: 45.1 MB / 0.7539 GB, free: 1.367 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.44, allocations: 3.984 kB / 0.7539 GB, free: 1.363 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)