Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.SEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",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.001803/0.001803, allocations: 103.6 kB / 15.78 MB, free: 5.93 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.44/1.44, allocations: 225.6 MB / 242.1 MB, free: 3.781 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.001461/0.001461, allocations: 181.8 kB / 295.1 MB, free: 4.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5099/0.5099, allocations: 79.72 MB / 427.7 MB, free: 40.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 83.86 kB / 0.5699 GB, free: 10.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3452, allocations: 72.07 MB / 0.6403 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.008073/0.3533, allocations: 8.073 MB / 0.6482 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005328/0.3586, allocations: 2.525 MB / 0.6507 GB, free: 15.19 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.3601, allocations: 13.31 kB / 0.6507 GB, free: 15.19 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009666/0.361, allocations: 308.7 kB / 0.651 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003883/0.3649, allocations: 1.254 MB / 0.6522 GB, free: 13.94 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.3667, allocations: 0.6611 MB / 0.6529 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003868/0.3705, allocations: 2.284 MB / 0.6551 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006333/0.3712, allocations: 283.3 kB / 0.6554 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.3734, allocations: 0.862 MB / 0.6562 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002317/0.3757, allocations: 1.123 MB / 0.6573 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005026/0.3762, allocations: 176 kB / 0.6575 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.3773, allocations: 402.7 kB / 0.6579 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005273/0.3779, allocations: 454.5 kB / 0.6583 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.3791, allocations: 0.8844 MB / 0.6591 GB, free: 9.363 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003525/0.3826, allocations: 2.234 MB / 0.6613 GB, free: 7.691 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3826, allocations: 0 / 0.6613 GB, free: 7.691 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3826, allocations: 0 / 0.6613 GB, free: 7.691 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.092e-05/0.3827, allocations: 0 / 0.6613 GB, free: 7.691 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01494/0.3976, allocations: 3.771 MB / 0.665 GB, free: 5.492 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3976, allocations: 9.438 kB / 0.665 GB, free: 5.492 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002261/0.3979, allocations: 155.6 kB / 0.6652 GB, free: 5.363 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004722/0.4026, allocations: 0.7595 MB / 0.6659 GB, free: 5.035 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/0.405, allocations: 1.101 MB / 0.667 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005138/0.4055, allocations: 424.7 kB / 0.6674 GB, free: 3.418 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000246/0.4058, allocations: 111.9 kB / 0.6675 GB, free: 3.309 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.4088, allocations: 1.385 MB / 0.6689 GB, free: 1.906 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.4089, allocations: 0 / 0.6689 GB, free: 1.906 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.409, allocations: 36 kB / 0.6689 GB, free: 1.871 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.409, allocations: 31.98 kB / 0.6689 GB, free: 1.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002995/0.412, allocations: 1.308 MB / 0.6702 GB, free: 0.5312 MB / 462.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.01047/0.4225, allocations: 4.818 MB / 0.6749 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008446/0.4309, allocations: 2.757 MB / 0.6776 GB, free: 8.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002165/0.4331, allocations: 0.8136 MB / 0.6784 GB, free: 7.777 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.4332, allocations: 20.97 kB / 0.6784 GB, free: 7.758 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00224/0.4354, allocations: 1.042 MB / 0.6794 GB, free: 6.691 MB / 478.1 MB Notification: Performance of pre-optimization done (n=122): time 3.217e-06/0.4354, allocations: 0 / 0.6794 GB, free: 6.691 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.04025/0.4757, allocations: 9.645 MB / 0.6888 GB, free: 13.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.935e-05/0.4758, allocations: 115.8 kB / 0.689 GB, free: 12.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002517/0.4783, allocations: 1.39 MB / 0.6903 GB, free: 11.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003506/0.4787, allocations: 53.7 kB / 0.6904 GB, free: 11.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005406/0.4792, allocations: 0.5851 MB / 0.6909 GB, free: 10.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005571/0.4798, allocations: 468 kB / 0.6914 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006445/0.4804, allocations: 331.5 kB / 0.6917 GB, free: 10.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.4806, allocations: 301.1 kB / 0.692 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.4827, allocations: 0.9643 MB / 0.6929 GB, free: 8.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002356/0.4851, allocations: 1.158 MB / 0.6941 GB, free: 7.562 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004328/0.4894, allocations: 2.046 MB / 0.6961 GB, free: 5.477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.4894, allocations: 4 kB / 0.6961 GB, free: 5.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01709/0.5065, allocations: 5.353 MB / 0.7013 GB, free: 108 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.5065, allocations: 11.94 kB / 0.7013 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.5066, allocations: 4 kB / 0.7013 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/0.5166, allocations: 2.88 MB / 0.7041 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.5181, allocations: 275.6 kB / 0.7044 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007337/0.5255, allocations: 2.865 MB / 0.7072 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/0.5282, allocations: 250.8 kB / 0.7074 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002577/0.5284, allocations: 71.92 kB / 0.7075 GB, free: 9.723 MB / 0.4981 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 (167): * Single equations (assignments): 166 * 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 {(33,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0007178/0.5292, allocations: 300.3 kB / 0.7078 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004318/0.5296, allocations: 166.9 kB / 0.7079 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/0.5455, allocations: 4.682 MB / 0.7125 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/0.5455, allocations: 12 kB / 0.7125 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.5455, allocations: 4 kB / 0.7125 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.871e-05/0.5455, allocations: 11.97 kB / 0.7125 GB, free: 4.52 MB / 0.4981 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.01976/0.5653, allocations: 6.757 MB / 0.7191 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.5653, allocations: 0 / 0.7191 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009547/0.5663, allocations: 135.8 kB / 0.7193 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007602/0.5739, allocations: 2.142 MB / 0.7213 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003224/0.5742, allocations: 27.98 kB / 0.7214 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02627/0.6005, allocations: 10.08 MB / 0.7312 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.6005, allocations: 7.984 kB / 0.7312 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/0.619, allocations: 5.83 MB / 0.7369 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006999/0.6197, allocations: 283.6 kB / 0.7372 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.6199, allocations: 20 kB / 0.7372 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/0.6216, allocations: 135.8 kB / 0.7373 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008331/0.6224, allocations: 265 kB / 0.7376 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-05/0.6225, allocations: 32 kB / 0.7376 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001538/0.624, allocations: 0.9379 MB / 0.7385 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.624, allocations: 0 / 0.7385 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001447/0.6255, allocations: 0.523 MB / 0.739 GB, free: 9.02 MB / 0.5294 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,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * 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 (79): * Single equations (assignments): 78 * 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.01879/0.6443, allocations: 6.452 MB / 0.7453 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008779/0.653, allocations: 2.677 MB / 0.748 GB, free: 15.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6531, allocations: 0 / 0.748 GB, free: 15.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006204/0.6593, allocations: 1.827 MB / 0.7497 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.6605, allocations: 139.7 kB / 0.7499 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04505/0.7056, allocations: 18.58 MB / 0.768 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000915/0.7065, allocations: 1.215 MB / 0.7692 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007046/0.7072, allocations: 141.7 kB / 0.7693 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009342/0.7081, allocations: 0.5969 MB / 0.7699 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.7081, allocations: 0 / 0.7699 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3519/1.06, allocations: 43.51 MB / 0.8124 GB, free: 154.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.66, allocations: 6.75 kB / 0.8124 GB, free: 154.3 MB / 0.5919 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)