Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_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.001042/0.001042, allocations: 91.38 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.633/1.633, allocations: 223.2 MB / 239 MB, free: 5.469 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.002515/0.002515, allocations: 168.6 kB / 290.3 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.6286/0.6286, allocations: 78.55 MB / 419.9 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004119, allocations: 12 kB / 499.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1917, allocations: 69.36 MB / 0.5559 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.3753/0.5671, allocations: 7.574 MB / 0.5633 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00642/0.5735, allocations: 2.468 MB / 0.5657 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.5748, allocations: 13 kB / 0.5657 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008661/0.5757, allocations: 222.6 kB / 0.5659 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.5787, allocations: 0.9871 MB / 0.5669 GB, free: 36.1 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001612/0.5803, allocations: 0.5621 MB / 0.5674 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.5826, allocations: 2.081 MB / 0.5695 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006308/0.5833, allocations: 343.2 kB / 0.5698 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.5843, allocations: 0.7422 MB / 0.5705 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.5856, allocations: 0.9999 MB / 0.5715 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.5858, allocations: 88.5 kB / 0.5716 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007085/0.5865, allocations: 294.1 kB / 0.5719 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003176/0.5869, allocations: 363 kB / 0.5722 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.5871, allocations: 285.2 kB / 0.5725 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.5885, allocations: 1.692 MB / 0.5741 GB, free: 33.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.5885, allocations: 4 kB / 0.5741 GB, free: 33.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5885, allocations: 0 / 0.5741 GB, free: 33.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.5886, allocations: 0 / 0.5741 GB, free: 33.97 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.01137/0.5999, allocations: 3.557 MB / 0.5776 GB, free: 32.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.6, allocations: 18.03 kB / 0.5776 GB, free: 32.69 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003485/0.6004, allocations: 155.4 kB / 0.5778 GB, free: 32.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004147/0.6045, allocations: 0.7565 MB / 0.5785 GB, free: 32.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.6065, allocations: 1.061 MB / 0.5796 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000449/0.607, allocations: 444.6 kB / 0.58 GB, free: 31.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.6072, allocations: 111.2 kB / 0.5801 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.61, allocations: 1.505 MB / 0.5816 GB, free: 30.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.61, allocations: 0 / 0.5816 GB, free: 30.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.6101, allocations: 41.31 kB / 0.5816 GB, free: 30.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.6101, allocations: 22.97 kB / 0.5816 GB, free: 30.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/0.6129, allocations: 1.429 MB / 0.583 GB, free: 30.27 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.008482/0.6214, allocations: 5.017 MB / 0.5879 GB, free: 27.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008946/0.6304, allocations: 3.451 MB / 0.5913 GB, free: 26.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/0.6326, allocations: 0.9856 MB / 0.5922 GB, free: 25.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.6328, allocations: 31.61 kB / 0.5923 GB, free: 25.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0025/0.6353, allocations: 1.133 MB / 0.5934 GB, free: 25.37 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 4.779e-06/0.6353, allocations: 0.75 kB / 0.5934 GB, free: 25.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04408/0.6794, allocations: 11.9 MB / 0.605 GB, free: 23.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.458e-05/0.6796, allocations: 116.4 kB / 0.6051 GB, free: 23.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003581/0.6832, allocations: 1.407 MB / 0.6065 GB, free: 22.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005117/0.6837, allocations: 51.42 kB / 0.6065 GB, free: 22.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005439/0.6843, allocations: 0.5964 MB / 0.6071 GB, free: 22.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000627/0.6849, allocations: 463.9 kB / 0.6076 GB, free: 21.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.6851, allocations: 35.44 kB / 0.6076 GB, free: 21.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002688/0.6854, allocations: 375.6 kB / 0.608 GB, free: 21.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/0.6883, allocations: 1.045 MB / 0.609 GB, free: 21.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002921/0.6913, allocations: 1.253 MB / 0.6102 GB, free: 20.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/0.6937, allocations: 1.118 MB / 0.6113 GB, free: 19.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.6937, allocations: 2.281 kB / 0.6113 GB, free: 19.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00973/0.7034, allocations: 4.137 MB / 0.6153 GB, free: 16.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.7035, allocations: 8 kB / 0.6153 GB, free: 16.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.7035, allocations: 7.953 kB / 0.6153 GB, free: 16.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008772/0.7123, allocations: 3.352 MB / 0.6186 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.7136, allocations: 267.6 kB / 0.6189 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006421/0.72, allocations: 3.301 MB / 0.6221 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/0.7224, allocations: 302.8 kB / 0.6224 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.7226, allocations: 63.98 kB / 0.6224 GB, free: 9.641 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.0008078/0.7235, allocations: 293.5 kB / 0.6227 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000524/0.724, allocations: 166.4 kB / 0.6229 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01444/0.7384, allocations: 5.854 MB / 0.6286 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.7385, allocations: 12 kB / 0.6286 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.7385, allocations: 3.984 kB / 0.6286 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/0.7385, allocations: 7.984 kB / 0.6286 GB, free: 3.281 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.01995/0.7585, allocations: 7.932 MB / 0.6364 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.7586, allocations: 7.938 kB / 0.6364 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009617/0.7595, allocations: 139.8 kB / 0.6365 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007764/0.7673, allocations: 2.516 MB / 0.639 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000411/0.7678, allocations: 31.98 kB / 0.639 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0263/0.7941, allocations: 10.31 MB / 0.6491 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.7941, allocations: 0 / 0.6491 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02051/0.8147, allocations: 7.065 MB / 0.656 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.8157, allocations: 274.7 kB / 0.6562 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009173/0.8167, allocations: 31.98 kB / 0.6563 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/0.8189, allocations: 175.8 kB / 0.6564 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001191/0.8201, allocations: 261.2 kB / 0.6567 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003332/0.8204, allocations: 36.98 kB / 0.6567 GB, free: 6.191 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002895/0.8233, allocations: 0.9464 MB / 0.6576 GB, free: 5.246 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.8234, allocations: 0 / 0.6576 GB, free: 5.246 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003267/0.8266, allocations: 0.519 MB / 0.6581 GB, free: 4.727 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.02173/0.8484, allocations: 7.676 MB / 0.6656 GB, free: 13.01 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01032/0.8588, allocations: 3.201 MB / 0.6688 GB, free: 9.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.8588, allocations: 8.062 kB / 0.6688 GB, free: 9.812 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00667/0.8655, allocations: 2.161 MB / 0.6709 GB, free: 7.637 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/0.868, allocations: 134.9 kB / 0.671 GB, free: 7.504 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03552/0.9035, allocations: 14.02 MB / 0.6847 GB, free: 8.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.9048, allocations: 1.231 MB / 0.6859 GB, free: 7.668 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008395/0.9057, allocations: 139.7 kB / 0.686 GB, free: 7.535 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/0.9069, allocations: 0.6047 MB / 0.6866 GB, free: 6.93 MB / 494.1 MB Notification: Performance of SimCode: time 2.886e-06/0.9069, allocations: 4 kB / 0.6866 GB, free: 6.926 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08417/0.9911, allocations: 39.87 MB / 0.7256 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003344/0.9915, allocations: 196 kB / 0.7258 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.861/3.852, allocations: 0 / 0.7258 GB, free: 15.12 MB / 0.5294 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1) Environment - environmentSimulation: