Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.SCRX,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",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.08134/0.08134, allocations: 12.6 MB / 28.23 MB, free: 56 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.001065/0.001065, allocations: 111.4 kB / 31.84 MB, free: 3.387 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.281/1.281, 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.001323/0.001323, allocations: 184.5 kB / 290.7 MB, free: 13.37 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4253/0.4253, allocations: 78.51 MB / 419.3 MB, free: 11.23 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.002773/0.002773, allocations: 135.4 kB / 0.5554 GB, free: 28.76 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1302, allocations: 68.13 MB / 0.6219 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.009127/0.1394, allocations: 8.32 MB / 0.63 GB, free: 7.527 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005263/0.1447, allocations: 2.526 MB / 0.6325 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.1459, allocations: 12 kB / 0.6325 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.1471, allocations: 321.3 kB / 0.6328 GB, free: 4.664 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.1507, allocations: 1.251 MB / 0.6341 GB, free: 3.414 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.1526, allocations: 0.6964 MB / 0.6347 GB, free: 2.723 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003295/0.1559, allocations: 2.338 MB / 0.637 GB, free: 388 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008246/0.1567, allocations: 416.4 kB / 0.6374 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.1583, allocations: 0.8949 MB / 0.6383 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.1602, allocations: 1.132 MB / 0.6394 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004709/0.1607, allocations: 184 kB / 0.6396 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009461/0.1616, allocations: 411.8 kB / 0.64 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005272/0.1622, allocations: 462.2 kB / 0.6404 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.1633, allocations: 0.909 MB / 0.6413 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002866/0.1661, allocations: 2.303 MB / 0.6435 GB, free: 9.648 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1662, allocations: 7.938 kB / 0.6435 GB, free: 9.641 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1662, allocations: 0 / 0.6435 GB, free: 9.641 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.309e-05/0.1663, allocations: 0 / 0.6435 GB, free: 9.641 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01464/0.1809, allocations: 3.814 MB / 0.6473 GB, free: 5.766 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.181, allocations: 11.98 kB / 0.6473 GB, free: 5.754 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003219/0.1813, allocations: 164 kB / 0.6474 GB, free: 5.586 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004738/0.186, allocations: 0.7521 MB / 0.6482 GB, free: 4.832 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.1884, allocations: 1.125 MB / 0.6493 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004784/0.1888, allocations: 432.7 kB / 0.6497 GB, free: 3.164 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/0.1891, allocations: 115.9 kB / 0.6498 GB, free: 3.051 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003094/0.1922, allocations: 1.424 MB / 0.6512 GB, free: 1.609 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.1923, allocations: 0 / 0.6512 GB, free: 1.609 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.1924, allocations: 44 kB / 0.6512 GB, free: 1.566 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.1924, allocations: 24 kB / 0.6513 GB, free: 1.543 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003152/0.1956, allocations: 1.343 MB / 0.6526 GB, free: 204 kB / 462.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.009221/0.2048, allocations: 4.92 MB / 0.6574 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008613/0.2135, allocations: 2.886 MB / 0.6602 GB, free: 8.027 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002122/0.2156, allocations: 0.9112 MB / 0.6611 GB, free: 7.109 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.2158, allocations: 28.92 kB / 0.6611 GB, free: 7.082 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002422/0.2182, allocations: 1.05 MB / 0.6621 GB, free: 6.012 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 4.137e-06/0.2182, allocations: 3.938 kB / 0.6621 GB, free: 6.008 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.04234/0.2606, allocations: 9.801 MB / 0.6717 GB, free: 12.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.986e-05/0.2607, allocations: 115.8 kB / 0.6718 GB, free: 12.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/0.2636, allocations: 1.415 MB / 0.6732 GB, free: 10.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003621/0.264, allocations: 49.7 kB / 0.6732 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005829/0.2646, allocations: 0.601 MB / 0.6738 GB, free: 9.941 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007622/0.2654, allocations: 479.9 kB / 0.6743 GB, free: 9.469 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008889/0.2663, allocations: 343.5 kB / 0.6746 GB, free: 9.129 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2664, allocations: 301.1 kB / 0.6749 GB, free: 8.832 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/0.2687, allocations: 0.9683 MB / 0.6759 GB, free: 7.863 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002436/0.2712, allocations: 1.178 MB / 0.677 GB, free: 6.637 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004638/0.2758, allocations: 2.077 MB / 0.679 GB, free: 4.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.2759, allocations: 8 kB / 0.679 GB, free: 4.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01019/0.2861, allocations: 3.716 MB / 0.6827 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.2861, allocations: 12 kB / 0.6827 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.2862, allocations: 4 kB / 0.6827 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01034/0.2965, allocations: 2.97 MB / 0.6856 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.298, allocations: 271.6 kB / 0.6858 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00779/0.3058, allocations: 2.989 MB / 0.6888 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/0.3083, allocations: 254.8 kB / 0.689 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002993/0.3086, allocations: 67.92 kB / 0.6891 GB, free: 10.19 MB / 0.4981 GB 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 (161): * Single equations (assignments): 160 * 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 {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.0007994/0.3094, allocations: 301.5 kB / 0.6894 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000493/0.3099, allocations: 170.9 kB / 0.6895 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01672/0.3267, allocations: 4.823 MB / 0.6942 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.3267, allocations: 12 kB / 0.6942 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.3268, allocations: 4 kB / 0.6942 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.363e-05/0.3268, allocations: 7.922 kB / 0.6943 GB, free: 4.844 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.02073/0.3475, allocations: 6.89 MB / 0.701 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.3476, allocations: 3.938 kB / 0.701 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.3486, allocations: 139.8 kB / 0.7011 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007905/0.3566, allocations: 2.146 MB / 0.7032 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000278/0.3569, allocations: 27.98 kB / 0.7032 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02685/0.3837, allocations: 10.07 MB / 0.7131 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3838, allocations: 3.938 kB / 0.7131 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2758/0.6596, allocations: 5.956 MB / 0.7189 GB, free: 84.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007498/0.6604, allocations: 283.1 kB / 0.7192 GB, free: 84.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.6607, allocations: 27.88 kB / 0.7192 GB, free: 84.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/0.6623, allocations: 135.5 kB / 0.7193 GB, free: 84.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009066/0.6632, allocations: 259.2 kB / 0.7196 GB, free: 84.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.6633, allocations: 36.97 kB / 0.7196 GB, free: 84.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001604/0.6649, allocations: 0.9521 MB / 0.7205 GB, free: 83.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.91e-07/0.665, allocations: 0 / 0.7205 GB, free: 83.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001626/0.6666, allocations: 0.5287 MB / 0.721 GB, free: 83.89 MB / 0.5137 GB 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,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.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 (83): * Single equations (assignments): 82 * 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.02014/0.6867, allocations: 6.563 MB / 0.7275 GB, free: 81.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009422/0.6962, allocations: 2.896 MB / 0.7303 GB, free: 80.99 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.6962, allocations: 1.062 kB / 0.7303 GB, free: 80.99 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006328/0.7026, allocations: 1.928 MB / 0.7322 GB, free: 80.35 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.704, allocations: 140.2 kB / 0.7323 GB, free: 80.26 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04377/0.7477, allocations: 19.04 MB / 0.7509 GB, free: 68.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.7483, allocations: 1.234 MB / 0.7521 GB, free: 66.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005725/0.7488, allocations: 142 kB / 0.7522 GB, free: 66.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006476/0.7495, allocations: 0.6047 MB / 0.7528 GB, free: 66.2 MB / 0.5137 GB Notification: Performance of SimCode: time 9.21e-07/0.7495, allocations: 0 / 0.7528 GB, free: 66.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08375/0.8333, allocations: 44.13 MB / 0.7959 GB, free: 22.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/14.98, allocations: 14.09 kB / 0.7959 GB, free: 22.13 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX_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_SCRX.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)