Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08484/0.08484, allocations: 12.21 MB / 27.48 MB, free: 0.9219 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008335/0.0008337, allocations: 103.5 kB / 31 MB, free: 4.527 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.4 MB / 239.8 MB, free: 13.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009848/0.0009849, allocations: 180.5 kB / 291 MB, free: 13.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4225/0.4225, allocations: 78.52 MB / 420.5 MB, free: 12.12 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000858/0.000858, allocations: 32.75 kB / 0.4902 GB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2794, allocations: 69.22 MB / 0.5578 GB, free: 20.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.005825/0.2852, allocations: 8.472 MB / 0.5661 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004696/0.29, allocations: 2.689 MB / 0.5687 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.2913, allocations: 12 kB / 0.5687 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000675/0.292, allocations: 254.3 kB / 0.569 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00265/0.2947, allocations: 1.068 MB / 0.57 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.2961, allocations: 0.6903 MB / 0.5707 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002153/0.2983, allocations: 2.248 MB / 0.5729 GB, free: 5.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005249/0.2988, allocations: 433.2 kB / 0.5733 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000848/0.2997, allocations: 0.7698 MB / 0.5741 GB, free: 4.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008222/0.3005, allocations: 1.042 MB / 0.5751 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.3007, allocations: 92 kB / 0.5752 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006796/0.3014, allocations: 355.6 kB / 0.5755 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.3016, allocations: 374.1 kB / 0.5759 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005385/0.3021, allocations: 0.8597 MB / 0.5767 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.3039, allocations: 2.312 MB / 0.579 GB, free: 15.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3039, allocations: 0 / 0.579 GB, free: 15.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3039, allocations: 0 / 0.579 GB, free: 15.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.499e-05/0.3039, allocations: 0 / 0.579 GB, free: 15.2 MB / 398.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.01353/0.3175, allocations: 3.681 MB / 0.5825 GB, free: 11.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/0.3175, allocations: 15.98 kB / 0.5826 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004773/0.318, allocations: 164.4 kB / 0.5827 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004886/0.3229, allocations: 0.7665 MB / 0.5835 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.3251, allocations: 1.129 MB / 0.5846 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005034/0.3256, allocations: 474.2 kB / 0.585 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/0.3259, allocations: 123.9 kB / 0.5851 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/0.329, allocations: 1.55 MB / 0.5867 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.3291, allocations: 0 / 0.5867 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.3292, allocations: 44 kB / 0.5867 GB, free: 7.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.3293, allocations: 24 kB / 0.5867 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/0.3323, allocations: 1.448 MB / 0.5881 GB, free: 5.559 MB / 398.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.009488/0.3418, allocations: 5.326 MB / 0.5933 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009256/0.3511, allocations: 3.508 MB / 0.5968 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/0.3536, allocations: 1.01 MB / 0.5977 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006598/0.3543, allocations: 0.7414 MB / 0.5985 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002789/0.3571, allocations: 1.149 MB / 0.5996 GB, free: 9.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=131): time 3.646e-06/0.3571, allocations: 0 / 0.5996 GB, free: 9.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=131): time 0.04539/0.4025, allocations: 11.89 MB / 0.6112 GB, free: 13.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/0.4026, allocations: 128 kB / 0.6113 GB, free: 13.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.4049, allocations: 1.426 MB / 0.6127 GB, free: 11.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004336/0.4054, allocations: 53.7 kB / 0.6128 GB, free: 11.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005666/0.406, allocations: 0.6433 MB / 0.6134 GB, free: 11.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005918/0.4066, allocations: 477.1 kB / 0.6139 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/0.4069, allocations: 189.6 kB / 0.614 GB, free: 10.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.407, allocations: 301.1 kB / 0.6143 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002408/0.4094, allocations: 1.093 MB / 0.6154 GB, free: 8.961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/0.412, allocations: 1.301 MB / 0.6167 GB, free: 7.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004898/0.4169, allocations: 2.317 MB / 0.6189 GB, free: 5.223 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.417, allocations: 0 / 0.6189 GB, free: 5.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.02/0.437, allocations: 6.559 MB / 0.6253 GB, free: 14.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.437, allocations: 8 kB / 0.6253 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-05/0.4371, allocations: 4 kB / 0.6253 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01075/0.4478, allocations: 3.058 MB / 0.6283 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.4497, allocations: 339.5 kB / 0.6286 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007039/0.4567, allocations: 3.023 MB / 0.6316 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/0.4594, allocations: 294.2 kB / 0.6319 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002397/0.4596, allocations: 71.98 kB / 0.6319 GB, free: 7.824 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.0007146/0.4604, allocations: 305.5 kB / 0.6322 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003501/0.4607, allocations: 173.8 kB / 0.6324 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01864/0.4794, allocations: 5.997 MB / 0.6383 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/0.4795, allocations: 12 kB / 0.6383 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.4795, allocations: 0 / 0.6383 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.407e-05/0.4795, allocations: 11.97 kB / 0.6383 GB, free: 1.301 MB / 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.02231/0.5018, allocations: 8.148 MB / 0.6462 GB, free: 9.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-05/0.5019, allocations: 4 kB / 0.6462 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009436/0.5028, allocations: 151.8 kB / 0.6464 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008518/0.5114, allocations: 2.564 MB / 0.6489 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002742/0.5117, allocations: 39.92 kB / 0.6489 GB, free: 6.254 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02801/0.5397, allocations: 11.95 MB / 0.6606 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5397, allocations: 0 / 0.6606 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02129/0.561, allocations: 7.229 MB / 0.6677 GB, free: 2.758 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006653/0.5617, allocations: 286.6 kB / 0.6679 GB, free: 2.457 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002846/0.562, allocations: 20 kB / 0.668 GB, free: 2.438 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/0.5636, allocations: 175.9 kB / 0.6681 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008266/0.5645, allocations: 265.2 kB / 0.6684 GB, free: 2.008 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.5646, allocations: 39.98 kB / 0.6684 GB, free: 1.969 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001296/0.5659, allocations: 0.9483 MB / 0.6693 GB, free: 1.023 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5659, allocations: 0 / 0.6693 GB, free: 1.023 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001526/0.5674, allocations: 0.5581 MB / 0.6699 GB, free: 476 kB / 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.02152/0.589, allocations: 7.852 MB / 0.6776 GB, free: 8.566 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009931/0.5989, allocations: 3.284 MB / 0.6808 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.599, allocations: 0 / 0.6808 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007257/0.6062, allocations: 2.326 MB / 0.683 GB, free: 2.918 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.6085, allocations: 152.8 kB / 0.6832 GB, free: 2.773 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2791/0.8877, allocations: 22.86 MB / 0.7055 GB, free: 111.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/0.8884, allocations: 1.253 MB / 0.7067 GB, free: 110.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007303/0.8891, allocations: 141.6 kB / 0.7069 GB, free: 110 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006948/0.8898, allocations: 0.632 MB / 0.7075 GB, free: 109.4 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.8898, allocations: 0 / 0.7075 GB, free: 109.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05588/0.9457, allocations: 41.19 MB / 0.7477 GB, free: 68.5 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/0.9459, allocations: 213.7 kB / 0.7479 GB, free: 68.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.048/3.994, allocations: 0 / 0.7479 GB, free: 68.25 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)