Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.07363/0.07363, allocations: 12.59 MB / 28.22 MB, free: 0.7266 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.001128/0.001128, allocations: 111.4 kB / 31.84 MB, free: 3.871 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.249/1.249, allocations: 205.1 MB / 240.4 MB, free: 12.34 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.001392/0.001392, allocations: 192.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4133/0.4133, allocations: 78.52 MB / 419.3 MB, free: 11.2 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.003559/0.003559, allocations: 149.6 kB / 0.5554 GB, free: 28.89 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1072, allocations: 68.13 MB / 0.6219 GB, free: 20 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.009681/0.1169, allocations: 8.795 MB / 0.6305 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005576/0.1225, allocations: 2.818 MB / 0.6333 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006335/0.1232, allocations: 16 kB / 0.6333 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008343/0.1241, allocations: 345 kB / 0.6336 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002561/0.1266, allocations: 1.239 MB / 0.6348 GB, free: 2.754 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.1283, allocations: 0.8423 MB / 0.6357 GB, free: 1.918 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002698/0.131, allocations: 2.572 MB / 0.6382 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006512/0.1317, allocations: 498.1 kB / 0.6386 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.1328, allocations: 0.9689 MB / 0.6396 GB, free: 13.85 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.1342, allocations: 1.214 MB / 0.6408 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002794/0.1344, allocations: 200 kB / 0.641 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007927/0.1352, allocations: 475.7 kB / 0.6414 GB, free: 11.97 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000451/0.1357, allocations: 0.4981 MB / 0.6419 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008568/0.1366, allocations: 0.9867 MB / 0.6429 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.1392, allocations: 2.587 MB / 0.6454 GB, free: 7.879 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1392, allocations: 0 / 0.6454 GB, free: 7.879 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1392, allocations: 0 / 0.6454 GB, free: 7.879 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.1392, allocations: 0 / 0.6454 GB, free: 7.879 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.0135/0.1527, allocations: 4.111 MB / 0.6494 GB, free: 3.707 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1528, allocations: 11.98 kB / 0.6494 GB, free: 3.695 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002068/0.153, allocations: 164.5 kB / 0.6496 GB, free: 3.523 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004311/0.1573, allocations: 0.7832 MB / 0.6503 GB, free: 2.738 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.1593, allocations: 1.232 MB / 0.6515 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005036/0.1599, allocations: 462.4 kB / 0.652 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.1601, allocations: 116 kB / 0.6521 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/0.1633, allocations: 1.527 MB / 0.6536 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.1633, allocations: 0 / 0.6536 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.1634, allocations: 44 kB / 0.6536 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.1635, allocations: 28 kB / 0.6537 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00323/0.1667, allocations: 1.417 MB / 0.655 GB, free: 13.74 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.009217/0.1759, allocations: 5.399 MB / 0.6603 GB, free: 8.105 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008642/0.1846, allocations: 3.066 MB / 0.6633 GB, free: 4.898 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002/0.1866, allocations: 0.9711 MB / 0.6643 GB, free: 3.922 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000633/0.1872, allocations: 0.7258 MB / 0.665 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002326/0.1896, allocations: 1.118 MB / 0.6661 GB, free: 1.887 MB / 478.1 MB Notification: Performance of pre-optimization done (n=133): time 3.427e-06/0.1896, allocations: 0 / 0.6661 GB, free: 1.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=133): time 0.03955/0.2292, allocations: 9.772 MB / 0.6756 GB, free: 8.078 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.2293, allocations: 124.2 kB / 0.6757 GB, free: 7.934 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002703/0.232, allocations: 1.543 MB / 0.6772 GB, free: 6.383 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002566/0.2323, allocations: 53.69 kB / 0.6773 GB, free: 6.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000622/0.2329, allocations: 0.6602 MB / 0.6779 GB, free: 5.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006489/0.2335, allocations: 0.4957 MB / 0.6784 GB, free: 5.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009436/0.2345, allocations: 379.6 kB / 0.6788 GB, free: 4.781 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2346, allocations: 305.1 kB / 0.6791 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002452/0.2371, allocations: 1.039 MB / 0.6801 GB, free: 3.438 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002638/0.2397, allocations: 1.278 MB / 0.6813 GB, free: 2.094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004875/0.2446, allocations: 2.224 MB / 0.6835 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2446, allocations: 0 / 0.6835 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.009929/0.2546, allocations: 3.848 MB / 0.6872 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.2546, allocations: 7.938 kB / 0.6873 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.2547, allocations: 7.984 kB / 0.6873 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009586/0.2643, allocations: 2.679 MB / 0.6899 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.266, allocations: 359.5 kB / 0.6902 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006564/0.2726, allocations: 2.695 MB / 0.6929 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.275, allocations: 274.6 kB / 0.6931 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000287/0.2753, allocations: 71.97 kB / 0.6932 GB, free: 5.832 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,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 202 * 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.0008974/0.2762, allocations: 341.3 kB / 0.6935 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000579/0.2768, allocations: 178.8 kB / 0.6937 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01664/0.2935, allocations: 4.946 MB / 0.6985 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.2935, allocations: 16 kB / 0.6985 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.2935, allocations: 0 / 0.6985 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.292e-05/0.2936, allocations: 7.969 kB / 0.6985 GB, free: 328 kB / 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.02086/0.3144, allocations: 7.12 MB / 0.7055 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.3145, allocations: 3.938 kB / 0.7055 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.3155, allocations: 167.7 kB / 0.7056 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007562/0.3231, allocations: 2.142 MB / 0.7077 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002218/0.3233, allocations: 31.98 kB / 0.7078 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2425/0.5659, allocations: 10.06 MB / 0.7176 GB, free: 82.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.5659, allocations: 8.766 kB / 0.7176 GB, free: 82.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/0.5847, allocations: 6.135 MB / 0.7236 GB, free: 81.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.5852, allocations: 297.4 kB / 0.7239 GB, free: 81.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.5855, allocations: 27.08 kB / 0.7239 GB, free: 81.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/0.587, allocations: 148.3 kB / 0.724 GB, free: 81.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008614/0.5879, allocations: 266.7 kB / 0.7243 GB, free: 81.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.588, allocations: 36.66 kB / 0.7243 GB, free: 81.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001534/0.5895, allocations: 1.038 MB / 0.7253 GB, free: 80.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5896, allocations: 1.375 kB / 0.7253 GB, free: 80.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001441/0.591, allocations: 0.5646 MB / 0.7259 GB, free: 80.66 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.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 (90): * Single equations (assignments): 89 * 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.01824/0.6092, allocations: 6.76 MB / 0.7325 GB, free: 78.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008194/0.6175, allocations: 3.035 MB / 0.7355 GB, free: 77.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6175, allocations: 0 / 0.7355 GB, free: 77.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005496/0.623, allocations: 2 MB / 0.7374 GB, free: 76.81 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.6242, allocations: 166.6 kB / 0.7376 GB, free: 76.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04388/0.6681, allocations: 21.99 MB / 0.759 GB, free: 58.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/0.6688, allocations: 1.27 MB / 0.7603 GB, free: 57.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006637/0.6694, allocations: 158.8 kB / 0.7604 GB, free: 57.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008125/0.6703, allocations: 0.6555 MB / 0.7611 GB, free: 56.78 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.6703, allocations: 4 kB / 0.7611 GB, free: 56.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06878/0.739, allocations: 46.72 MB / 0.8067 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.49, allocations: 3.938 kB / 0.8067 GB, free: 10.13 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A_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_ESDC1A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)