Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.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.ESST1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A",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.001033/0.001033, allocations: 176.2 kB / 7.649 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.454/1.454, 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.0009177/0.0009178, allocations: 93.61 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.502/0.502, allocations: 78.94 MB / 410.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.777e-05, allocations: 8 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.175, allocations: 69.52 MB / 0.5425 GB, free: 5.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5382/0.7133, allocations: 113.6 MB / 0.6535 GB, free: 420 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.7136, allocations: 90.06 kB / 0.6536 GB, free: 332 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1281/0.8417, allocations: 45.54 MB / 0.6981 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8417, allocations: 0 / 0.6981 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002122/0.8419, allocations: 36 kB / 0.6981 GB, free: 2.754 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.007549/0.8495, allocations: 2.295 MB / 0.7003 GB, free: 416 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.8496, allocations: 8.031 kB / 0.7004 GB, free: 408 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00491/0.8545, allocations: 0.7546 MB / 0.7011 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003699/0.8582, allocations: 1.224 MB / 0.7023 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005908/0.8588, allocations: 453 kB / 0.7027 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005731/0.8594, allocations: 71.91 kB / 0.7028 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003159/0.8626, allocations: 1.253 MB / 0.704 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/0.8659, allocations: 1.25 MB / 0.7052 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/0.8659, allocations: 0 / 0.7052 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/0.8661, allocations: 4 kB / 0.7052 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/0.8662, allocations: 25.41 kB / 0.7053 GB, free: 11.2 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.014/0.8802, allocations: 5.432 MB / 0.7106 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008953/0.8892, allocations: 3.348 MB / 0.7138 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.8909, allocations: 0.7641 MB / 0.7146 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/0.8912, allocations: 21.3 kB / 0.7146 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002414/0.8936, allocations: 0.9246 MB / 0.7155 GB, free: 364 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=143): time 7.975e-06/0.8937, allocations: 4 kB / 0.7155 GB, free: 360 kB / 0.5105 GB Notification: Performance of matching and sorting (n=143): time 0.01778/0.9115, allocations: 5.208 MB / 0.7206 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.851e-05/0.9116, allocations: 167.5 kB / 0.7207 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002882/0.9145, allocations: 1.267 MB / 0.722 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004189/0.9149, allocations: 29.77 kB / 0.722 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006598/0.9156, allocations: 0.7304 MB / 0.7227 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009041/0.9165, allocations: 0.4888 MB / 0.7232 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/0.9168, allocations: 3.938 kB / 0.7232 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.917, allocations: 363.3 kB / 0.7236 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.9184, allocations: 0.6406 MB / 0.7242 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.9198, allocations: 0.8246 MB / 0.725 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.9214, allocations: 0.7204 MB / 0.7257 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.9214, allocations: 0 / 0.7257 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004851/0.9263, allocations: 2.303 MB / 0.7279 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005062/0.9268, allocations: 1.361 MB / 0.7293 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.9268, allocations: 4 kB / 0.7293 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008937/0.9358, allocations: 2.69 MB / 0.7319 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009503/0.9368, allocations: 183.7 kB / 0.7321 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006992/0.9438, allocations: 3.127 MB / 0.7351 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/0.9466, allocations: 270.6 kB / 0.7354 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002927/0.9469, allocations: 55.94 kB / 0.7354 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.9469, allocations: 4 kB / 0.7354 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004097/0.951, allocations: 2.045 MB / 0.7374 GB, free: 9.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.9511, allocations: 5.219 kB / 0.7374 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008519/0.9596, allocations: 2.62 MB / 0.74 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.9607, allocations: 191.7 kB / 0.7402 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006371/0.9671, allocations: 2.946 MB / 0.7431 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002663/0.9698, allocations: 242.8 kB / 0.7433 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/0.9701, allocations: 51.98 kB / 0.7433 GB, free: 3.512 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: eSST1A.VA0:VARIABLE(fixed = false protected = true ) type: Real 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 (97): * Single equations (assignments): 96 * 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 {34 61} Notification: Performance of prepare postOptimizeDAE: time 0.0006177/0.9707, allocations: 131.1 kB / 0.7435 GB, free: 3.379 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01646/0.9872, allocations: 5.204 MB / 0.7486 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/0.9883, allocations: 177.8 kB / 0.7487 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/1.006, allocations: 5.4 MB / 0.754 GB, free: 8.559 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.535e-05/1.006, allocations: 16 kB / 0.754 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.139e-05/1.006, allocations: 8.828 kB / 0.754 GB, free: 8.535 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.748e-05/1.006, allocations: 7.922 kB / 0.754 GB, free: 8.527 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.02537/1.031, allocations: 7.56 MB / 0.7614 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/1.031, allocations: 3.953 kB / 0.7614 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/1.033, allocations: 167.8 kB / 0.7616 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3803/1.413, allocations: 2.129 MB / 0.7637 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004767/1.413, allocations: 15.28 kB / 0.7637 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02023/1.434, allocations: 9.841 MB / 0.7733 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.434, allocations: 2.938 kB / 0.7733 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/1.453, allocations: 6.432 MB / 0.7796 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009403/1.454, allocations: 317 kB / 0.7799 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004987/1.454, allocations: 6.953 kB / 0.7799 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/1.456, allocations: 200.5 kB / 0.7801 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008861/1.457, allocations: 278.7 kB / 0.7803 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/1.457, allocations: 39.19 kB / 0.7804 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001427/1.459, allocations: 0.9639 MB / 0.7813 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.81e-07/1.459, allocations: 0 / 0.7813 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00289/1.461, allocations: 0.7901 MB / 0.7821 GB, free: 129.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (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) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 89 * 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.01958/1.481, allocations: 7.2 MB / 0.7891 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01453/1.496, allocations: 4.353 MB / 0.7934 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.496, allocations: 0 / 0.7934 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006686/1.502, allocations: 2.041 MB / 0.7954 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/1.504, allocations: 134.2 kB / 0.7955 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007849/1.512, allocations: 2.993 MB / 0.7984 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009416/1.513, allocations: 1.377 MB / 0.7997 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001623/1.514, allocations: 276.7 kB / 0.8 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007716/1.515, allocations: 0.6762 MB / 0.8007 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.152e-06/1.515, allocations: 0 / 0.8007 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0985/1.614, allocations: 49.55 MB / 0.8491 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001335/1.614, allocations: 118 kB / 0.8492 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.906/5.52, allocations: 3.719 kB / 0.8492 GB, free: 119.3 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe 2>&1)