Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07704/0.07704, allocations: 12.59 MB / 28.22 MB, free: 0.7734 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.001168/0.001168, allocations: 111.4 kB / 31.84 MB, free: 3.906 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.251/1.251, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.00137/0.001371, allocations: 184.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3985/0.3985, allocations: 78.51 MB / 419.3 MB, free: 11.28 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.003656/0.003656, allocations: 143.2 kB / 0.5554 GB, free: 28.81 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1065, allocations: 68.14 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.009355/0.1159, allocations: 8.779 MB / 0.6305 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004859/0.1208, allocations: 2.747 MB / 0.6332 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006145/0.1214, allocations: 16 kB / 0.6332 GB, free: 4.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008011/0.1222, allocations: 333.1 kB / 0.6335 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.1249, allocations: 1.239 MB / 0.6347 GB, free: 2.754 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.1265, allocations: 0.7932 MB / 0.6355 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002616/0.1291, allocations: 2.513 MB / 0.638 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006658/0.1298, allocations: 482 kB / 0.6384 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.1309, allocations: 0.9532 MB / 0.6394 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.1323, allocations: 1.202 MB / 0.6405 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002727/0.1326, allocations: 200 kB / 0.6407 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007716/0.1333, allocations: 475.6 kB / 0.6412 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000445/0.1338, allocations: 498.1 kB / 0.6416 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008711/0.1347, allocations: 0.9789 MB / 0.6426 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.1374, allocations: 2.564 MB / 0.6451 GB, free: 8.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1374, allocations: 3.938 kB / 0.6451 GB, free: 8.066 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1374, allocations: 0 / 0.6451 GB, free: 8.066 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.741e-05/0.1375, allocations: 0 / 0.6451 GB, free: 8.066 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.01376/0.1512, allocations: 4.08 MB / 0.6491 GB, free: 3.926 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1513, allocations: 15.92 kB / 0.6491 GB, free: 3.91 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002145/0.1515, allocations: 168.5 kB / 0.6493 GB, free: 3.738 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004458/0.156, allocations: 0.7715 MB / 0.65 GB, free: 2.965 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.158, allocations: 1.213 MB / 0.6512 GB, free: 1.703 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005047/0.1585, allocations: 454.4 kB / 0.6516 GB, free: 1.184 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/0.1588, allocations: 131.9 kB / 0.6518 GB, free: 1.055 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/0.1618, allocations: 1.492 MB / 0.6532 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.1618, allocations: 0 / 0.6532 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.162, allocations: 40 kB / 0.6533 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.162, allocations: 28 kB / 0.6533 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003139/0.1651, allocations: 1.394 MB / 0.6547 GB, free: 14.04 MB / 478.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.009006/0.1741, allocations: 5.344 MB / 0.6599 GB, free: 8.461 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008832/0.183, allocations: 2.988 MB / 0.6628 GB, free: 5.332 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002008/0.185, allocations: 0.9478 MB / 0.6637 GB, free: 4.379 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006643/0.1857, allocations: 0.7258 MB / 0.6644 GB, free: 3.484 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002347/0.188, allocations: 1.094 MB / 0.6655 GB, free: 2.367 MB / 478.1 MB Notification: Performance of pre-optimization done (n=132): time 2.916e-06/0.1881, allocations: 0 / 0.6655 GB, free: 2.367 MB / 478.1 MB Notification: Performance of matching and sorting (n=132): time 0.04245/0.2305, allocations: 9.928 MB / 0.6752 GB, free: 8.402 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/0.2306, allocations: 120.1 kB / 0.6753 GB, free: 8.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/0.2335, allocations: 1.535 MB / 0.6768 GB, free: 6.719 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003917/0.2339, allocations: 57.7 kB / 0.6769 GB, free: 6.656 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006833/0.2346, allocations: 0.6523 MB / 0.6775 GB, free: 6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008037/0.2354, allocations: 0.4958 MB / 0.678 GB, free: 5.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008552/0.2363, allocations: 379.6 kB / 0.6783 GB, free: 5.121 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2364, allocations: 305.1 kB / 0.6786 GB, free: 4.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/0.2388, allocations: 1.031 MB / 0.6796 GB, free: 3.785 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/0.2414, allocations: 1.258 MB / 0.6809 GB, free: 2.461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00481/0.2462, allocations: 2.204 MB / 0.683 GB, free: 204 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.2462, allocations: 3.938 kB / 0.683 GB, free: 200 kB / 494.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.00991/0.2561, allocations: 3.829 MB / 0.6868 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.2562, allocations: 10.81 kB / 0.6868 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.2562, allocations: 4 kB / 0.6868 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009782/0.266, allocations: 2.679 MB / 0.6894 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.2677, allocations: 347.5 kB / 0.6897 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006689/0.2744, allocations: 2.703 MB / 0.6924 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.2768, allocations: 278.6 kB / 0.6926 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/0.277, allocations: 67.98 kB / 0.6927 GB, free: 6.242 MB / 0.4981 GB 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,iEEEX1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 204 * 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.0006788/0.2776, allocations: 325.4 kB / 0.693 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.278, allocations: 182.8 kB / 0.6932 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01675/0.2947, allocations: 4.841 MB / 0.6979 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/0.2948, allocations: 16 kB / 0.6979 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.2948, allocations: 3.938 kB / 0.6979 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-05/0.2948, allocations: 3.984 kB / 0.6979 GB, free: 0.8477 MB / 0.4981 GB 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.01972/0.3146, allocations: 7.045 MB / 0.7048 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.3146, allocations: 8.016 kB / 0.7048 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008997/0.3155, allocations: 155.8 kB / 0.705 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007702/0.3232, allocations: 2.134 MB / 0.707 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/0.3234, allocations: 31.98 kB / 0.7071 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2339/0.5573, allocations: 10.06 MB / 0.7169 GB, free: 82.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5573, allocations: 1.719 kB / 0.7169 GB, free: 82.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01903/0.5764, allocations: 6.083 MB / 0.7228 GB, free: 81.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005075/0.5769, allocations: 294.1 kB / 0.7231 GB, free: 81.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.5771, allocations: 32.44 kB / 0.7232 GB, free: 81.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/0.5787, allocations: 135.5 kB / 0.7233 GB, free: 81.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000793/0.5795, allocations: 265.3 kB / 0.7235 GB, free: 81.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.5796, allocations: 35.72 kB / 0.7236 GB, free: 81.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001439/0.581, allocations: 1.03 MB / 0.7246 GB, free: 81.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.581, allocations: 0 / 0.7246 GB, free: 81.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001263/0.5823, allocations: 0.5649 MB / 0.7251 GB, free: 81.05 MB / 0.5137 GB 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,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.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 (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01809/0.6004, allocations: 6.709 MB / 0.7317 GB, free: 78.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008243/0.6087, allocations: 2.993 MB / 0.7346 GB, free: 77.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.6087, allocations: 1.375 kB / 0.7346 GB, free: 77.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005694/0.6144, allocations: 1.964 MB / 0.7365 GB, free: 77.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.6156, allocations: 156.9 kB / 0.7367 GB, free: 77.12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04534/0.661, allocations: 21.79 MB / 0.758 GB, free: 60.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.6615, allocations: 1.266 MB / 0.7592 GB, free: 58.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006196/0.6621, allocations: 158.8 kB / 0.7593 GB, free: 58.76 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006856/0.6628, allocations: 0.6632 MB / 0.76 GB, free: 58.1 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.6628, allocations: 0 / 0.76 GB, free: 58.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06904/0.7319, allocations: 46.22 MB / 0.8051 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.53, allocations: 7.922 kB / 0.8051 GB, free: 11.95 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1)