Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",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.003933/0.003933, allocations: 100.4 kB / 15.73 MB, free: 5.988 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.215/1.215, 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.001342/0.001343, allocations: 188.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4639/0.4639, allocations: 91.9 MB / 431.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 86.92 kB / 0.5723 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.124, allocations: 71.28 MB / 0.6419 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.007617/0.1317, allocations: 8.277 MB / 0.65 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004644/0.1363, allocations: 2.56 MB / 0.6525 GB, free: 9.172 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006851/0.137, allocations: 16 kB / 0.6525 GB, free: 9.156 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008043/0.1379, allocations: 325.3 kB / 0.6528 GB, free: 8.836 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.1401, allocations: 1.164 MB / 0.6539 GB, free: 7.668 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.1413, allocations: 0.6894 MB / 0.6546 GB, free: 6.984 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001866/0.1432, allocations: 2.202 MB / 0.6567 GB, free: 4.777 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000534/0.1437, allocations: 408.5 kB / 0.6571 GB, free: 4.355 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.1448, allocations: 0.8832 MB / 0.658 GB, free: 3.469 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.1459, allocations: 1.124 MB / 0.6591 GB, free: 2.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002208/0.1461, allocations: 180 kB / 0.6593 GB, free: 2.164 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006351/0.1468, allocations: 423.7 kB / 0.6597 GB, free: 1.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000337/0.1471, allocations: 458.2 kB / 0.6601 GB, free: 1.301 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006708/0.1478, allocations: 0.9051 MB / 0.661 GB, free: 400 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.1497, allocations: 2.286 MB / 0.6632 GB, free: 14.1 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1498, allocations: 3.938 kB / 0.6632 GB, free: 14.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1498, allocations: 0 / 0.6632 GB, free: 14.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.1498, allocations: 0 / 0.6632 GB, free: 14.09 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01074/0.1605, allocations: 3.543 MB / 0.6667 GB, free: 10.49 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1606, allocations: 8.031 kB / 0.6667 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.1608, allocations: 156.1 kB / 0.6668 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00409/0.1649, allocations: 0.7549 MB / 0.6676 GB, free: 9.562 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.1665, allocations: 1.12 MB / 0.6687 GB, free: 8.391 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003754/0.1669, allocations: 432.7 kB / 0.6691 GB, free: 7.902 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.1671, allocations: 108 kB / 0.6692 GB, free: 7.797 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.1695, allocations: 1.432 MB / 0.6706 GB, free: 6.344 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.1696, allocations: 7.938 kB / 0.6706 GB, free: 6.336 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.1697, allocations: 40 kB / 0.6706 GB, free: 6.297 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.1697, allocations: 24 kB / 0.6707 GB, free: 6.273 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/0.1723, allocations: 1.343 MB / 0.672 GB, free: 4.93 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.007108/0.1795, allocations: 4.919 MB / 0.6768 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00714/0.1866, allocations: 2.896 MB / 0.6796 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.1882, allocations: 0.9117 MB / 0.6805 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.1884, allocations: 32.89 kB / 0.6805 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001914/0.1903, allocations: 1.054 MB / 0.6816 GB, free: 10.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 4.379e-06/0.1903, allocations: 4 kB / 0.6816 GB, free: 10.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.03688/0.2272, allocations: 9.785 MB / 0.6911 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.2273, allocations: 123.8 kB / 0.6912 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.23, allocations: 1.407 MB / 0.6926 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.2302, allocations: 61.62 kB / 0.6927 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004806/0.2307, allocations: 0.5963 MB / 0.6932 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005311/0.2313, allocations: 461.5 kB / 0.6937 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008179/0.2321, allocations: 339.4 kB / 0.694 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.2322, allocations: 301.1 kB / 0.6943 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/0.2344, allocations: 0.9682 MB / 0.6952 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.2365, allocations: 1.182 MB / 0.6964 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00396/0.2405, allocations: 2.081 MB / 0.6984 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.2405, allocations: 4 kB / 0.6984 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008454/0.249, allocations: 3.703 MB / 0.702 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.249, allocations: 8 kB / 0.7021 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.2491, allocations: 7.984 kB / 0.7021 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008955/0.258, allocations: 2.978 MB / 0.705 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.2593, allocations: 267.6 kB / 0.7052 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006508/0.2658, allocations: 2.996 MB / 0.7082 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/0.2681, allocations: 246.3 kB / 0.7084 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002889/0.2684, allocations: 67.92 kB / 0.7085 GB, free: 14.94 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 (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.0007699/0.2692, allocations: 298.6 kB / 0.7087 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004656/0.2697, allocations: 161.9 kB / 0.7089 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/0.2842, allocations: 4.819 MB / 0.7136 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.2842, allocations: 12 kB / 0.7136 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.2842, allocations: 0 / 0.7136 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/0.2843, allocations: 11.91 kB / 0.7136 GB, free: 9.609 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.0168/0.3011, allocations: 6.897 MB / 0.7204 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3011, allocations: 0 / 0.7204 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007648/0.3019, allocations: 139.8 kB / 0.7205 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006597/0.3085, allocations: 2.149 MB / 0.7226 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.3086, allocations: 27.98 kB / 0.7226 GB, free: 264 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02307/0.3317, allocations: 10.05 MB / 0.7324 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3318, allocations: 0 / 0.7324 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01677/0.3485, allocations: 5.944 MB / 0.7382 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005961/0.3492, allocations: 274.7 kB / 0.7385 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/0.3496, allocations: 31.94 kB / 0.7385 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/0.3512, allocations: 131.8 kB / 0.7387 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008132/0.352, allocations: 265.3 kB / 0.7389 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.3522, allocations: 35.98 kB / 0.7389 GB, free: 15.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001598/0.3538, allocations: 0.9503 MB / 0.7399 GB, free: 14.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3538, allocations: 4 kB / 0.7399 GB, free: 14.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001648/0.3554, allocations: 0.5307 MB / 0.7404 GB, free: 13.86 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,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.01663/0.3721, allocations: 6.557 MB / 0.7468 GB, free: 7.258 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008117/0.3802, allocations: 2.9 MB / 0.7496 GB, free: 4.359 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3803, allocations: 0 / 0.7496 GB, free: 4.359 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005463/0.3857, allocations: 1.918 MB / 0.7515 GB, free: 2.422 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.3872, allocations: 138.9 kB / 0.7516 GB, free: 2.289 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3022/0.6894, allocations: 18.99 MB / 0.7702 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007472/0.6902, allocations: 1.229 MB / 0.7714 GB, free: 118 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000669/0.6909, allocations: 139.4 kB / 0.7715 GB, free: 118 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000689/0.6916, allocations: 0.6097 MB / 0.7721 GB, free: 118 MB / 0.5606 GB Notification: Performance of SimCode: time 9.21e-07/0.6916, allocations: 0 / 0.7721 GB, free: 118 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06304/0.7547, allocations: 44.15 MB / 0.8152 GB, free: 87.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.64, allocations: 15.52 kB / 0.8152 GB, free: 87.53 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)