Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.SEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",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.008002/0.008003, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.277/1.277, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001349/0.001349, allocations: 200.4 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5046/0.5046, allocations: 91.9 MB / 431.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 81.16 kB / 0.5723 GB, free: 33.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1186, allocations: 71.28 MB / 0.6419 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.007559/0.1262, allocations: 8.058 MB / 0.6497 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004815/0.1311, allocations: 2.513 MB / 0.6522 GB, free: 9.457 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.1322, allocations: 16 kB / 0.6522 GB, free: 9.441 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008688/0.1331, allocations: 309.4 kB / 0.6525 GB, free: 9.137 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.1359, allocations: 1.162 MB / 0.6536 GB, free: 7.969 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.1375, allocations: 0.6788 MB / 0.6543 GB, free: 7.297 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002414/0.1399, allocations: 2.135 MB / 0.6564 GB, free: 5.156 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000565/0.1405, allocations: 390 kB / 0.6568 GB, free: 4.754 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.1416, allocations: 0.8638 MB / 0.6576 GB, free: 3.887 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.1428, allocations: 1.085 MB / 0.6587 GB, free: 2.797 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002615/0.1431, allocations: 176 kB / 0.6588 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006989/0.1438, allocations: 419.7 kB / 0.6592 GB, free: 2.215 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.1441, allocations: 454.2 kB / 0.6597 GB, free: 1.77 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007144/0.1448, allocations: 0.8702 MB / 0.6605 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.1471, allocations: 2.22 MB / 0.6627 GB, free: 14.67 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1471, allocations: 4 kB / 0.6627 GB, free: 14.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1471, allocations: 0 / 0.6627 GB, free: 14.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.258e-05/0.1471, allocations: 0 / 0.6627 GB, free: 14.66 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.0115/0.1586, allocations: 3.5 MB / 0.6661 GB, free: 11.1 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1587, allocations: 12.03 kB / 0.6661 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001845/0.1589, allocations: 151.8 kB / 0.6663 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004326/0.1632, allocations: 0.7471 MB / 0.667 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.1652, allocations: 1.1 MB / 0.6681 GB, free: 9.031 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000408/0.1656, allocations: 424.7 kB / 0.6685 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.1659, allocations: 111.8 kB / 0.6686 GB, free: 8.441 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/0.1684, allocations: 1.381 MB / 0.6699 GB, free: 7.039 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.1684, allocations: 0 / 0.6699 GB, free: 7.039 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.1686, allocations: 40 kB / 0.67 GB, free: 7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.1686, allocations: 35.92 kB / 0.67 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/0.1712, allocations: 1.304 MB / 0.6713 GB, free: 5.66 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.008005/0.1792, allocations: 4.798 MB / 0.676 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00735/0.1866, allocations: 2.853 MB / 0.6787 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/0.1885, allocations: 0.8962 MB / 0.6796 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.1887, allocations: 20.89 kB / 0.6796 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002177/0.1909, allocations: 1.046 MB / 0.6807 GB, free: 11.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 4.108e-06/0.191, allocations: 0 / 0.6807 GB, free: 11.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=122): time 0.03706/0.228, allocations: 9.672 MB / 0.6901 GB, free: 1.945 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.799e-05/0.2281, allocations: 119.8 kB / 0.6902 GB, free: 1.805 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.2306, allocations: 1.398 MB / 0.6916 GB, free: 404 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003273/0.231, allocations: 53.64 kB / 0.6916 GB, free: 344 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005274/0.2315, allocations: 0.5805 MB / 0.6922 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006504/0.2322, allocations: 449.7 kB / 0.6926 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/0.2332, allocations: 323.4 kB / 0.6929 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.2333, allocations: 309.1 kB / 0.6932 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002211/0.2355, allocations: 0.9565 MB / 0.6942 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.2379, allocations: 1.162 MB / 0.6953 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00437/0.2423, allocations: 2.054 MB / 0.6973 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.2423, allocations: 0 / 0.6973 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.016/0.2583, allocations: 5.395 MB / 0.7026 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.2584, allocations: 11.98 kB / 0.7026 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.2584, allocations: 4 kB / 0.7026 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009576/0.268, allocations: 2.872 MB / 0.7054 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.2695, allocations: 283.6 kB / 0.7057 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006445/0.276, allocations: 2.857 MB / 0.7085 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/0.2782, allocations: 246.3 kB / 0.7087 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003132/0.2786, allocations: 67.98 kB / 0.7088 GB, free: 14.64 MB / 0.5137 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 (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.0007572/0.2793, allocations: 290.6 kB / 0.709 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004548/0.2798, allocations: 162 kB / 0.7092 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/0.2944, allocations: 4.725 MB / 0.7138 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-05/0.2945, allocations: 12 kB / 0.7138 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.2945, allocations: 8 kB / 0.7138 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.148e-05/0.2945, allocations: 3.984 kB / 0.7138 GB, free: 9.41 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.01828/0.3128, allocations: 6.799 MB / 0.7205 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/0.3129, allocations: 4 kB / 0.7205 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009048/0.3138, allocations: 127.9 kB / 0.7206 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006969/0.3208, allocations: 2.146 MB / 0.7227 GB, free: 204 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002974/0.3211, allocations: 27.98 kB / 0.7227 GB, free: 176 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0241/0.3452, allocations: 10.06 MB / 0.7325 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3453, allocations: 4 kB / 0.7325 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/0.3624, allocations: 5.865 MB / 0.7383 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006398/0.3631, allocations: 274.7 kB / 0.7385 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005098/0.3636, allocations: 27.94 kB / 0.7386 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/0.3654, allocations: 135.8 kB / 0.7387 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009285/0.3663, allocations: 261.1 kB / 0.7389 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/0.3665, allocations: 31.98 kB / 0.739 GB, free: 15.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001675/0.3682, allocations: 0.9379 MB / 0.7399 GB, free: 14.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3682, allocations: 0 / 0.7399 GB, free: 14.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001889/0.3701, allocations: 0.5229 MB / 0.7404 GB, free: 13.87 MB / 0.545 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,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.01746/0.3876, allocations: 6.475 MB / 0.7467 GB, free: 7.344 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008647/0.3963, allocations: 2.833 MB / 0.7495 GB, free: 4.508 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.3963, allocations: 0 / 0.7495 GB, free: 4.508 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005945/0.4023, allocations: 1.917 MB / 0.7514 GB, free: 2.578 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.404, allocations: 126.9 kB / 0.7515 GB, free: 2.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3112/0.7153, allocations: 18.61 MB / 0.7697 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008056/0.7161, allocations: 1.213 MB / 0.7708 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006813/0.7168, allocations: 136.5 kB / 0.771 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007119/0.7175, allocations: 0.5948 MB / 0.7716 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.7175, allocations: 0.625 kB / 0.7716 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07175/0.7893, allocations: 43.09 MB / 0.8136 GB, free: 89.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.4, allocations: 10 kB / 0.8136 GB, free: 89.75 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)