Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.ES.ST5B,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,fileNamePrefix="OpenIPSL_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.001144/0.001144, allocations: 172.5 kB / 7.646 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.351/1.351, allocations: 221.5 MB / 229.6 MB, free: 7.496 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.00102/0.00102, allocations: 100.4 kB / 280.5 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4958/0.4958, allocations: 78.07 MB / 409.3 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.487e-05/2.489e-05, allocations: 7.938 kB / 485 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1518, allocations: 69.36 MB / 0.5414 GB, free: 6.715 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5899, allocations: 111 MB / 0.6498 GB, free: 4.426 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/0.5903, allocations: 91.94 kB / 0.6499 GB, free: 4.336 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1411/0.7314, allocations: 52.31 MB / 0.701 GB, free: 52 kB / 0.4948 GB Notification: Performance of FrontEnd: time 2.805e-06/0.7314, allocations: 0 / 0.701 GB, free: 52 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001332/0.7316, allocations: 44 kB / 0.701 GB, free: 8 kB / 0.4948 GB 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.007362/0.739, allocations: 2.55 MB / 0.7035 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.739, allocations: 12.03 kB / 0.7035 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003777/0.7428, allocations: 0.6242 MB / 0.7041 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003054/0.7459, allocations: 1.379 MB / 0.7055 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005341/0.7464, allocations: 421.5 kB / 0.7059 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/0.7468, allocations: 87.91 kB / 0.706 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00279/0.7496, allocations: 1.384 MB / 0.7073 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002919/0.7525, allocations: 1.566 MB / 0.7089 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.7526, allocations: 0 / 0.7089 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.7527, allocations: 4 kB / 0.7089 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.149e-05/0.7528, allocations: 36 kB / 0.7089 GB, free: 7.703 MB / 0.5105 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.01376/0.7666, allocations: 7.117 MB / 0.7158 GB, free: 344 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008764/0.7754, allocations: 3.477 MB / 0.7192 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.7772, allocations: 0.8344 MB / 0.72 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.7774, allocations: 33.28 kB / 0.7201 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0019/0.7793, allocations: 1.006 MB / 0.7211 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=163): time 4.258e-06/0.7793, allocations: 0 / 0.7211 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=163): time 0.01711/0.7964, allocations: 5.207 MB / 0.7261 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001869/0.7967, allocations: 312 kB / 0.7264 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.7994, allocations: 1.36 MB / 0.7278 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005101/0.7999, allocations: 29.7 kB / 0.7278 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007978/0.8007, allocations: 0.8756 MB / 0.7287 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007749/0.8015, allocations: 0.5503 MB / 0.7292 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.8016, allocations: 0 / 0.7292 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.8018, allocations: 377.9 kB / 0.7296 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.8031, allocations: 0.6992 MB / 0.7302 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.8046, allocations: 1.012 MB / 0.7312 GB, free: 156 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.8061, allocations: 0.7907 MB / 0.732 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.8061, allocations: 7.984 kB / 0.732 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.007422/0.8135, allocations: 3.211 MB / 0.7351 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001119/0.8147, allocations: 2.483 MB / 0.7376 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.8147, allocations: 4 kB / 0.7376 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/0.8254, allocations: 3.096 MB / 0.7406 GB, free: 6.344 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.8265, allocations: 203.7 kB / 0.7408 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008627/0.8351, allocations: 5.548 MB / 0.7462 GB, free: 484 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003023/0.8382, allocations: 286.7 kB / 0.7465 GB, free: 196 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/0.8385, allocations: 69.58 kB / 0.7465 GB, free: 128 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.8385, allocations: 4 kB / 0.7466 GB, free: 124 kB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00585/0.8444, allocations: 2.63 MB / 0.7491 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.8444, allocations: 8 kB / 0.7491 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01053/0.855, allocations: 2.984 MB / 0.752 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009945/0.856, allocations: 207.7 kB / 0.7522 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.8672, allocations: 8.796 MB / 0.7608 GB, free: 0.9922 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/0.8701, allocations: 238.6 kB / 0.7611 GB, free: 0.7578 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/0.8704, allocations: 67.98 kB / 0.7611 GB, free: 0.6914 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.K_r.y:VARIABLE() "Output signal connector" type: Real sT5B.imLimitedLeadLag.gain.y:VARIABLE() "Output signal connector" type: Real sT5B.VR0:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag4.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag5.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag1.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag3.gain.y:VARIABLE() "Output signal connector" type: Real 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 (120): * Single equations (assignments): 115 * 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.0005486/0.8709, allocations: 155.1 kB / 0.7613 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3429/1.214, allocations: 5.192 MB / 0.7663 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.215, allocations: 205.6 kB / 0.7665 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/1.23, allocations: 5.281 MB / 0.7717 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/1.23, allocations: 17.66 kB / 0.7717 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.23, allocations: 0 / 0.7717 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.186e-05/1.23, allocations: 14.22 kB / 0.7717 GB, free: 130.1 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.01891/1.249, allocations: 7.72 MB / 0.7793 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.956e-05/1.249, allocations: 0.9688 kB / 0.7793 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/1.25, allocations: 256.7 kB / 0.7795 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006863/1.257, allocations: 1.988 MB / 0.7814 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004938/1.258, allocations: 15.14 kB / 0.7815 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01902/1.277, allocations: 7.708 MB / 0.789 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.277, allocations: 7.062 kB / 0.789 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/1.296, allocations: 6.454 MB / 0.7953 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009829/1.297, allocations: 324.4 kB / 0.7956 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009189/1.298, allocations: 14.2 kB / 0.7956 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002722/1.301, allocations: 200.1 kB / 0.7958 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001265/1.302, allocations: 278.4 kB / 0.7961 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003287/1.302, allocations: 45.23 kB / 0.7961 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002786/1.305, allocations: 1.022 MB / 0.7971 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.31e-07/1.305, allocations: 0 / 0.7971 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004776/1.31, allocations: 0.8838 MB / 0.798 GB, free: 126.7 MB / 0.5573 GB 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.02034/1.33, allocations: 7.201 MB / 0.805 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01614/1.346, allocations: 5.217 MB / 0.8101 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/1.346, allocations: 1.219 kB / 0.8101 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006256/1.353, allocations: 1.982 MB / 0.812 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/1.355, allocations: 183.2 kB / 0.8122 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009637/1.365, allocations: 3.406 MB / 0.8155 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/1.366, allocations: 1.475 MB / 0.817 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002003/1.368, allocations: 293.5 kB / 0.8173 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/1.369, allocations: 0.8167 MB / 0.8181 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.153e-06/1.369, allocations: 0 / 0.8181 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1011/1.47, allocations: 56.48 MB / 0.8732 GB, free: 95.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/1.471, allocations: 117.3 kB / 0.8733 GB, free: 95.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.229/5.7, allocations: 0 / 0.8733 GB, free: 95.11 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ST5B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ST5B.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe 2>&1)