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.001397/0.001397, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 239.3 MB, free: 4.559 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.001273/0.001273, allocations: 188.5 kB / 289.6 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4229/0.4229, allocations: 78.53 MB / 418.3 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 75.89 kB / 497.6 MB, free: 6.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1048, allocations: 68.18 MB / 0.5525 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.1833/0.2881, allocations: 8.255 MB / 0.5605 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003873/0.292, allocations: 2.557 MB / 0.563 GB, free: 34.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005906/0.2926, allocations: 13.81 kB / 0.5631 GB, free: 34.33 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006936/0.2933, allocations: 323.2 kB / 0.5634 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.2957, allocations: 1.187 MB / 0.5645 GB, free: 33.98 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.001169/0.2969, allocations: 0.6935 MB / 0.5652 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001793/0.2987, allocations: 2.327 MB / 0.5675 GB, free: 33.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004855/0.2992, allocations: 416.3 kB / 0.5679 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007928/0.3, allocations: 0.8849 MB / 0.5687 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009251/0.3009, allocations: 1.131 MB / 0.5698 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002462/0.3011, allocations: 183.4 kB / 0.57 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000625/0.3018, allocations: 414.9 kB / 0.5704 GB, free: 32.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002766/0.3021, allocations: 462.9 kB / 0.5708 GB, free: 32.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005609/0.3026, allocations: 0.9082 MB / 0.5717 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.3043, allocations: 2.258 MB / 0.5739 GB, free: 31.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3043, allocations: 8.094 kB / 0.5739 GB, free: 31.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3043, allocations: 0.8438 kB / 0.5739 GB, free: 31.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.309e-05/0.3043, allocations: 0 / 0.5739 GB, free: 31.98 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.01252/0.3169, allocations: 3.762 MB / 0.5776 GB, free: 30.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3169, allocations: 11.5 kB / 0.5776 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.3171, allocations: 157.3 kB / 0.5778 GB, free: 30.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004361/0.3214, allocations: 0.7482 MB / 0.5785 GB, free: 30.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.323, allocations: 1.107 MB / 0.5796 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003511/0.3234, allocations: 435.3 kB / 0.58 GB, free: 29.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.3236, allocations: 114.6 kB / 0.5801 GB, free: 29.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/0.326, allocations: 1.426 MB / 0.5815 GB, free: 29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.3261, allocations: 4 kB / 0.5815 GB, free: 28.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.3262, allocations: 35.94 kB / 0.5815 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.3262, allocations: 23.72 kB / 0.5816 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002672/0.3289, allocations: 1.347 MB / 0.5829 GB, free: 28.52 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.007178/0.3361, allocations: 4.94 MB / 0.5877 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00777/0.3439, allocations: 2.889 MB / 0.5905 GB, free: 24.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/0.3457, allocations: 0.9177 MB / 0.5914 GB, free: 24.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.3458, allocations: 25.31 kB / 0.5915 GB, free: 24.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002096/0.3479, allocations: 1.057 MB / 0.5925 GB, free: 23.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 2.845e-06/0.348, allocations: 0 / 0.5925 GB, free: 23.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04094/0.3889, allocations: 9.797 MB / 0.6021 GB, free: 22.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.389, allocations: 116.4 kB / 0.6022 GB, free: 21.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.391, allocations: 1.418 MB / 0.6035 GB, free: 21.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002589/0.3913, allocations: 50.92 kB / 0.6036 GB, free: 21.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.3916, allocations: 0.594 MB / 0.6042 GB, free: 20.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/0.392, allocations: 468 kB / 0.6046 GB, free: 20.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005538/0.3926, allocations: 332 kB / 0.6049 GB, free: 20.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.217e-05/0.3926, allocations: 306.3 kB / 0.6052 GB, free: 19.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/0.3946, allocations: 0.9652 MB / 0.6062 GB, free: 19.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.3967, allocations: 1.174 MB / 0.6073 GB, free: 18.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003937/0.4007, allocations: 2.084 MB / 0.6094 GB, free: 17.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.4007, allocations: 5.844 kB / 0.6094 GB, free: 17.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008655/0.4093, allocations: 3.709 MB / 0.613 GB, free: 15.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4094, allocations: 7.5 kB / 0.613 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.4094, allocations: 5.188 kB / 0.613 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009189/0.4186, allocations: 2.98 MB / 0.6159 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.4199, allocations: 271.6 kB / 0.6162 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00635/0.4262, allocations: 2.99 MB / 0.6191 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.4287, allocations: 246.3 kB / 0.6193 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.4288, allocations: 67.92 kB / 0.6194 GB, free: 10.13 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 ($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.0005721/0.4294, allocations: 301.5 kB / 0.6197 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003165/0.4297, allocations: 161.9 kB / 0.6198 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/0.4444, allocations: 4.815 MB / 0.6245 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.4444, allocations: 13.08 kB / 0.6245 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4444, allocations: 4 kB / 0.6245 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.55e-05/0.4445, allocations: 7.922 kB / 0.6246 GB, free: 4.809 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.01773/0.4622, allocations: 6.891 MB / 0.6313 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.4623, allocations: 1.062 kB / 0.6313 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008261/0.4631, allocations: 148.4 kB / 0.6314 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007492/0.4706, allocations: 2.147 MB / 0.6335 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/0.4708, allocations: 24 kB / 0.6335 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02558/0.4964, allocations: 10.07 MB / 0.6434 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4964, allocations: 0.8125 kB / 0.6434 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01877/0.5152, allocations: 5.946 MB / 0.6492 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005559/0.5158, allocations: 274.7 kB / 0.6494 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/0.516, allocations: 28.05 kB / 0.6495 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/0.5176, allocations: 139.8 kB / 0.6496 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007554/0.5184, allocations: 258.3 kB / 0.6499 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.752e-05/0.5185, allocations: 35.98 kB / 0.6499 GB, free: 10.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00136/0.5198, allocations: 0.9543 MB / 0.6508 GB, free: 9.559 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5199, allocations: 1.688 kB / 0.6508 GB, free: 9.559 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001273/0.5211, allocations: 0.5229 MB / 0.6513 GB, free: 9.035 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 (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.01907/0.5402, allocations: 6.564 MB / 0.6577 GB, free: 2.434 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009519/0.5498, allocations: 2.935 MB / 0.6606 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5498, allocations: 0 / 0.6606 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006168/0.556, allocations: 1.93 MB / 0.6625 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.5571, allocations: 137.3 kB / 0.6626 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04266/0.5998, allocations: 20.23 MB / 0.6824 GB, free: 8.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006514/0.6005, allocations: 1.223 MB / 0.6836 GB, free: 7.156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005452/0.6011, allocations: 142.6 kB / 0.6837 GB, free: 7.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007385/0.6018, allocations: 0.6093 MB / 0.6843 GB, free: 6.414 MB / 494.1 MB Notification: Performance of SimCode: time 6.42e-07/0.6018, allocations: 4 kB / 0.6843 GB, free: 6.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07106/0.6729, allocations: 43.59 MB / 0.7269 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.09, allocations: 5.766 kB / 0.7269 GB, free: 11.11 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/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)