Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",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.001505/0.001505, allocations: 173.9 kB / 7.648 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.692/1.692, 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.0009107/0.0009106, allocations: 89.75 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.09758/0.09758, allocations: 12.19 MB / 321.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3109/0.3109, allocations: 78.07 MB / 450.3 MB, free: 3.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.231e-05/2.234e-05, allocations: 4 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1607, allocations: 69.24 MB / 0.5819 GB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4826/0.6434, allocations: 114.7 MB / 0.6939 GB, free: 10.01 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.6436, allocations: 84.02 kB / 0.6939 GB, free: 9.969 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1219/0.7656, allocations: 46.85 MB / 0.7397 GB, free: 3.582 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.7656, allocations: 0 / 0.7397 GB, free: 3.582 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001048/0.7657, allocations: 31.94 kB / 0.7397 GB, free: 3.551 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.005997/0.7717, allocations: 2.208 MB / 0.7419 GB, free: 1.453 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.7718, allocations: 8.031 kB / 0.7419 GB, free: 1.445 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003013/0.7748, allocations: 0.577 MB / 0.7424 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.777, allocations: 1.109 MB / 0.7435 GB, free: 28 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005073/0.7776, allocations: 425.7 kB / 0.7439 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.7778, allocations: 64 kB / 0.744 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002267/0.7801, allocations: 1.149 MB / 0.7451 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.7822, allocations: 1.167 MB / 0.7463 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.7823, allocations: 0 / 0.7463 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.7824, allocations: 0 / 0.7463 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.7824, allocations: 31.95 kB / 0.7463 GB, free: 13.92 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.009416/0.7918, allocations: 5.238 MB / 0.7514 GB, free: 9.715 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007768/0.7996, allocations: 3.207 MB / 0.7545 GB, free: 6.371 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.8007, allocations: 0.729 MB / 0.7552 GB, free: 5.633 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006604/0.8014, allocations: 0.7336 MB / 0.756 GB, free: 4.734 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/0.8028, allocations: 0.9006 MB / 0.7568 GB, free: 3.812 MB / 490.7 MB Notification: Performance of pre-optimization done (n=134): time 2.564e-06/0.8028, allocations: 0 / 0.7568 GB, free: 3.812 MB / 490.7 MB Notification: Performance of matching and sorting (n=134): time 0.01482/0.8177, allocations: 4.954 MB / 0.7617 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.8178, allocations: 116.1 kB / 0.7618 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/0.8197, allocations: 1.147 MB / 0.7629 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.8199, allocations: 25.7 kB / 0.7629 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000602/0.8205, allocations: 0.6908 MB / 0.7636 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005378/0.821, allocations: 461 kB / 0.7641 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.113e-05/0.8211, allocations: 4.062 kB / 0.7641 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.8213, allocations: 361.9 kB / 0.7644 GB, free: 12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.8224, allocations: 0.6172 MB / 0.765 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.8236, allocations: 0.7895 MB / 0.7658 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.825, allocations: 0.7008 MB / 0.7665 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.8251, allocations: 4 kB / 0.7665 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003994/0.8291, allocations: 2.138 MB / 0.7686 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.8291, allocations: 8 kB / 0.7686 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.8291, allocations: 11.88 kB / 0.7686 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007405/0.8365, allocations: 2.285 MB / 0.7708 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.8376, allocations: 239.7 kB / 0.771 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004741/0.8424, allocations: 2.416 MB / 0.7734 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/0.8447, allocations: 242.7 kB / 0.7736 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.8449, allocations: 51.98 kB / 0.7737 GB, free: 2.41 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: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * 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.0003353/0.8452, allocations: 120.7 kB / 0.7738 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01534/0.8606, allocations: 4.962 MB / 0.7786 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000839/0.8615, allocations: 181.8 kB / 0.7788 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01523/0.8767, allocations: 5.091 MB / 0.7838 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.8768, allocations: 16 kB / 0.7838 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.8768, allocations: 3.953 kB / 0.7838 GB, free: 8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/0.8768, allocations: 11.97 kB / 0.7838 GB, free: 7.988 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.01936/0.8962, allocations: 7.184 MB / 0.7908 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.8962, allocations: 0 / 0.7908 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.8972, allocations: 171.8 kB / 0.791 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006282/0.9035, allocations: 1.986 MB / 0.7929 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.9037, allocations: 15.98 kB / 0.7929 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01734/0.9211, allocations: 7.705 MB / 0.8005 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.9211, allocations: 0 / 0.8005 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01734/0.9384, allocations: 6.142 MB / 0.8065 GB, free: 500 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.9395, allocations: 290.5 kB / 0.8067 GB, free: 188 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/0.9398, allocations: 8 kB / 0.8067 GB, free: 180 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.9415, allocations: 163.8 kB / 0.8069 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009744/0.9425, allocations: 269.3 kB / 0.8072 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.9426, allocations: 39.98 kB / 0.8072 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00151/0.9441, allocations: 0.8632 MB / 0.808 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9441, allocations: 4 kB / 0.808 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001648/0.9458, allocations: 0.4914 MB / 0.8085 GB, free: 14.36 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,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.01726/0.963, allocations: 6.895 MB / 0.8153 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007003/0.9701, allocations: 2.384 MB / 0.8176 GB, free: 5.023 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.9701, allocations: 0 / 0.8176 GB, free: 5.023 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005487/0.9756, allocations: 1.893 MB / 0.8194 GB, free: 3.117 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.9771, allocations: 117.3 kB / 0.8195 GB, free: 3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006452/0.9835, allocations: 2.853 MB / 0.8223 GB, free: 88 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.9846, allocations: 1.317 MB / 0.8236 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006606/0.9852, allocations: 137.1 kB / 0.8238 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009281/0.9862, allocations: 0.6477 MB / 0.8244 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of SimCode: time 1.473e-06/0.9862, allocations: 4 kB / 0.8244 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4341/1.42, allocations: 37.37 MB / 0.8609 GB, free: 173.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/1.421, allocations: 125.6 kB / 0.861 GB, free: 173.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.714/5.134, allocations: 1.375 kB / 0.861 GB, free: 173.2 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)