Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.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.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 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.PSS.PSS2B,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",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.001578/0.001579, 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 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 221.5 MB / 229.6 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008871/0.0008871, allocations: 87.88 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4832/0.4832, allocations: 78.06 MB / 409.3 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.435e-05, allocations: 7.938 kB / 485 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1445, allocations: 69.35 MB / 0.5414 GB, free: 6.773 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4749/0.6194, allocations: 114.9 MB / 0.6535 GB, free: 0.5742 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.6198, allocations: 88.94 kB / 0.6536 GB, free: 500 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1887/0.8085, allocations: 68.21 MB / 0.7202 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8085, allocations: 4 kB / 0.7202 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000196/0.8087, allocations: 59.88 kB / 0.7203 GB, free: 12.25 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.007983/0.8167, allocations: 2.857 MB / 0.7231 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.8168, allocations: 8.031 kB / 0.7231 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00379/0.8206, allocations: 0.6794 MB / 0.7238 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/0.8241, allocations: 1.733 MB / 0.7254 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007285/0.8248, allocations: 0.7074 MB / 0.7261 GB, free: 6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/0.8251, allocations: 99.91 kB / 0.7262 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003087/0.8282, allocations: 1.697 MB / 0.7279 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/0.8311, allocations: 1.626 MB / 0.7295 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.8311, allocations: 7.938 kB / 0.7295 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.8313, allocations: 3.984 kB / 0.7295 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.8313, allocations: 36 kB / 0.7295 GB, free: 2.484 MB / 0.5261 GB 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.0142/0.8455, allocations: 7.118 MB / 0.7365 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009593/0.8551, allocations: 4.094 MB / 0.7405 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/0.857, allocations: 0.962 MB / 0.7414 GB, free: 5.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/0.8572, allocations: 41.89 kB / 0.7414 GB, free: 5.941 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001976/0.8592, allocations: 1.189 MB / 0.7426 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=182): time 3.436e-06/0.8592, allocations: 1.031 kB / 0.7426 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of matching and sorting (n=182): time 0.01747/0.8767, allocations: 5.753 MB / 0.7482 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.8769, allocations: 253.3 kB / 0.7485 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003697/0.8806, allocations: 1.802 MB / 0.7502 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005366/0.8811, allocations: 29.7 kB / 0.7503 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008548/0.882, allocations: 1.008 MB / 0.7512 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007202/0.8827, allocations: 0.6236 MB / 0.7519 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.8829, allocations: 0 / 0.7519 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.883, allocations: 385.9 kB / 0.7522 GB, free: 10.76 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.8844, allocations: 0.8554 MB / 0.7531 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.886, allocations: 1.09 MB / 0.7541 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.8876, allocations: 0.9555 MB / 0.7551 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.8876, allocations: 0 / 0.7551 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.005288/0.8929, allocations: 2.917 MB / 0.7579 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005228/0.8934, allocations: 1.418 MB / 0.7593 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.8935, allocations: 4 kB / 0.7593 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008797/0.9023, allocations: 2.865 MB / 0.7621 GB, free: 480 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.9039, allocations: 302.2 kB / 0.7624 GB, free: 180 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3487/1.253, allocations: 3.423 MB / 0.7657 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003847/1.256, allocations: 405.5 kB / 0.7661 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003426/1.257, allocations: 73.56 kB / 0.7662 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/1.257, allocations: 4.531 kB / 0.7662 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004273/1.261, allocations: 2.557 MB / 0.7687 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.261, allocations: 2.938 kB / 0.7687 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008719/1.27, allocations: 2.784 MB / 0.7714 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/1.272, allocations: 297.8 kB / 0.7717 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006508/1.278, allocations: 3.208 MB / 0.7748 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003982/1.282, allocations: 363.2 kB / 0.7752 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/1.282, allocations: 70.77 kB / 0.7752 GB, free: 122.5 MB / 0.5573 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 139 * 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 73} Notification: Performance of prepare postOptimizeDAE: time 0.0005707/1.283, allocations: 131 kB / 0.7754 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01692/1.3, allocations: 5.75 MB / 0.781 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001355/1.301, allocations: 251.4 kB / 0.7812 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/1.319, allocations: 5.88 MB / 0.787 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.14e-05/1.319, allocations: 17.88 kB / 0.787 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/1.319, allocations: 4.844 kB / 0.787 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.065e-05/1.319, allocations: 7.375 kB / 0.787 GB, free: 121.9 MB / 0.5573 GB 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.02501/1.344, allocations: 8.87 MB / 0.7956 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.19e-05/1.344, allocations: 2.188 kB / 0.7956 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/1.346, allocations: 265.5 kB / 0.7959 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007725/1.354, allocations: 2.137 MB / 0.798 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005481/1.354, allocations: 26.64 kB / 0.798 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0221/1.377, allocations: 9.846 MB / 0.8076 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.377, allocations: 1.031 kB / 0.8076 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02232/1.399, allocations: 7.281 MB / 0.8147 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/1.4, allocations: 397 kB / 0.8151 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/1.401, allocations: 17.45 kB / 0.8151 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003433/1.405, allocations: 318.1 kB / 0.8154 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001302/1.406, allocations: 315.6 kB / 0.8157 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003494/1.406, allocations: 48.83 kB / 0.8158 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002806/1.409, allocations: 1.361 MB / 0.8171 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.934e-06/1.409, allocations: 0 / 0.8171 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004909/1.414, allocations: 0.9655 MB / 0.8181 GB, free: 115.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.TransducerDelay.state,pSS2B.Leadlag1.TF.x_scaled[1],pSS2B.Leadlag2.TF.x_scaled[1],pSS2B.SimpleLag1.state,pSS2B.SimpleLag2.state,pSS2B.Leadlag3.TF.x_scaled[1],pSS2B.derivativeLag.TF.x_scaled[1],pSS2B.derivativeLag1.TF.x_scaled[1],pSS2B.derivativeLag2.TF.x_scaled[1],pSS2B.derivativeLag3.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 (130): * Single equations (assignments): 128 * 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 9,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02048/1.435, allocations: 8.111 MB / 0.826 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0165/1.451, allocations: 5.174 MB / 0.831 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/1.451, allocations: 4 kB / 0.831 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006971/1.458, allocations: 2.288 MB / 0.8333 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/1.461, allocations: 228.1 kB / 0.8335 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/1.474, allocations: 4.353 MB / 0.8377 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/1.476, allocations: 1.694 MB / 0.8394 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002921/1.479, allocations: 0.5042 MB / 0.8399 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/1.48, allocations: 0.9757 MB / 0.8408 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.052e-06/1.48, allocations: 0 / 0.8408 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/1.588, allocations: 63.9 MB / 0.9032 GB, free: 64.03 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/1.588, allocations: 119.6 kB / 0.9034 GB, free: 63.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.576/6.163, allocations: 0 / 0.9034 GB, free: 63.84 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe 2>&1)