Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",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.08048/0.08048, allocations: 12.6 MB / 28.1 MB, free: 260 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.001018/0.001018, allocations: 111.5 kB / 31.7 MB, free: 3.488 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.256/1.256, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001242/0.001242, allocations: 196.4 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4125/0.4125, 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.002678/0.002678, allocations: 147.8 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2517, allocations: 68.11 MB / 0.5547 GB, free: 32.7 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.007493/0.2592, allocations: 8.082 MB / 0.5626 GB, free: 26.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00485/0.2641, allocations: 2.491 MB / 0.565 GB, free: 24.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.2654, allocations: 12.88 kB / 0.565 GB, free: 24.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008164/0.2662, allocations: 308.6 kB / 0.5653 GB, free: 24.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.2691, allocations: 1.192 MB / 0.5665 GB, free: 23.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.2704, allocations: 0.6647 MB / 0.5671 GB, free: 22.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002156/0.2725, allocations: 2.279 MB / 0.5694 GB, free: 21.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004846/0.273, allocations: 389.6 kB / 0.5697 GB, free: 21.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008657/0.2739, allocations: 0.8621 MB / 0.5706 GB, free: 20.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009863/0.2749, allocations: 1.103 MB / 0.5717 GB, free: 20.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002902/0.2752, allocations: 175.7 kB / 0.5718 GB, free: 20.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007188/0.2759, allocations: 409.4 kB / 0.5722 GB, free: 20 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003009/0.2762, allocations: 451.6 kB / 0.5726 GB, free: 19.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006434/0.2769, allocations: 0.8799 MB / 0.5735 GB, free: 18.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.2787, allocations: 2.201 MB / 0.5756 GB, free: 17.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2787, allocations: 0 / 0.5756 GB, free: 17.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.2787, allocations: 5.469 kB / 0.5757 GB, free: 17.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.568e-05/0.2787, allocations: 0 / 0.5757 GB, free: 17.27 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01241/0.2911, allocations: 3.71 MB / 0.5793 GB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2912, allocations: 15.92 kB / 0.5793 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.2914, allocations: 155.8 kB / 0.5794 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004299/0.2957, allocations: 0.7471 MB / 0.5802 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.2972, allocations: 1.093 MB / 0.5812 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003151/0.2975, allocations: 420.7 kB / 0.5816 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.2977, allocations: 111.8 kB / 0.5817 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.3001, allocations: 1.392 MB / 0.5831 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3001, allocations: 0 / 0.5831 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.3002, allocations: 36 kB / 0.5831 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.3002, allocations: 24 kB / 0.5832 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.3027, allocations: 1.32 MB / 0.5844 GB, free: 8.793 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.006875/0.3096, allocations: 4.813 MB / 0.5891 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007382/0.317, allocations: 2.857 MB / 0.5919 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001912/0.319, allocations: 0.8996 MB / 0.5928 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.3191, allocations: 24.89 kB / 0.5928 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002229/0.3213, allocations: 1.046 MB / 0.5939 GB, free: 14.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 4.709e-06/0.3214, allocations: 3.984 kB / 0.5939 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.04137/0.3627, allocations: 9.672 MB / 0.6033 GB, free: 5.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/0.3629, allocations: 115.8 kB / 0.6034 GB, free: 4.906 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/0.3657, allocations: 1.39 MB / 0.6048 GB, free: 3.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003998/0.3661, allocations: 53.7 kB / 0.6048 GB, free: 3.445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00051/0.3666, allocations: 0.5767 MB / 0.6054 GB, free: 2.863 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006403/0.3673, allocations: 449.6 kB / 0.6058 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008719/0.3682, allocations: 327.4 kB / 0.6061 GB, free: 2.094 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.3683, allocations: 305.1 kB / 0.6064 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/0.3706, allocations: 0.9604 MB / 0.6074 GB, free: 0.832 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002434/0.373, allocations: 1.159 MB / 0.6085 GB, free: 15.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004527/0.3776, allocations: 2.05 MB / 0.6105 GB, free: 13.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.3776, allocations: 0 / 0.6105 GB, free: 13.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01799/0.3956, allocations: 5.395 MB / 0.6158 GB, free: 8.117 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.3957, allocations: 8 kB / 0.6158 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.3957, allocations: 4 kB / 0.6158 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01028/0.406, allocations: 2.88 MB / 0.6186 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.4075, allocations: 275.6 kB / 0.6189 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007418/0.4149, allocations: 2.861 MB / 0.6216 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/0.4175, allocations: 250.3 kB / 0.6219 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002645/0.4178, allocations: 59.98 kB / 0.6219 GB, free: 1.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 166 * 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 {(33,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0007702/0.4186, allocations: 297.5 kB / 0.6222 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006321/0.4192, allocations: 158 kB / 0.6224 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01668/0.4359, allocations: 4.729 MB / 0.627 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/0.436, allocations: 12 kB / 0.627 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.436, allocations: 4 kB / 0.627 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.049e-05/0.436, allocations: 7.969 kB / 0.627 GB, free: 12.53 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.02011/0.4561, allocations: 6.803 MB / 0.6337 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.4562, allocations: 0 / 0.6337 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008957/0.4571, allocations: 131.8 kB / 0.6338 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007971/0.4651, allocations: 2.153 MB / 0.6359 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/0.4654, allocations: 27.98 kB / 0.6359 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02716/0.4925, allocations: 10.08 MB / 0.6458 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4926, allocations: 0 / 0.6458 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01909/0.5117, allocations: 5.871 MB / 0.6515 GB, free: 3.148 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005719/0.5123, allocations: 266.9 kB / 0.6517 GB, free: 2.867 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003961/0.5127, allocations: 24 kB / 0.6518 GB, free: 2.844 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/0.5145, allocations: 135.8 kB / 0.6519 GB, free: 2.711 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008059/0.5153, allocations: 253.1 kB / 0.6521 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.5154, allocations: 32 kB / 0.6522 GB, free: 2.434 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001538/0.517, allocations: 0.9457 MB / 0.6531 GB, free: 1.488 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.854e-06/0.517, allocations: 0 / 0.6531 GB, free: 1.488 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001508/0.5185, allocations: 0.5228 MB / 0.6536 GB, free: 0.9648 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * 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 (79): * Single equations (assignments): 78 * 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.01906/0.5376, allocations: 6.466 MB / 0.6599 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01003/0.5476, allocations: 2.893 MB / 0.6627 GB, free: 7.562 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.5477, allocations: 8.188 kB / 0.6628 GB, free: 7.555 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006283/0.554, allocations: 1.906 MB / 0.6646 GB, free: 5.637 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.5555, allocations: 132.9 kB / 0.6647 GB, free: 5.508 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04463/0.6001, allocations: 19.81 MB / 0.6841 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008266/0.601, allocations: 1.204 MB / 0.6853 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005879/0.6016, allocations: 137.7 kB / 0.6854 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008438/0.6024, allocations: 0.593 MB / 0.686 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.6024, allocations: 0 / 0.686 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2522/0.8547, allocations: 42.62 MB / 0.7276 GB, free: 148.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.47, allocations: 2.281 kB / 0.7276 GB, free: 148.5 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS_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_SEXS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)