Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.001163/0.001163, 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 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.3 MB / 213.4 MB, free: 13.69 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.0009335/0.0009334, allocations: 92.55 kB / 261.4 MB, free: 13.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07868/0.07868, allocations: 12.19 MB / 321.5 MB, free: 1.176 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3324/0.3324, allocations: 78.06 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.177e-05, allocations: 4 kB / 0.5143 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1696, allocations: 69.23 MB / 0.5819 GB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5507/0.7204, allocations: 114.4 MB / 0.6936 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.7207, allocations: 87.06 kB / 0.6937 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.13/0.8507, allocations: 45.95 MB / 0.7385 GB, free: 4.617 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.8508, allocations: 0 / 0.7385 GB, free: 4.617 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001988/0.851, allocations: 39.88 kB / 0.7386 GB, free: 4.578 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.007855/0.8589, allocations: 2.201 MB / 0.7407 GB, free: 2.484 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.8589, allocations: 8.031 kB / 0.7407 GB, free: 2.477 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003902/0.8629, allocations: 0.5776 MB / 0.7413 GB, free: 1.941 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003274/0.8662, allocations: 1.095 MB / 0.7424 GB, free: 1.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005515/0.8667, allocations: 425.7 kB / 0.7428 GB, free: 0.582 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004881/0.8672, allocations: 75.83 kB / 0.7428 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002651/0.8699, allocations: 1.134 MB / 0.7439 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/0.8727, allocations: 1.143 MB / 0.7451 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.8727, allocations: 0 / 0.7451 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.8729, allocations: 7.984 kB / 0.7451 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.757e-05/0.8729, allocations: 27.95 kB / 0.7451 GB, free: 14.98 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.01156/0.8845, allocations: 5.185 MB / 0.7502 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008191/0.8927, allocations: 3.211 MB / 0.7533 GB, free: 7.637 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.8944, allocations: 0.7251 MB / 0.754 GB, free: 6.902 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007491/0.8952, allocations: 0.7336 MB / 0.7547 GB, free: 6.004 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001819/0.897, allocations: 0.886 MB / 0.7556 GB, free: 5.098 MB / 490.7 MB Notification: Performance of pre-optimization done (n=133): time 4.629e-06/0.897, allocations: 0 / 0.7556 GB, free: 5.098 MB / 490.7 MB Notification: Performance of matching and sorting (n=133): time 0.01589/0.9129, allocations: 4.903 MB / 0.7604 GB, free: 180 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.636e-05/0.9131, allocations: 124.1 kB / 0.7605 GB, free: 32 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003055/0.9162, allocations: 1.143 MB / 0.7616 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004971/0.9167, allocations: 29.69 kB / 0.7616 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007706/0.9175, allocations: 0.6792 MB / 0.7623 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009008/0.9184, allocations: 461.1 kB / 0.7627 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.9187, allocations: 0 / 0.7627 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002191/0.9189, allocations: 366 kB / 0.7631 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.9203, allocations: 0.6132 MB / 0.7637 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.9217, allocations: 0.7849 MB / 0.7644 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.9234, allocations: 0.6963 MB / 0.7651 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.9235, allocations: 0 / 0.7651 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.004923/0.9284, allocations: 2.107 MB / 0.7672 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.9285, allocations: 11.94 kB / 0.7672 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/0.9285, allocations: 4 kB / 0.7672 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008061/0.9366, allocations: 2.293 MB / 0.7694 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.9379, allocations: 231.7 kB / 0.7697 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005149/0.9431, allocations: 2.413 MB / 0.772 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/0.9457, allocations: 246.7 kB / 0.7723 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003271/0.9461, allocations: 51.98 kB / 0.7723 GB, free: 3.801 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0005187/0.9466, allocations: 128.7 kB / 0.7724 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01628/0.9629, allocations: 4.907 MB / 0.7772 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/0.9641, allocations: 173.8 kB / 0.7774 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/0.9801, allocations: 5.103 MB / 0.7824 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.9802, allocations: 12 kB / 0.7824 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.9802, allocations: 4 kB / 0.7824 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-05/0.9802, allocations: 7.969 kB / 0.7824 GB, free: 9.422 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 postOpt removeSimpleEquations (simulation): time 0.01959/0.9998, allocations: 7.129 MB / 0.7893 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.9999, allocations: 0 / 0.7893 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.001, allocations: 175.8 kB / 0.7895 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006293/1.007, allocations: 1.986 MB / 0.7915 GB, free: 12 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003529/1.008, allocations: 12 kB / 0.7915 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/1.026, allocations: 7.705 MB / 0.799 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.026, allocations: 4 kB / 0.799 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/1.042, allocations: 6.076 MB / 0.8049 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000689/1.043, allocations: 278.6 kB / 0.8052 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/1.043, allocations: 7.984 kB / 0.8052 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/1.045, allocations: 175.8 kB / 0.8054 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007395/1.046, allocations: 273.2 kB / 0.8056 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.046, allocations: 43.98 kB / 0.8057 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001176/1.047, allocations: 0.8593 MB / 0.8065 GB, free: 420 kB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/1.047, allocations: 0 / 0.8065 GB, free: 420 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001391/1.048, allocations: 499.3 kB / 0.807 GB, free: 15.92 MB / 0.5417 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * 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: 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.01679/1.065, allocations: 6.833 MB / 0.8137 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006714/1.072, allocations: 2.382 MB / 0.816 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.072, allocations: 0 / 0.816 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005485/1.077, allocations: 1.862 MB / 0.8178 GB, free: 4.77 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/1.079, allocations: 123.1 kB / 0.8179 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006314/1.085, allocations: 2.845 MB / 0.8207 GB, free: 1.746 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008131/1.086, allocations: 1.305 MB / 0.822 GB, free: 420 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006627/1.087, allocations: 133.1 kB / 0.8221 GB, free: 284 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008501/1.087, allocations: 0.6516 MB / 0.8227 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of SimCode: time 9.52e-07/1.087, allocations: 0 / 0.8227 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4266/1.514, allocations: 37.25 MB / 0.8591 GB, free: 172.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/1.514, allocations: 125.2 kB / 0.8592 GB, free: 171.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.754/5.269, allocations: 6.188 kB / 0.8592 GB, free: 171.9 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)