Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.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.ST5B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",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.0009817/0.0009819, allocations: 174.7 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.209/1.209, 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.000883/0.000883, allocations: 93.66 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.445/0.445, allocations: 78.91 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.845e-05, allocations: 8 kB / 492.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3027, allocations: 69.5 MB / 0.5492 GB, free: 19.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.4242, allocations: 112.3 MB / 0.6589 GB, free: 3.223 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.4245, allocations: 95.92 kB / 0.659 GB, free: 3.129 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3876/0.8121, allocations: 50.67 MB / 0.7085 GB, free: 101.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.8122, allocations: 0 / 0.7085 GB, free: 101.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00012/0.8123, allocations: 51.84 kB / 0.7086 GB, free: 101.4 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.005796/0.8181, allocations: 2.545 MB / 0.711 GB, free: 98.85 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.8182, allocations: 15.97 kB / 0.7111 GB, free: 98.83 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002947/0.8185, allocations: 211.1 kB / 0.7113 GB, free: 98.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003974/0.8225, allocations: 0.7975 MB / 0.712 GB, free: 97.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.8248, allocations: 1.422 MB / 0.7134 GB, free: 96.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003561/0.8252, allocations: 477.5 kB / 0.7139 GB, free: 95.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/0.8254, allocations: 147.9 kB / 0.714 GB, free: 95.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.828, allocations: 1.775 MB / 0.7158 GB, free: 93.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.8281, allocations: 7.938 kB / 0.7158 GB, free: 93.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.8282, allocations: 56 kB / 0.7158 GB, free: 93.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.8283, allocations: 40 kB / 0.7158 GB, free: 93.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.8305, allocations: 1.463 MB / 0.7173 GB, free: 92.28 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.01142/0.8419, allocations: 7.523 MB / 0.7246 GB, free: 84.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007381/0.8493, allocations: 3.533 MB / 0.7281 GB, free: 80.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.8506, allocations: 0.8657 MB / 0.7289 GB, free: 80 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.8508, allocations: 32.97 kB / 0.729 GB, free: 79.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001516/0.8523, allocations: 1.059 MB / 0.73 GB, free: 78.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=163): time 3.937e-06/0.8523, allocations: 0 / 0.73 GB, free: 78.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.0146/0.8669, allocations: 5.304 MB / 0.7352 GB, free: 73.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.8671, allocations: 308 kB / 0.7355 GB, free: 73.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002404/0.8695, allocations: 1.551 MB / 0.737 GB, free: 71.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004213/0.8699, allocations: 53.7 kB / 0.737 GB, free: 71.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004929/0.8704, allocations: 0.8822 MB / 0.7379 GB, free: 70.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005319/0.871, allocations: 0.575 MB / 0.7384 GB, free: 70.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.8711, allocations: 40 kB / 0.7385 GB, free: 70.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.8712, allocations: 378 kB / 0.7388 GB, free: 69.69 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.8724, allocations: 0.7305 MB / 0.7396 GB, free: 68.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.8736, allocations: 1.051 MB / 0.7406 GB, free: 67.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.8748, allocations: 0.8336 MB / 0.7414 GB, free: 66.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.8748, allocations: 4 kB / 0.7414 GB, free: 66.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.005952/0.8808, allocations: 3.321 MB / 0.7446 GB, free: 63.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003849/0.8812, allocations: 2.487 MB / 0.7471 GB, free: 60.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.8812, allocations: 8 kB / 0.7471 GB, free: 60.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009792/0.891, allocations: 3.467 MB / 0.7505 GB, free: 57.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000857/0.8919, allocations: 207.7 kB / 0.7507 GB, free: 57.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007079/0.899, allocations: 5.589 MB / 0.7561 GB, free: 51.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.9017, allocations: 330.4 kB / 0.7564 GB, free: 51.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.9019, allocations: 63.98 kB / 0.7565 GB, free: 51.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.902, allocations: 4 kB / 0.7565 GB, free: 51.17 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004799/0.9068, allocations: 2.794 MB / 0.7592 GB, free: 48.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.9068, allocations: 4 kB / 0.7592 GB, free: 48.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009538/0.9163, allocations: 3.38 MB / 0.7625 GB, free: 44.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008317/0.9172, allocations: 207.7 kB / 0.7627 GB, free: 44.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008082/0.9253, allocations: 8.808 MB / 0.7713 GB, free: 35.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003145/0.9285, allocations: 278.6 kB / 0.7716 GB, free: 35.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/0.9288, allocations: 71.94 kB / 0.7717 GB, free: 35.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 117 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,36 58} Notification: Performance of prepare postOptimizeDAE: time 0.0004804/0.9293, allocations: 200.4 kB / 0.7719 GB, free: 34.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004824/0.9298, allocations: 217.4 kB / 0.7721 GB, free: 34.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/0.9437, allocations: 5.422 MB / 0.7774 GB, free: 29.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.9437, allocations: 19.95 kB / 0.7774 GB, free: 29.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.9438, allocations: 4 kB / 0.7774 GB, free: 29.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.395e-05/0.9438, allocations: 7.969 kB / 0.7774 GB, free: 29.16 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.01667/0.9605, allocations: 8.054 MB / 0.7853 GB, free: 21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.9605, allocations: 0 / 0.7853 GB, free: 21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.9619, allocations: 251.7 kB / 0.7855 GB, free: 20.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005658/0.9675, allocations: 2.013 MB / 0.7875 GB, free: 18.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002436/0.9678, allocations: 40 kB / 0.7875 GB, free: 18.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01507/0.9829, allocations: 7.851 MB / 0.7952 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9829, allocations: 4 kB / 0.7952 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01555/0.9985, allocations: 6.587 MB / 0.8016 GB, free: 4.074 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008849/0.9994, allocations: 346.1 kB / 0.8019 GB, free: 3.715 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003404/0.9998, allocations: 32 kB / 0.802 GB, free: 3.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/1.002, allocations: 223.8 kB / 0.8022 GB, free: 3.465 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000763/1.002, allocations: 285.2 kB / 0.8025 GB, free: 3.188 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.003, allocations: 47.98 kB / 0.8025 GB, free: 3.141 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00153/1.004, allocations: 1.186 MB / 0.8037 GB, free: 1.926 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.004, allocations: 0 / 0.8037 GB, free: 1.926 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002234/1.006, allocations: 0.9941 MB / 0.8046 GB, free: 0.9297 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (gENCLS.omega,gENCLS.delta,gENCLS.eq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 119 * 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.01714/1.023, allocations: 7.37 MB / 0.8118 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01559/1.039, allocations: 5.658 MB / 0.8174 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/1.039, allocations: 0 / 0.8174 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005753/1.045, allocations: 2.045 MB / 0.8193 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/1.046, allocations: 214.3 kB / 0.8196 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007018/1.053, allocations: 3.561 MB / 0.823 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.055, allocations: 1.477 MB / 0.8245 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001386/1.056, allocations: 294.3 kB / 0.8248 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009878/1.057, allocations: 0.8195 MB / 0.8256 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of SimCode: time 7.62e-07/1.057, allocations: 0 / 0.8256 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/1.159, allocations: 61.02 MB / 0.8851 GB, free: 14.46 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/1.159, allocations: 161.5 kB / 0.8853 GB, free: 14.24 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.996/5.155, allocations: 3.625 kB / 0.8853 GB, free: 14.24 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe 2>&1)