Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.00109/0.001091, allocations: 180.7 kB / 7.649 MB, free: 1.395 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008874/0.0008874, allocations: 85.94 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0766/0.0766, allocations: 12.19 MB / 321.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3176/0.3176, allocations: 78.07 MB / 450.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.438e-05/2.49e-05, allocations: 0 / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1784, allocations: 69.25 MB / 0.5819 GB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5304/0.7089, allocations: 112.5 MB / 0.6917 GB, free: 12.16 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/0.7093, allocations: 92.17 kB / 0.6918 GB, free: 12.11 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1422/0.8515, allocations: 51.3 MB / 0.7419 GB, free: 2.223 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.8516, allocations: 3.938 kB / 0.7419 GB, free: 2.219 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001991/0.8518, allocations: 51.92 kB / 0.742 GB, free: 2.168 MB / 474.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.008516/0.8603, allocations: 2.543 MB / 0.7445 GB, free: 15.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.8604, allocations: 12.03 kB / 0.7445 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004372/0.8647, allocations: 0.6309 MB / 0.7451 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003724/0.8685, allocations: 1.404 MB / 0.7465 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006369/0.8692, allocations: 417.4 kB / 0.7469 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000652/0.8699, allocations: 91.84 kB / 0.7469 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003296/0.8732, allocations: 1.388 MB / 0.7483 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003191/0.8764, allocations: 1.559 MB / 0.7498 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.8764, allocations: 4 kB / 0.7498 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.8766, allocations: 0 / 0.7498 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/0.8767, allocations: 39.94 kB / 0.7499 GB, free: 11.46 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.01617/0.8928, allocations: 7.126 MB / 0.7568 GB, free: 4.074 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009084/0.902, allocations: 3.473 MB / 0.7602 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002279/0.9043, allocations: 0.8306 MB / 0.761 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/0.9046, allocations: 33.19 kB / 0.7611 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002262/0.9069, allocations: 1.006 MB / 0.762 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=163): time 4.619e-06/0.9069, allocations: 0 / 0.762 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=163): time 0.01723/0.9242, allocations: 5.215 MB / 0.7671 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001854/0.9244, allocations: 300 kB / 0.7674 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002842/0.9272, allocations: 1.369 MB / 0.7688 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005683/0.9278, allocations: 25.7 kB / 0.7688 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008384/0.9287, allocations: 0.8874 MB / 0.7697 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000973/0.9297, allocations: 0.5542 MB / 0.7702 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.9298, allocations: 0 / 0.7702 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.93, allocations: 378 kB / 0.7706 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.9313, allocations: 0.7031 MB / 0.7712 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.9329, allocations: 1.012 MB / 0.7722 GB, free: 3.875 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.9345, allocations: 0.7946 MB / 0.773 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/0.9345, allocations: 8 kB / 0.773 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.00811/0.9426, allocations: 3.207 MB / 0.7761 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001127/0.9438, allocations: 2.479 MB / 0.7786 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.9439, allocations: 4 kB / 0.7786 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01143/0.9553, allocations: 3.093 MB / 0.7816 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.9565, allocations: 211.7 kB / 0.7818 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00911/0.9656, allocations: 5.541 MB / 0.7872 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/0.969, allocations: 294.4 kB / 0.7875 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005118/0.9696, allocations: 71.97 kB / 0.7875 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.9696, allocations: 4 kB / 0.7876 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006202/0.9758, allocations: 2.634 MB / 0.7901 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.9759, allocations: 4 kB / 0.7901 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/0.9866, allocations: 2.988 MB / 0.793 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.9878, allocations: 207.7 kB / 0.7932 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/1, allocations: 8.788 MB / 0.8018 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/1.004, allocations: 246.6 kB / 0.8021 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005335/1.004, allocations: 59.98 kB / 0.8021 GB, free: 4.395 MB / 0.5261 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.0009825/1.005, allocations: 148.6 kB / 0.8023 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02538/1.03, allocations: 5.206 MB / 0.8073 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00161/1.032, allocations: 213.4 kB / 0.8075 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02235/1.055, allocations: 5.278 MB / 0.8127 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.724e-05/1.055, allocations: 16 kB / 0.8127 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/1.055, allocations: 64 / 0.8127 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-05/1.055, allocations: 19.95 kB / 0.8127 GB, free: 9.473 MB / 0.5417 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.0237/1.078, allocations: 7.725 MB / 0.8203 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.079, allocations: 4 kB / 0.8203 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/1.08, allocations: 251.7 kB / 0.8205 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006837/1.087, allocations: 1.99 MB / 0.8225 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005098/1.088, allocations: 19.98 kB / 0.8225 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/1.106, allocations: 7.701 MB / 0.83 GB, free: 7.539 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.106, allocations: 4 kB / 0.83 GB, free: 7.535 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01904/1.125, allocations: 6.458 MB / 0.8363 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/1.127, allocations: 322.2 kB / 0.8366 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008709/1.127, allocations: 11.95 kB / 0.8366 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002732/1.13, allocations: 199.8 kB / 0.8368 GB, free: 496 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001159/1.131, allocations: 277.2 kB / 0.8371 GB, free: 220 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/1.132, allocations: 43.98 kB / 0.8371 GB, free: 176 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002271/1.134, allocations: 1.032 MB / 0.8381 GB, free: 15.11 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.134, allocations: 3.938 kB / 0.8381 GB, free: 15.11 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004323/1.138, allocations: 0.8884 MB / 0.839 GB, free: 14.22 MB / 0.573 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.01987/1.158, allocations: 7.205 MB / 0.846 GB, free: 6.965 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01773/1.176, allocations: 5.222 MB / 0.8511 GB, free: 1.695 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.176, allocations: 0 / 0.8511 GB, free: 1.695 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.311/1.487, allocations: 1.976 MB / 0.8531 GB, free: 166.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/1.49, allocations: 185.7 kB / 0.8533 GB, free: 166.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/1.501, allocations: 3.427 MB / 0.8566 GB, free: 165.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001997/1.503, allocations: 1.476 MB / 0.858 GB, free: 164.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00226/1.506, allocations: 300.8 kB / 0.8583 GB, free: 164.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/1.507, allocations: 0.8229 MB / 0.8591 GB, free: 164.4 MB / 0.573 GB Notification: Performance of SimCode: time 9.12e-07/1.507, allocations: 0 / 0.8591 GB, free: 164.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/1.61, allocations: 56.72 MB / 0.9145 GB, free: 150.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/1.61, allocations: 120 kB / 0.9146 GB, free: 150.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.374/5.984, allocations: 0 / 0.9146 GB, free: 150.5 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe 2>&1)