Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001348/0.001347, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.3 MB / 213.4 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009049/0.0009053, allocations: 82.38 kB / 261.4 MB, free: 1.699 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07767/0.07767, allocations: 12.2 MB / 321.5 MB, free: 15.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.534/0.534, allocations: 78.04 MB / 450.3 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.886e-05, allocations: 2.625 kB / 0.5142 GB, free: 42.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.14, allocations: 69.25 MB / 0.5819 GB, free: 1.297 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.2892, allocations: 110.6 MB / 0.6898 GB, free: 2.582 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.2895, allocations: 87.94 kB / 0.6899 GB, free: 2.496 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4709/0.7605, allocations: 39.83 MB / 0.7288 GB, free: 84.74 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.7605, allocations: 0 / 0.7288 GB, free: 84.74 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001371/0.7607, allocations: 28 kB / 0.7288 GB, free: 84.71 MB / 474.7 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.007051/0.7678, allocations: 2.009 MB / 0.7308 GB, free: 82.66 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.7678, allocations: 12.03 kB / 0.7308 GB, free: 82.65 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0038/0.7716, allocations: 0.552 MB / 0.7314 GB, free: 82.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003154/0.7748, allocations: 0.9603 MB / 0.7323 GB, free: 81.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000524/0.7754, allocations: 396.7 kB / 0.7327 GB, free: 80.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005542/0.776, allocations: 56 kB / 0.7327 GB, free: 80.61 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002782/0.7788, allocations: 1.051 MB / 0.7337 GB, free: 79.55 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/0.7816, allocations: 1.045 MB / 0.7348 GB, free: 78.49 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.7817, allocations: 8 kB / 0.7348 GB, free: 78.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.7818, allocations: 0 / 0.7348 GB, free: 78.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.7819, allocations: 23.98 kB / 0.7348 GB, free: 78.46 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01042/0.7923, allocations: 4.622 MB / 0.7393 GB, free: 73.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007301/0.7996, allocations: 3.052 MB / 0.7423 GB, free: 70.49 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.8012, allocations: 0.6821 MB / 0.743 GB, free: 69.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/0.8015, allocations: 21.2 kB / 0.743 GB, free: 69.79 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002027/0.8036, allocations: 0.8188 MB / 0.7438 GB, free: 68.95 MB / 474.7 MB Notification: Performance of pre-optimization done (n=122): time 8.836e-06/0.8036, allocations: 0 / 0.7438 GB, free: 68.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=122): time 0.01557/0.8192, allocations: 4.887 MB / 0.7486 GB, free: 64.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.8193, allocations: 116.1 kB / 0.7487 GB, free: 63.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/0.8218, allocations: 1.029 MB / 0.7497 GB, free: 62.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000463/0.8223, allocations: 29.7 kB / 0.7497 GB, free: 62.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/0.8229, allocations: 0.6197 MB / 0.7503 GB, free: 62.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009086/0.8238, allocations: 417.7 kB / 0.7507 GB, free: 61.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.8241, allocations: 0 / 0.7507 GB, free: 61.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.8242, allocations: 353.9 kB / 0.751 GB, free: 61.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.8254, allocations: 0.5417 MB / 0.7516 GB, free: 60.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.8265, allocations: 0.6958 MB / 0.7522 GB, free: 60.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.8279, allocations: 0.612 MB / 0.7528 GB, free: 59.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.8279, allocations: 4 kB / 0.7528 GB, free: 59.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004369/0.8323, allocations: 1.97 MB / 0.7548 GB, free: 57.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.8323, allocations: 4 kB / 0.7548 GB, free: 57.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.8324, allocations: 4 kB / 0.7548 GB, free: 57.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007785/0.8402, allocations: 2.42 MB / 0.7571 GB, free: 55.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008939/0.8411, allocations: 159.7 kB / 0.7573 GB, free: 54.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005778/0.8469, allocations: 2.624 MB / 0.7599 GB, free: 52.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/0.8496, allocations: 218.9 kB / 0.7601 GB, free: 52.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000298/0.8499, allocations: 43.98 kB / 0.7601 GB, free: 52.07 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sEXS.V_erro.y:VARIABLE() "Connector of Real output signal" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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 31} Notification: Performance of prepare postOptimizeDAE: time 0.000561/0.8505, allocations: 136.4 kB / 0.7602 GB, free: 51.94 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01518/0.8657, allocations: 4.872 MB / 0.765 GB, free: 47.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001301/0.8671, allocations: 154.1 kB / 0.7651 GB, free: 46.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01721/0.8844, allocations: 5.014 MB / 0.77 GB, free: 41.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.362e-05/0.8845, allocations: 16 kB / 0.7701 GB, free: 41.85 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.8845, allocations: 0 / 0.7701 GB, free: 41.85 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.093e-05/0.8846, allocations: 7.984 kB / 0.7701 GB, free: 41.84 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0172/0.9018, allocations: 6.846 MB / 0.7767 GB, free: 34.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/0.9019, allocations: 0 / 0.7767 GB, free: 34.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.9029, allocations: 135.8 kB / 0.7769 GB, free: 34.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005928/0.9089, allocations: 1.986 MB / 0.7788 GB, free: 32.75 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003902/0.9093, allocations: 15.94 kB / 0.7788 GB, free: 32.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01631/0.9256, allocations: 7.716 MB / 0.7864 GB, free: 24.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.9257, allocations: 0 / 0.7864 GB, free: 24.89 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/0.9412, allocations: 5.901 MB / 0.7921 GB, free: 18.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009084/0.9422, allocations: 274.8 kB / 0.7924 GB, free: 18.66 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003983/0.9426, allocations: 11.94 kB / 0.7924 GB, free: 18.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/0.9443, allocations: 159.8 kB / 0.7926 GB, free: 18.49 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008016/0.9451, allocations: 253.3 kB / 0.7928 GB, free: 18.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.77e-05/0.9452, allocations: 35.98 kB / 0.7928 GB, free: 18.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001164/0.9464, allocations: 0.7922 MB / 0.7936 GB, free: 17.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9464, allocations: 0 / 0.7936 GB, free: 17.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001562/0.948, allocations: 447.3 kB / 0.794 GB, free: 16.97 MB / 474.7 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,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete 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 (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.01561/0.9636, allocations: 6.639 MB / 0.8005 GB, free: 10.28 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006877/0.9705, allocations: 2.246 MB / 0.8027 GB, free: 8.035 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.9706, allocations: 0 / 0.8027 GB, free: 8.035 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00544/0.9761, allocations: 1.815 MB / 0.8045 GB, free: 6.207 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.9777, allocations: 97.05 kB / 0.8046 GB, free: 6.113 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005528/0.9833, allocations: 2.484 MB / 0.807 GB, free: 3.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006134/0.9839, allocations: 1.242 MB / 0.8082 GB, free: 2.297 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006563/0.9846, allocations: 116 kB / 0.8083 GB, free: 2.18 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007192/0.9853, allocations: 0.5657 MB / 0.8089 GB, free: 1.613 MB / 474.7 MB Notification: Performance of SimCode: time 1.864e-06/0.9853, allocations: 0 / 0.8089 GB, free: 1.613 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0819/1.067, allocations: 34.44 MB / 0.8425 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/1.068, allocations: 124.2 kB / 0.8426 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/4.481, allocations: 4 kB / 0.8426 GB, free: 15.03 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)