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-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.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-master/package.mo): time 0.08041/0.08041, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.263/1.263, allocations: 205.1 MB / 240.3 MB, free: 12.42 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.001224/0.001224, allocations: 192.5 kB / 290.6 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4145/0.4145, allocations: 78.5 MB / 419.2 MB, free: 11.33 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.002697/0.002698, allocations: 139.8 kB / 499.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2629, allocations: 68.1 MB / 0.5547 GB, free: 32.7 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.007555/0.2705, allocations: 8.661 MB / 0.5631 GB, free: 26.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004819/0.2753, allocations: 2.66 MB / 0.5657 GB, free: 24.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.2765, allocations: 14.34 kB / 0.5658 GB, free: 24.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007202/0.2773, allocations: 319.6 kB / 0.5661 GB, free: 23.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003307/0.2806, allocations: 1.211 MB / 0.5672 GB, free: 22.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.2822, allocations: 0.7581 MB / 0.568 GB, free: 22.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002883/0.2851, allocations: 2.374 MB / 0.5703 GB, free: 20.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006409/0.2857, allocations: 481.8 kB / 0.5708 GB, free: 20.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.2868, allocations: 0.9003 MB / 0.5716 GB, free: 19.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.2879, allocations: 1.16 MB / 0.5728 GB, free: 19.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002993/0.2882, allocations: 192.3 kB / 0.573 GB, free: 19.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008488/0.289, allocations: 459 kB / 0.5734 GB, free: 19.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.2893, allocations: 491.7 kB / 0.5739 GB, free: 18.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006581/0.29, allocations: 0.9535 MB / 0.5748 GB, free: 17.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.2919, allocations: 2.43 MB / 0.5772 GB, free: 16.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2919, allocations: 1.281 kB / 0.5772 GB, free: 16.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2919, allocations: 3.938 kB / 0.5772 GB, free: 16.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.316e-05/0.2919, allocations: 3.938 kB / 0.5772 GB, free: 16.03 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.01294/0.3049, allocations: 3.93 MB / 0.581 GB, free: 12.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3049, allocations: 11.98 kB / 0.581 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/0.3051, allocations: 160.4 kB / 0.5812 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004307/0.3094, allocations: 0.7703 MB / 0.5819 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.3109, allocations: 1.117 MB / 0.583 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/0.3112, allocations: 458.2 kB / 0.5835 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.3114, allocations: 123.9 kB / 0.5836 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.3139, allocations: 1.476 MB / 0.585 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.3139, allocations: 0 / 0.585 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.314, allocations: 40 kB / 0.5851 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.314, allocations: 24 kB / 0.5851 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.3165, allocations: 1.355 MB / 0.5864 GB, free: 6.715 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.007387/0.3239, allocations: 5.248 MB / 0.5915 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008034/0.332, allocations: 2.934 MB / 0.5944 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/0.334, allocations: 0.9361 MB / 0.5953 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005985/0.3346, allocations: 0.7296 MB / 0.596 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00214/0.3367, allocations: 1.075 MB / 0.5971 GB, free: 11.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=131): time 2.815e-06/0.3367, allocations: 0 / 0.5971 GB, free: 11.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=131): time 0.04204/0.3788, allocations: 9.871 MB / 0.6067 GB, free: 1.293 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/0.3789, allocations: 120.1 kB / 0.6068 GB, free: 1.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002789/0.3817, allocations: 1.43 MB / 0.6082 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000484/0.3822, allocations: 53.7 kB / 0.6083 GB, free: 15.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006312/0.3829, allocations: 0.6277 MB / 0.6089 GB, free: 15.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007321/0.3836, allocations: 477.2 kB / 0.6093 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/0.3848, allocations: 371.4 kB / 0.6097 GB, free: 14.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.3849, allocations: 305.2 kB / 0.61 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00248/0.3874, allocations: 1.003 MB / 0.611 GB, free: 12.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002564/0.3899, allocations: 1.234 MB / 0.6122 GB, free: 11.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004741/0.3947, allocations: 2.157 MB / 0.6143 GB, free: 9.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.3947, allocations: 0 / 0.6143 GB, free: 9.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01828/0.413, allocations: 5.5 MB / 0.6196 GB, free: 3.836 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.4131, allocations: 12.06 kB / 0.6197 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.4131, allocations: 4 kB / 0.6197 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009756/0.4229, allocations: 2.683 MB / 0.6223 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.4246, allocations: 339.5 kB / 0.6226 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006336/0.4309, allocations: 2.7 MB / 0.6252 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/0.4334, allocations: 254.2 kB / 0.6255 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/0.4337, allocations: 71.97 kB / 0.6255 GB, free: 13.75 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.0007265/0.4344, allocations: 305.5 kB / 0.6258 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/0.4349, allocations: 173.8 kB / 0.626 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01683/0.4517, allocations: 4.938 MB / 0.6308 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.4518, allocations: 12 kB / 0.6308 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.4518, allocations: 7.938 kB / 0.6308 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.299e-05/0.4518, allocations: 3.984 kB / 0.6309 GB, free: 8.289 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.02024/0.4721, allocations: 7.097 MB / 0.6378 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/0.4721, allocations: 0 / 0.6378 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009875/0.4731, allocations: 151.8 kB / 0.6379 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0082/0.4813, allocations: 2.209 MB / 0.6401 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002781/0.4816, allocations: 27.98 kB / 0.6401 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02967/0.5113, allocations: 11.8 MB / 0.6516 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5114, allocations: 0 / 0.6516 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0198/0.5312, allocations: 6.088 MB / 0.6576 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006783/0.5319, allocations: 274.7 kB / 0.6578 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005165/0.5324, allocations: 24 kB / 0.6579 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/0.5343, allocations: 127.9 kB / 0.658 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009174/0.5353, allocations: 265.4 kB / 0.6582 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/0.5355, allocations: 36 kB / 0.6583 GB, free: 11.72 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001571/0.5371, allocations: 0.9561 MB / 0.6592 GB, free: 10.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5371, allocations: 0 / 0.6592 GB, free: 10.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001898/0.539, allocations: 0.5581 MB / 0.6598 GB, free: 10.21 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.01981/0.5588, allocations: 6.72 MB / 0.6663 GB, free: 3.441 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01074/0.5696, allocations: 2.986 MB / 0.6692 GB, free: 460 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.5696, allocations: 0 / 0.6692 GB, free: 460 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007089/0.5767, allocations: 2.07 MB / 0.6713 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.5788, allocations: 158.7 kB / 0.6714 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05012/0.6289, allocations: 20.68 MB / 0.6916 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008453/0.6298, allocations: 1.247 MB / 0.6928 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000653/0.6305, allocations: 154.5 kB / 0.693 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009049/0.6314, allocations: 0.6321 MB / 0.6936 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.6314, allocations: 0 / 0.6936 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.279/0.9104, allocations: 45.09 MB / 0.7376 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.6, allocations: 6.438 kB / 0.7376 GB, free: 142.8 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2_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_IEEET2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)