Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.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.IEEET1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1",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.007211/0.007211, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.352/1.352, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001355/0.001355, allocations: 192.4 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4997/0.4997, allocations: 91.91 MB / 431.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 84.73 kB / 0.5723 GB, free: 33.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1112, allocations: 71.27 MB / 0.6419 GB, free: 4.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET1): time 0.008609/0.1198, allocations: 8.561 MB / 0.6502 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006055/0.1259, allocations: 2.676 MB / 0.6528 GB, free: 8.801 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.1277, allocations: 12 kB / 0.6529 GB, free: 8.789 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.1288, allocations: 317.2 kB / 0.6532 GB, free: 8.477 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002826/0.1316, allocations: 1.06 MB / 0.6542 GB, free: 7.414 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.1336, allocations: 0.8372 MB / 0.655 GB, free: 6.582 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002745/0.1363, allocations: 2.205 MB / 0.6572 GB, free: 4.371 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007474/0.1371, allocations: 473.4 kB / 0.6576 GB, free: 3.879 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.1384, allocations: 0.8793 MB / 0.6585 GB, free: 2.996 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.1397, allocations: 1.128 MB / 0.6596 GB, free: 1.863 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003224/0.14, allocations: 192 kB / 0.6598 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.1408, allocations: 463.7 kB / 0.6602 GB, free: 1.223 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003694/0.1412, allocations: 466.1 kB / 0.6606 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007953/0.142, allocations: 0.9323 MB / 0.6616 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002655/0.1446, allocations: 2.435 MB / 0.6639 GB, free: 13.38 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1447, allocations: 0 / 0.6639 GB, free: 13.38 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1447, allocations: 0 / 0.6639 GB, free: 13.38 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.155e-05/0.1447, allocations: 0 / 0.6639 GB, free: 13.38 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.01263/0.1574, allocations: 3.659 MB / 0.6675 GB, free: 9.656 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.1574, allocations: 12.03 kB / 0.6675 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002168/0.1576, allocations: 160.3 kB / 0.6677 GB, free: 9.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004806/0.1625, allocations: 0.7676 MB / 0.6684 GB, free: 8.711 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.1645, allocations: 1.134 MB / 0.6695 GB, free: 7.527 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004463/0.1649, allocations: 432.9 kB / 0.6699 GB, free: 7.039 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/0.1652, allocations: 116 kB / 0.6701 GB, free: 6.926 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003047/0.1683, allocations: 1.452 MB / 0.6715 GB, free: 5.449 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.1684, allocations: 4 kB / 0.6715 GB, free: 5.445 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.1685, allocations: 40 kB / 0.6715 GB, free: 5.406 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.1685, allocations: 24 kB / 0.6715 GB, free: 5.383 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003002/0.1715, allocations: 1.339 MB / 0.6728 GB, free: 4.043 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.00926/0.1808, allocations: 5.175 MB / 0.6779 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008655/0.1895, allocations: 2.906 MB / 0.6807 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002099/0.1916, allocations: 0.9113 MB / 0.6816 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006168/0.1923, allocations: 0.7293 MB / 0.6823 GB, free: 9.777 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00244/0.1947, allocations: 1.072 MB / 0.6834 GB, free: 8.684 MB / 494.1 MB Notification: Performance of pre-optimization done (n=129): time 3.837e-06/0.1947, allocations: 0 / 0.6834 GB, free: 8.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.04648/0.2412, allocations: 10.54 MB / 0.6937 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.215e-05/0.2413, allocations: 128.1 kB / 0.6938 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/0.2436, allocations: 1.41 MB / 0.6952 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003034/0.2439, allocations: 53.7 kB / 0.6952 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005072/0.2444, allocations: 0.6323 MB / 0.6958 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006155/0.245, allocations: 491.8 kB / 0.6963 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000819/0.2459, allocations: 363.4 kB / 0.6967 GB, free: 11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.8e-05/0.246, allocations: 309.1 kB / 0.697 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.2483, allocations: 0.9956 MB / 0.6979 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002517/0.2508, allocations: 1.207 MB / 0.6991 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004662/0.2555, allocations: 2.134 MB / 0.7012 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.2555, allocations: 0 / 0.7012 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.01028/0.2658, allocations: 3.731 MB / 0.7048 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.2659, allocations: 8 kB / 0.7048 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/0.2659, allocations: 4 kB / 0.7048 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/0.276, allocations: 2.683 MB / 0.7075 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.2777, allocations: 327.5 kB / 0.7078 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006738/0.2845, allocations: 2.695 MB / 0.7104 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.2869, allocations: 254.7 kB / 0.7106 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002566/0.2872, allocations: 71.98 kB / 0.7107 GB, free: 12.45 MB / 0.5137 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,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 193 * 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.0007269/0.2879, allocations: 306 kB / 0.711 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000414/0.2884, allocations: 174.9 kB / 0.7112 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01721/0.3056, allocations: 4.855 MB / 0.7159 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.3056, allocations: 12 kB / 0.7159 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.3056, allocations: 4 kB / 0.7159 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.253e-05/0.3057, allocations: 7.969 kB / 0.7159 GB, free: 7.066 MB / 0.5137 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.01991/0.3256, allocations: 6.891 MB / 0.7227 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/0.3257, allocations: 0 / 0.7227 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.3267, allocations: 143.8 kB / 0.7228 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007969/0.3347, allocations: 2.142 MB / 0.7249 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002927/0.335, allocations: 35.97 kB / 0.7249 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02733/0.3623, allocations: 10.07 MB / 0.7348 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3624, allocations: 0 / 0.7348 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01995/0.3823, allocations: 5.965 MB / 0.7406 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006334/0.383, allocations: 279.7 kB / 0.7409 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004932/0.3835, allocations: 28 kB / 0.7409 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/0.3853, allocations: 127.9 kB / 0.741 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008505/0.3862, allocations: 257.4 kB / 0.7413 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/0.3864, allocations: 43.98 kB / 0.7413 GB, free: 12.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001503/0.3879, allocations: 0.9321 MB / 0.7422 GB, free: 11.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3879, allocations: 0 / 0.7422 GB, free: 11.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001805/0.3897, allocations: 0.5542 MB / 0.7427 GB, free: 11.27 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.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 (86): * Single equations (assignments): 85 * 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.02007/0.4098, allocations: 6.587 MB / 0.7492 GB, free: 4.641 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009671/0.4195, allocations: 2.916 MB / 0.752 GB, free: 1.719 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.4195, allocations: 3.938 kB / 0.752 GB, free: 1.715 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006775/0.4263, allocations: 1.942 MB / 0.7539 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.4279, allocations: 136.9 kB / 0.7541 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2972/0.7251, allocations: 19.58 MB / 0.7732 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007929/0.7259, allocations: 1.238 MB / 0.7744 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007937/0.7268, allocations: 146.4 kB / 0.7745 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008575/0.7276, allocations: 0.6228 MB / 0.7751 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of SimCode: time 9.61e-07/0.7276, allocations: 0 / 0.7751 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0676/0.7952, allocations: 44.51 MB / 0.8186 GB, free: 84.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/14.9, allocations: 8.438 kB / 0.8186 GB, free: 84.27 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe 2>&1)