Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008283/0.0008283, allocations: 95.97 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4559/0.4559, allocations: 78.9 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.692e-05/2.696e-05, allocations: 4 kB / 492.9 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3469, allocations: 69.51 MB / 0.5492 GB, free: 19.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.4757, allocations: 113.2 MB / 0.6598 GB, free: 2.34 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.4761, allocations: 95.92 kB / 0.6599 GB, free: 2.246 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3917/0.8678, allocations: 46.18 MB / 0.705 GB, free: 104.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.8678, allocations: 0 / 0.705 GB, free: 104.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.281e-05/0.8679, allocations: 34.5 kB / 0.705 GB, free: 104.7 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.005592/0.8735, allocations: 2.335 MB / 0.7073 GB, free: 102.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.8736, allocations: 19.97 kB / 0.7073 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002191/0.8738, allocations: 181.3 kB / 0.7075 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00401/0.8778, allocations: 0.7979 MB / 0.7083 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.8797, allocations: 1.123 MB / 0.7094 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004294/0.8801, allocations: 0.5159 MB / 0.7099 GB, free: 99.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.8803, allocations: 119.9 kB / 0.71 GB, free: 99.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.8824, allocations: 1.43 MB / 0.7114 GB, free: 98.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.8825, allocations: 0 / 0.7114 GB, free: 98.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.8826, allocations: 52 kB / 0.7114 GB, free: 98.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.8826, allocations: 28 kB / 0.7114 GB, free: 98.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.8845, allocations: 1.239 MB / 0.7127 GB, free: 96.93 MB / 490.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.008509/0.893, allocations: 6.01 MB / 0.7185 GB, free: 90.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00771/0.9008, allocations: 3.531 MB / 0.722 GB, free: 87.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.9018, allocations: 0.772 MB / 0.7227 GB, free: 86.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.902, allocations: 25.2 kB / 0.7228 GB, free: 86.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.902, allocations: 55.81 kB / 0.7228 GB, free: 86.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=136): time 3.106e-06/0.902, allocations: 4 kB / 0.7228 GB, free: 86.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=136): time 0.01406/0.9161, allocations: 5.168 MB / 0.7279 GB, free: 80.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.9162, allocations: 201.2 kB / 0.7281 GB, free: 80.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.9178, allocations: 1.249 MB / 0.7293 GB, free: 79.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.9181, allocations: 53.7 kB / 0.7293 GB, free: 79.44 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.9184, allocations: 0.6986 MB / 0.73 GB, free: 78.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004216/0.9188, allocations: 495.2 kB / 0.7305 GB, free: 78.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.5e-05/0.9189, allocations: 24 kB / 0.7305 GB, free: 78.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.312e-05/0.919, allocations: 361.9 kB / 0.7308 GB, free: 77.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000993/0.92, allocations: 0.6406 MB / 0.7315 GB, free: 77.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.9211, allocations: 0.8602 MB / 0.7323 GB, free: 76.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000987/0.9221, allocations: 0.7086 MB / 0.733 GB, free: 75.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.9221, allocations: 0 / 0.733 GB, free: 75.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003801/0.9259, allocations: 2.412 MB / 0.7354 GB, free: 73.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002661/0.9262, allocations: 1.72 MB / 0.737 GB, free: 71.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.9262, allocations: 7.938 kB / 0.737 GB, free: 71.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01038/0.9366, allocations: 3.413 MB / 0.7404 GB, free: 67.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007679/0.9374, allocations: 171.7 kB / 0.7405 GB, free: 67.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005014/0.9424, allocations: 2.891 MB / 0.7434 GB, free: 64.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.9448, allocations: 294.5 kB / 0.7436 GB, free: 64.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/0.945, allocations: 59.98 kB / 0.7437 GB, free: 64.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.945, allocations: 4 kB / 0.7437 GB, free: 64.44 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00362/0.9487, allocations: 2.213 MB / 0.7459 GB, free: 62.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.9487, allocations: 4 kB / 0.7459 GB, free: 62.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01034/0.959, allocations: 3.363 MB / 0.7492 GB, free: 58.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000834/0.9599, allocations: 179.8 kB / 0.7493 GB, free: 58.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005473/0.9654, allocations: 2.82 MB / 0.7521 GB, free: 55.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.9676, allocations: 266.7 kB / 0.7523 GB, free: 55.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/0.9679, allocations: 51.98 kB / 0.7524 GB, free: 55.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (eSST4B.VM1.local_reset,eSST4B.VR1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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 {35 58} Notification: Performance of prepare postOptimizeDAE: time 0.0003724/0.9682, allocations: 180.8 kB / 0.7526 GB, free: 55.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005007/0.9688, allocations: 173.8 kB / 0.7527 GB, free: 55.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/0.9828, allocations: 5.332 MB / 0.7579 GB, free: 49.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.9828, allocations: 12 kB / 0.7579 GB, free: 49.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.9828, allocations: 0 / 0.7579 GB, free: 49.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.755e-05/0.9829, allocations: 11.97 kB / 0.758 GB, free: 49.78 MB / 490.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.01768/1.001, allocations: 7.599 MB / 0.7654 GB, free: 42.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/1.001, allocations: 0 / 0.7654 GB, free: 42.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/1.002, allocations: 191.8 kB / 0.7656 GB, free: 41.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006315/1.008, allocations: 2.087 MB / 0.7676 GB, free: 39.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003229/1.009, allocations: 27.98 kB / 0.7676 GB, free: 39.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01706/1.026, allocations: 9.48 MB / 0.7769 GB, free: 30.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.026, allocations: 0 / 0.7769 GB, free: 30.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/1.041, allocations: 6.361 MB / 0.7831 GB, free: 23.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000626/1.042, allocations: 290.5 kB / 0.7834 GB, free: 23.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000369/1.042, allocations: 20 kB / 0.7834 GB, free: 23.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/1.044, allocations: 207.8 kB / 0.7836 GB, free: 23.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007743/1.045, allocations: 285.2 kB / 0.7839 GB, free: 22.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/1.045, allocations: 39.98 kB / 0.7839 GB, free: 22.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001175/1.046, allocations: 0.9605 MB / 0.7848 GB, free: 21.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.046, allocations: 0 / 0.7848 GB, free: 21.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001975/1.048, allocations: 0.8618 MB / 0.7857 GB, free: 20.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eSST4B.VA.state,eSST4B.VR1.y,eSST4B.VM1.y,eSST4B.TransducerDelay.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 85 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01532/1.063, allocations: 7.114 MB / 0.7926 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01193/1.075, allocations: 4.393 MB / 0.7969 GB, free: 9.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.075, allocations: 12.19 kB / 0.7969 GB, free: 9.398 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00527/1.081, allocations: 2.079 MB / 0.799 GB, free: 7.293 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/1.082, allocations: 150.3 kB / 0.7991 GB, free: 7.148 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006498/1.088, allocations: 3.058 MB / 0.8021 GB, free: 4.035 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/1.089, allocations: 1.322 MB / 0.8034 GB, free: 2.684 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001066/1.09, allocations: 238.4 kB / 0.8036 GB, free: 2.445 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006311/1.091, allocations: 0.6438 MB / 0.8042 GB, free: 1.801 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/1.091, allocations: 0 / 0.8042 GB, free: 1.801 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08761/1.178, allocations: 52.58 MB / 0.8556 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/1.178, allocations: 161.9 kB / 0.8557 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.488/4.666, allocations: 0 / 0.8557 GB, free: 13.14 MB / 0.5417 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe 2>&1)