Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.PSS.PSS2B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,fileNamePrefix="OpenIPSL_dev_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.00175/0.00175, 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.343/1.343, 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.0008873/0.0008874, allocations: 101.6 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4955/0.4955, allocations: 78.93 MB / 410.2 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.334e-05/2.326e-05, allocations: 4 kB / 486 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1594, allocations: 69.52 MB / 0.5425 GB, free: 5.812 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4455/0.6049, allocations: 115.5 MB / 0.6553 GB, free: 14.43 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.6053, allocations: 90.42 kB / 0.6554 GB, free: 14.35 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1895/0.7948, allocations: 66.08 MB / 0.7199 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7949, allocations: 0 / 0.7199 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003453/0.7952, allocations: 51.94 kB / 0.72 GB, free: 12.26 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.009278/0.8045, allocations: 2.865 MB / 0.7228 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.8046, allocations: 8.031 kB / 0.7228 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005254/0.8098, allocations: 0.8433 MB / 0.7236 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005382/0.8152, allocations: 1.796 MB / 0.7254 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009305/0.8162, allocations: 0.7113 MB / 0.7261 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008213/0.817, allocations: 95.91 kB / 0.7262 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003773/0.8208, allocations: 1.694 MB / 0.7278 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/0.8238, allocations: 1.633 MB / 0.7294 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.8238, allocations: 4 kB / 0.7294 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.824, allocations: 0 / 0.7294 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/0.824, allocations: 36 kB / 0.7294 GB, free: 2.266 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.01525/0.8393, allocations: 7.247 MB / 0.7365 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009591/0.8489, allocations: 4.07 MB / 0.7405 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.8504, allocations: 0.9736 MB / 0.7414 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.8506, allocations: 37.91 kB / 0.7415 GB, free: 5.609 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001856/0.8525, allocations: 1.181 MB / 0.7426 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=182): time 3.346e-06/0.8525, allocations: 0 / 0.7426 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of matching and sorting (n=182): time 0.01751/0.87, allocations: 5.76 MB / 0.7483 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.8702, allocations: 261.2 kB / 0.7485 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003474/0.8737, allocations: 1.865 MB / 0.7503 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005069/0.8742, allocations: 29.69 kB / 0.7504 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008317/0.875, allocations: 1.015 MB / 0.7513 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/0.8761, allocations: 0.6119 MB / 0.7519 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.8762, allocations: 4 kB / 0.7519 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.8764, allocations: 381.8 kB / 0.7523 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.878, allocations: 0.8554 MB / 0.7531 GB, free: 9.508 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.8796, allocations: 1.081 MB / 0.7542 GB, free: 8.367 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.8813, allocations: 0.9548 MB / 0.7551 GB, free: 7.414 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.8813, allocations: 4.75 kB / 0.7551 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.005486/0.8868, allocations: 2.92 MB / 0.758 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005219/0.8873, allocations: 1.418 MB / 0.7594 GB, free: 2.941 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.8873, allocations: 4 kB / 0.7594 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008798/0.8961, allocations: 2.873 MB / 0.7622 GB, free: 64 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3621/1.258, allocations: 294.7 kB / 0.7625 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006962/1.265, allocations: 3.425 MB / 0.7658 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/1.269, allocations: 417.6 kB / 0.7662 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003522/1.27, allocations: 71.14 kB / 0.7663 GB, free: 123 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.27, allocations: 2.781 kB / 0.7663 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00429/1.274, allocations: 2.55 MB / 0.7688 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/1.274, allocations: 2.875 kB / 0.7688 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008126/1.282, allocations: 2.779 MB / 0.7715 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.284, allocations: 304.2 kB / 0.7718 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005538/1.289, allocations: 3.202 MB / 0.7749 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003544/1.293, allocations: 366.2 kB / 0.7753 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002451/1.293, allocations: 68 kB / 0.7753 GB, free: 122.4 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.0005128/1.294, allocations: 131.9 kB / 0.7754 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01723/1.311, allocations: 5.752 MB / 0.7811 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001492/1.312, allocations: 253.8 kB / 0.7813 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01772/1.33, allocations: 5.876 MB / 0.787 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.16e-05/1.33, allocations: 18.53 kB / 0.7871 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.33, allocations: 1.375 kB / 0.7871 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.455e-05/1.33, allocations: 11.41 kB / 0.7871 GB, free: 121.7 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.02394/1.354, allocations: 8.919 MB / 0.7958 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.389e-05/1.354, allocations: 1.344 kB / 0.7958 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/1.356, allocations: 262.9 kB / 0.796 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007411/1.364, allocations: 2.137 MB / 0.7981 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000538/1.364, allocations: 24 kB / 0.7981 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02098/1.385, allocations: 9.856 MB / 0.8078 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.385, allocations: 3.688 kB / 0.8078 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0211/1.406, allocations: 7.282 MB / 0.8149 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/1.408, allocations: 404 kB / 0.8153 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009223/1.409, allocations: 15.17 kB / 0.8153 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003073/1.412, allocations: 320.6 kB / 0.8156 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001106/1.413, allocations: 316.2 kB / 0.8159 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/1.413, allocations: 54.34 kB / 0.8159 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002236/1.415, allocations: 1.41 MB / 0.8173 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.11e-07/1.415, allocations: 0 / 0.8173 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003063/1.418, allocations: 0.9761 MB / 0.8183 GB, free: 115.4 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.01831/1.437, allocations: 8.092 MB / 0.8262 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01357/1.45, allocations: 5.176 MB / 0.8312 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.45, allocations: 0.875 kB / 0.8312 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006092/1.457, allocations: 2.298 MB / 0.8335 GB, free: 110 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/1.459, allocations: 217.9 kB / 0.8337 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008953/1.468, allocations: 4.37 MB / 0.8379 GB, free: 108 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009799/1.469, allocations: 1.686 MB / 0.8396 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002093/1.471, allocations: 0.5039 MB / 0.8401 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/1.472, allocations: 0.9736 MB / 0.841 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.152e-06/1.472, allocations: 2.25 kB / 0.841 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09653/1.568, allocations: 64.25 MB / 0.9038 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/1.568, allocations: 120.7 kB / 0.9039 GB, free: 63 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.346/5.915, allocations: 0 / 0.9039 GB, free: 63 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe 2>&1)