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.0009246/0.0009248, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.45/1.45, allocations: 223.2 MB / 239 MB, free: 5.605 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.001486/0.001486, allocations: 191.6 kB / 290.3 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5736/0.5736, allocations: 79.47 MB / 420.8 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004096, allocations: 12 kB / 0.4892 GB, free: 5.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.4661, allocations: 69.51 MB / 0.5571 GB, free: 37.88 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.006908/0.473, allocations: 7.587 MB / 0.5645 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00467/0.4777, allocations: 2.474 MB / 0.5669 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007342/0.4785, allocations: 16.31 kB / 0.5669 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006756/0.4792, allocations: 219.9 kB / 0.5671 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.4812, allocations: 0.9101 MB / 0.568 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.4824, allocations: 0.5666 MB / 0.5686 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001787/0.4842, allocations: 1.953 MB / 0.5705 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005253/0.4848, allocations: 342.2 kB / 0.5708 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008007/0.4856, allocations: 0.7411 MB / 0.5715 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009874/0.4866, allocations: 0.9874 MB / 0.5725 GB, free: 34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.4868, allocations: 89.69 kB / 0.5726 GB, free: 34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005688/0.4873, allocations: 308.6 kB / 0.5729 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002838/0.4876, allocations: 346.3 kB / 0.5732 GB, free: 33.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.4879, allocations: 293 kB / 0.5735 GB, free: 33.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.4892, allocations: 1.69 MB / 0.5752 GB, free: 33.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.4892, allocations: 6.094 kB / 0.5752 GB, free: 33.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4892, allocations: 0 / 0.5752 GB, free: 33.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.951e-05/0.4892, allocations: 0 / 0.5752 GB, free: 33.08 MB / 430.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.009808/0.499, allocations: 3.344 MB / 0.5784 GB, free: 31.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.4991, allocations: 10.5 kB / 0.5784 GB, free: 31.83 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003132/0.4994, allocations: 158.1 kB / 0.5786 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004078/0.5035, allocations: 0.7551 MB / 0.5793 GB, free: 31.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.5054, allocations: 1.061 MB / 0.5804 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000414/0.5058, allocations: 438.1 kB / 0.5808 GB, free: 30.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.506, allocations: 113.5 kB / 0.5809 GB, free: 30.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.5088, allocations: 1.503 MB / 0.5824 GB, free: 29.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.5088, allocations: 3.938 kB / 0.5824 GB, free: 29.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.5089, allocations: 36.91 kB / 0.5824 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.509, allocations: 24.06 kB / 0.5824 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/0.5117, allocations: 1.432 MB / 0.5838 GB, free: 29.41 MB / 430.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.007853/0.5196, allocations: 5.014 MB / 0.5887 GB, free: 26.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008291/0.5279, allocations: 3.457 MB / 0.5921 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/0.5299, allocations: 0.9862 MB / 0.593 GB, free: 24.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.53, allocations: 21.31 kB / 0.5931 GB, free: 24.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002177/0.5322, allocations: 1.146 MB / 0.5942 GB, free: 24.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 2.995e-06/0.5322, allocations: 0 / 0.5942 GB, free: 24.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04117/0.5734, allocations: 11.9 MB / 0.6058 GB, free: 22.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.5735, allocations: 117.2 kB / 0.6059 GB, free: 22.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/0.5764, allocations: 1.398 MB / 0.6073 GB, free: 21.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004201/0.5768, allocations: 55.86 kB / 0.6073 GB, free: 21.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004876/0.5773, allocations: 0.5964 MB / 0.6079 GB, free: 21.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005676/0.5779, allocations: 471.2 kB / 0.6084 GB, free: 21.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.578, allocations: 35.62 kB / 0.6084 GB, free: 21.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5782, allocations: 371.8 kB / 0.6088 GB, free: 20.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002402/0.5806, allocations: 1.051 MB / 0.6098 GB, free: 20.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.583, allocations: 1.242 MB / 0.611 GB, free: 19.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.5852, allocations: 1.127 MB / 0.6121 GB, free: 19.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.5852, allocations: 1.656 kB / 0.6121 GB, free: 19.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009011/0.5943, allocations: 4.128 MB / 0.6161 GB, free: 16.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.5943, allocations: 11.95 kB / 0.6161 GB, free: 16.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.5943, allocations: 4 kB / 0.6161 GB, free: 16.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008511/0.6029, allocations: 3.364 MB / 0.6194 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.6043, allocations: 271.6 kB / 0.6197 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006205/0.6105, allocations: 3.311 MB / 0.6229 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.6129, allocations: 294.2 kB / 0.6232 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.613, allocations: 65.59 kB / 0.6233 GB, free: 8.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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {34 42} Notification: Performance of prepare postOptimizeDAE: time 0.0006416/0.6137, allocations: 309.9 kB / 0.6236 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.6139, allocations: 158 kB / 0.6237 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/0.6279, allocations: 5.854 MB / 0.6294 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.6279, allocations: 12 kB / 0.6294 GB, free: 2.418 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.628, allocations: 4 kB / 0.6294 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.073e-05/0.628, allocations: 7.969 kB / 0.6295 GB, free: 2.406 MB / 430.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.01784/0.6458, allocations: 7.936 MB / 0.6372 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.6459, allocations: 6.375 kB / 0.6372 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008083/0.6467, allocations: 147.8 kB / 0.6373 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007138/0.6539, allocations: 2.505 MB / 0.6398 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001757/0.6541, allocations: 29.55 kB / 0.6398 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0236/0.6777, allocations: 10.31 MB / 0.6499 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.6778, allocations: 3.938 kB / 0.6499 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01848/0.6962, allocations: 7.063 MB / 0.6568 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008019/0.6971, allocations: 283.7 kB / 0.6571 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/0.6973, allocations: 24.88 kB / 0.6571 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.6988, allocations: 179.8 kB / 0.6573 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007968/0.6996, allocations: 269.2 kB / 0.6575 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-05/0.6997, allocations: 35.98 kB / 0.6575 GB, free: 5.301 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001434/0.7011, allocations: 0.9425 MB / 0.6585 GB, free: 4.359 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7011, allocations: 0 / 0.6585 GB, free: 4.359 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001495/0.7026, allocations: 0.5307 MB / 0.659 GB, free: 3.828 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,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01829/0.7209, allocations: 7.664 MB / 0.6665 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008951/0.7299, allocations: 3.209 MB / 0.6696 GB, free: 8.922 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.73, allocations: 0 / 0.6696 GB, free: 8.922 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006112/0.7361, allocations: 2.166 MB / 0.6717 GB, free: 6.742 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.7378, allocations: 133.2 kB / 0.6718 GB, free: 6.609 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02855/0.7664, allocations: 14.03 MB / 0.6856 GB, free: 8.023 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000838/0.7673, allocations: 1.223 MB / 0.6867 GB, free: 6.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007946/0.7681, allocations: 144.9 kB / 0.6869 GB, free: 6.629 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008905/0.769, allocations: 0.5983 MB / 0.6875 GB, free: 6.031 MB / 494.1 MB Notification: Performance of SimCode: time 1.422e-06/0.769, allocations: 0 / 0.6875 GB, free: 6.031 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0687/0.8377, allocations: 39.92 MB / 0.7265 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/0.8379, allocations: 205.8 kB / 0.7267 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.309/4.147, allocations: 0 / 0.7267 GB, free: 14.18 MB / 0.5294 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/linux/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) Environment - environmentSimulation: