Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08546/0.08546, allocations: 12.6 MB / 28.1 MB, free: 136 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 111.5 kB / 31.7 MB, free: 3.48 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.1 MB / 240.3 MB, free: 12.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001528, allocations: 192.5 kB / 290.6 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.446/0.446, allocations: 78.5 MB / 419.2 MB, free: 11.34 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004662/0.004662, allocations: 139.8 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3384, allocations: 68.12 MB / 0.5547 GB, free: 32.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.008396/0.3469, allocations: 8.3 MB / 0.5628 GB, free: 26.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005494/0.3524, allocations: 2.528 MB / 0.5653 GB, free: 24.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.3536, allocations: 16.44 kB / 0.5653 GB, free: 24.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009335/0.3545, allocations: 321.1 kB / 0.5656 GB, free: 24.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002689/0.3573, allocations: 1.196 MB / 0.5668 GB, free: 23.23 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001432/0.3587, allocations: 0.6936 MB / 0.5674 GB, free: 22.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002903/0.3617, allocations: 2.321 MB / 0.5697 GB, free: 21.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006634/0.3623, allocations: 421.1 kB / 0.5701 GB, free: 21.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.3636, allocations: 0.8806 MB / 0.571 GB, free: 20.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.3648, allocations: 1.134 MB / 0.5721 GB, free: 19.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003212/0.3651, allocations: 181.9 kB / 0.5722 GB, free: 19.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007832/0.3659, allocations: 412.6 kB / 0.5726 GB, free: 19.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.3662, allocations: 468.9 kB / 0.5731 GB, free: 19.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007695/0.367, allocations: 0.905 MB / 0.574 GB, free: 18.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.3691, allocations: 2.27 MB / 0.5762 GB, free: 16.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3691, allocations: 0 / 0.5762 GB, free: 16.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3691, allocations: 1.188 kB / 0.5762 GB, free: 16.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.742e-05/0.3692, allocations: 0 / 0.5762 GB, free: 16.81 MB / 398.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.01295/0.3821, allocations: 3.758 MB / 0.5799 GB, free: 13.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.3822, allocations: 11.98 kB / 0.5799 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.3824, allocations: 156.1 kB / 0.58 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00438/0.3868, allocations: 0.7471 MB / 0.5807 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.3885, allocations: 1.116 MB / 0.5818 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003372/0.3888, allocations: 428.6 kB / 0.5822 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.389, allocations: 112 kB / 0.5823 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.3914, allocations: 1.432 MB / 0.5837 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.3914, allocations: 0 / 0.5837 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.3916, allocations: 44 kB / 0.5838 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.3916, allocations: 20 kB / 0.5838 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/0.3941, allocations: 1.347 MB / 0.5851 GB, free: 8.09 MB / 398.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.007129/0.4012, allocations: 4.938 MB / 0.5899 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007431/0.4087, allocations: 2.894 MB / 0.5928 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.4108, allocations: 0.919 MB / 0.5937 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.4109, allocations: 16.98 kB / 0.5937 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002267/0.4132, allocations: 1.065 MB / 0.5947 GB, free: 13.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 3.256e-06/0.4132, allocations: 0 / 0.5947 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.04152/0.4547, allocations: 9.781 MB / 0.6043 GB, free: 4.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.4549, allocations: 127.8 kB / 0.6044 GB, free: 3.895 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002939/0.4578, allocations: 1.411 MB / 0.6058 GB, free: 2.473 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002944/0.4582, allocations: 53.77 kB / 0.6058 GB, free: 2.414 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005473/0.4587, allocations: 0.6002 MB / 0.6064 GB, free: 1.809 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006082/0.4593, allocations: 461.4 kB / 0.6069 GB, free: 1.352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00067/0.46, allocations: 339.4 kB / 0.6072 GB, free: 1.016 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4601, allocations: 301.1 kB / 0.6075 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/0.4623, allocations: 0.9644 MB / 0.6084 GB, free: 15.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/0.4647, allocations: 1.17 MB / 0.6095 GB, free: 14.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004527/0.4693, allocations: 2.081 MB / 0.6116 GB, free: 12.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.4693, allocations: 0 / 0.6116 GB, free: 12.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009979/0.4793, allocations: 3.711 MB / 0.6152 GB, free: 8.691 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.4793, allocations: 8 kB / 0.6152 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.4794, allocations: 4 kB / 0.6152 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01048/0.4899, allocations: 2.985 MB / 0.6181 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.4913, allocations: 263.6 kB / 0.6184 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007793/0.4991, allocations: 2.992 MB / 0.6213 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/0.502, allocations: 254.2 kB / 0.6215 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003402/0.5023, allocations: 71.92 kB / 0.6216 GB, free: 2.094 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.0008835/0.5032, allocations: 297.5 kB / 0.6219 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006051/0.5038, allocations: 158 kB / 0.6221 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01706/0.5209, allocations: 4.815 MB / 0.6268 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.521, allocations: 15.94 kB / 0.6268 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.521, allocations: 0 / 0.6268 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-05/0.521, allocations: 7.922 kB / 0.6268 GB, free: 12.78 MB / 446.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.02073/0.5417, allocations: 6.891 MB / 0.6335 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.5418, allocations: 4.031 kB / 0.6335 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009016/0.5427, allocations: 143.7 kB / 0.6336 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007965/0.5507, allocations: 2.153 MB / 0.6357 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002301/0.5509, allocations: 27.98 kB / 0.6358 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02759/0.5785, allocations: 10.07 MB / 0.6456 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.5786, allocations: 3.984 kB / 0.6456 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/0.5982, allocations: 5.946 MB / 0.6514 GB, free: 3.215 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007524/0.599, allocations: 282.6 kB / 0.6517 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000526/0.5995, allocations: 23.94 kB / 0.6517 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/0.6015, allocations: 139.8 kB / 0.6519 GB, free: 2.758 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009274/0.6025, allocations: 257.4 kB / 0.6521 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/0.6027, allocations: 32 kB / 0.6521 GB, free: 2.477 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001972/0.6046, allocations: 0.9542 MB / 0.6531 GB, free: 1.523 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6047, allocations: 0 / 0.6531 GB, free: 1.523 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002034/0.6067, allocations: 0.523 MB / 0.6536 GB, free: 1 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.01987/0.6266, allocations: 6.568 MB / 0.66 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01022/0.6368, allocations: 2.93 MB / 0.6628 GB, free: 7.465 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6369, allocations: 224 / 0.6628 GB, free: 7.465 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006751/0.6436, allocations: 1.94 MB / 0.6647 GB, free: 5.516 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.6456, allocations: 145.4 kB / 0.6649 GB, free: 5.379 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04965/0.6953, allocations: 20.22 MB / 0.6846 GB, free: 304 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.6964, allocations: 1.227 MB / 0.6858 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007117/0.6972, allocations: 138 kB / 0.686 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/0.6982, allocations: 0.6047 MB / 0.6865 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.352e-06/0.6982, allocations: 0 / 0.6865 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3809/1.079, allocations: 43.61 MB / 0.7291 GB, free: 148.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.6, allocations: 5.078 kB / 0.7291 GB, free: 148.2 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)