Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.SCRX,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",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.001008/0.001008, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008911/0.0008912, allocations: 91.58 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07082/0.07082, allocations: 12.19 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2864/0.2864, allocations: 78.01 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.367e-05/3.369e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1154, allocations: 69.26 MB / 0.5889 GB, free: 2.922 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4195/0.535, allocations: 112.2 MB / 0.6985 GB, free: 4.199 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.5353, allocations: 93.3 kB / 0.6986 GB, free: 4.145 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1098/0.6451, allocations: 40.96 MB / 0.7386 GB, free: 1.684 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.6452, allocations: 0 / 0.7386 GB, free: 1.684 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.128e-05/0.6453, allocations: 35.94 kB / 0.7386 GB, free: 1.648 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.005383/0.6507, allocations: 2.034 MB / 0.7406 GB, free: 15.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.6507, allocations: 19.92 kB / 0.7406 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002748/0.651, allocations: 161.8 kB / 0.7408 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.654, allocations: 0.5612 MB / 0.7413 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.6558, allocations: 0.9791 MB / 0.7423 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004282/0.6563, allocations: 438.3 kB / 0.7427 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.6565, allocations: 95 kB / 0.7428 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/0.6586, allocations: 1.231 MB / 0.744 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.6586, allocations: 0 / 0.744 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.6587, allocations: 40.38 kB / 0.744 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.6587, allocations: 24 kB / 0.7441 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.6606, allocations: 1.135 MB / 0.7452 GB, free: 12.21 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.008347/0.669, allocations: 4.934 MB / 0.75 GB, free: 8.316 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0077/0.6767, allocations: 3.113 MB / 0.753 GB, free: 5.531 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.6783, allocations: 0.7212 MB / 0.7537 GB, free: 5.133 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.6785, allocations: 36.41 kB / 0.7538 GB, free: 5.098 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001584/0.6801, allocations: 0.8637 MB / 0.7546 GB, free: 4.508 MB / 490.7 MB Notification: Performance of pre-optimization done (n=125): time 4.869e-06/0.6801, allocations: 0 / 0.7546 GB, free: 4.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=125): time 0.01503/0.6952, allocations: 4.894 MB / 0.7594 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/0.6953, allocations: 127.7 kB / 0.7595 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.6972, allocations: 1.153 MB / 0.7606 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003388/0.6976, allocations: 53.7 kB / 0.7607 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/0.6981, allocations: 0.6203 MB / 0.7613 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004703/0.6985, allocations: 445.6 kB / 0.7617 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.612e-05/0.6986, allocations: 24 kB / 0.7617 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6988, allocations: 353.9 kB / 0.7621 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.6998, allocations: 0.5845 MB / 0.7627 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.7009, allocations: 0.7462 MB / 0.7634 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.702, allocations: 0.6375 MB / 0.764 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.702, allocations: 0 / 0.764 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003783/0.7058, allocations: 2.13 MB / 0.7661 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.7058, allocations: 4 kB / 0.7661 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.7059, allocations: 4 kB / 0.7661 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008567/0.7144, allocations: 2.827 MB / 0.7689 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/0.7152, allocations: 147.8 kB / 0.769 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005517/0.7207, allocations: 2.539 MB / 0.7715 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/0.723, allocations: 258.8 kB / 0.7717 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.7232, allocations: 51.97 kB / 0.7718 GB, free: 3.078 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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 41} Notification: Performance of prepare postOptimizeDAE: time 0.0003173/0.7235, allocations: 164.7 kB / 0.7719 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/0.7238, allocations: 162 kB / 0.7721 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/0.7385, allocations: 5.062 MB / 0.777 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.7386, allocations: 12 kB / 0.777 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.7386, allocations: 0 / 0.777 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-05/0.7386, allocations: 11.97 kB / 0.7771 GB, free: 13.65 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.01945/0.7581, allocations: 7.101 MB / 0.784 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-05/0.7582, allocations: 0 / 0.784 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.7594, allocations: 139.8 kB / 0.7841 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006953/0.7664, allocations: 2.017 MB / 0.7861 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003409/0.7667, allocations: 24 kB / 0.7861 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02154/0.7883, allocations: 7.845 MB / 0.7938 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.7883, allocations: 0 / 0.7938 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02542/0.8138, allocations: 6.085 MB / 0.7997 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.8148, allocations: 274.7 kB / 0.8 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008094/0.8157, allocations: 28 kB / 0.8 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/0.8185, allocations: 183.8 kB / 0.8002 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001328/0.8198, allocations: 261.2 kB / 0.8004 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002896/0.8201, allocations: 32 kB / 0.8005 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002411/0.8226, allocations: 0.9022 MB / 0.8013 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.8226, allocations: 0 / 0.8013 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002643/0.8252, allocations: 0.4916 MB / 0.8018 GB, free: 3.934 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 81 * 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.02624/0.8515, allocations: 6.838 MB / 0.8085 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009607/0.8612, allocations: 2.357 MB / 0.8108 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.8612, allocations: 0.9375 kB / 0.8108 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006208/0.8674, allocations: 1.885 MB / 0.8126 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.869, allocations: 117.2 kB / 0.8128 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006346/0.8754, allocations: 2.649 MB / 0.8153 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008701/0.8763, allocations: 1.25 MB / 0.8166 GB, free: 4.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005864/0.8769, allocations: 116.5 kB / 0.8167 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008345/0.8778, allocations: 0.6008 MB / 0.8173 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of SimCode: time 1.252e-06/0.8778, allocations: 0 / 0.8173 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06687/0.9446, allocations: 37.87 MB / 0.8542 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.9449, allocations: 171.3 kB / 0.8544 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.249/4.194, allocations: 3.938 kB / 0.8544 GB, free: 13.97 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)