Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001178, allocations: 173.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009706/0.0009706, allocations: 97.38 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4967/0.4967, allocations: 78.91 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.65e-05/2.653e-05, allocations: 4 kB / 492.8 MB, free: 13.09 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3468, allocations: 69.5 MB / 0.5491 GB, free: 19.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.4799, allocations: 112.3 MB / 0.6588 GB, free: 3.23 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.4802, allocations: 83.95 kB / 0.6589 GB, free: 3.148 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4306/0.9108, allocations: 50.68 MB / 0.7084 GB, free: 101.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.9108, allocations: 0 / 0.7084 GB, free: 101.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001318/0.9109, allocations: 44 kB / 0.7084 GB, free: 101.4 MB / 490.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.006765/0.9177, allocations: 2.55 MB / 0.7109 GB, free: 98.85 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.9178, allocations: 11.97 kB / 0.7109 GB, free: 98.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004513/0.9223, allocations: 0.7948 MB / 0.7117 GB, free: 98.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/0.9248, allocations: 1.423 MB / 0.7131 GB, free: 96.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003562/0.9252, allocations: 469.4 kB / 0.7136 GB, free: 96.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002637/0.9255, allocations: 148 kB / 0.7137 GB, free: 95.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/0.9283, allocations: 1.779 MB / 0.7154 GB, free: 94.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.9284, allocations: 3.938 kB / 0.7154 GB, free: 94.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.9286, allocations: 67.94 kB / 0.7155 GB, free: 94.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.9286, allocations: 36 kB / 0.7155 GB, free: 93.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.9309, allocations: 1.467 MB / 0.717 GB, free: 92.5 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.01205/0.943, allocations: 7.524 MB / 0.7243 GB, free: 84.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007609/0.9506, allocations: 3.525 MB / 0.7278 GB, free: 81.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.952, allocations: 0.8735 MB / 0.7286 GB, free: 80.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.9522, allocations: 31.92 kB / 0.7286 GB, free: 80.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0015/0.9537, allocations: 1.056 MB / 0.7297 GB, free: 79.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=163): time 3.297e-06/0.9537, allocations: 0 / 0.7297 GB, free: 79.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.01505/0.9687, allocations: 5.311 MB / 0.7349 GB, free: 73.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.9688, allocations: 300 kB / 0.7351 GB, free: 73.44 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.9712, allocations: 1.551 MB / 0.7367 GB, free: 71.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003885/0.9716, allocations: 57.7 kB / 0.7367 GB, free: 71.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/0.9721, allocations: 0.8889 MB / 0.7376 GB, free: 70.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005181/0.9726, allocations: 0.5721 MB / 0.7381 GB, free: 70.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.9727, allocations: 36 kB / 0.7382 GB, free: 70.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.614e-05/0.9728, allocations: 378 kB / 0.7385 GB, free: 69.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.974, allocations: 0.7344 MB / 0.7393 GB, free: 69.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.9753, allocations: 1.055 MB / 0.7403 GB, free: 68.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.9765, allocations: 0.8297 MB / 0.7411 GB, free: 67.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.9765, allocations: 0 / 0.7411 GB, free: 67.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.006241/0.9827, allocations: 3.321 MB / 0.7443 GB, free: 63.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004004/0.9832, allocations: 2.489 MB / 0.7468 GB, free: 61.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.9832, allocations: 4 kB / 0.7468 GB, free: 61.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/0.9932, allocations: 3.464 MB / 0.7502 GB, free: 57.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009407/0.9942, allocations: 207.7 kB / 0.7504 GB, free: 57.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007426/1.002, allocations: 5.589 MB / 0.7558 GB, free: 51.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/1.004, allocations: 330.4 kB / 0.7561 GB, free: 51.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/1.005, allocations: 67.98 kB / 0.7562 GB, free: 51.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/1.005, allocations: 2.031 kB / 0.7562 GB, free: 51.39 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004883/1.01, allocations: 2.79 MB / 0.7589 GB, free: 48.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.01, allocations: 8 kB / 0.7589 GB, free: 48.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009696/1.019, allocations: 3.387 MB / 0.7622 GB, free: 45.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008735/1.02, allocations: 207.7 kB / 0.7624 GB, free: 44.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008138/1.028, allocations: 8.796 MB / 0.771 GB, free: 35.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/1.031, allocations: 286.6 kB / 0.7713 GB, free: 35.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/1.031, allocations: 63.98 kB / 0.7714 GB, free: 35.28 MB / 490.7 MB 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 (122): * Single equations (assignments): 117 * 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.0004114/1.031, allocations: 208.4 kB / 0.7716 GB, free: 35.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/1.032, allocations: 213.4 kB / 0.7718 GB, free: 34.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/1.046, allocations: 5.426 MB / 0.7771 GB, free: 29.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/1.046, allocations: 19.95 kB / 0.7771 GB, free: 29.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.046, allocations: 0 / 0.7771 GB, free: 29.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.658e-05/1.046, allocations: 11.91 kB / 0.7771 GB, free: 29.38 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 postOpt removeSimpleEquations (simulation): time 0.01742/1.064, allocations: 8.05 MB / 0.7849 GB, free: 21.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/1.064, allocations: 7.938 kB / 0.785 GB, free: 21.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/1.065, allocations: 247.7 kB / 0.7852 GB, free: 20.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006252/1.072, allocations: 2.017 MB / 0.7872 GB, free: 18.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000372/1.072, allocations: 35.98 kB / 0.7872 GB, free: 18.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/1.09, allocations: 7.841 MB / 0.7949 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.09, allocations: 7.953 kB / 0.7949 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/1.106, allocations: 6.595 MB / 0.8013 GB, free: 4.293 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007333/1.106, allocations: 338.2 kB / 0.8016 GB, free: 3.941 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003151/1.107, allocations: 32 kB / 0.8017 GB, free: 3.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/1.108, allocations: 231.8 kB / 0.8019 GB, free: 3.684 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007393/1.109, allocations: 281.2 kB / 0.8021 GB, free: 3.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/1.109, allocations: 43.98 kB / 0.8022 GB, free: 3.367 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001479/1.111, allocations: 1.194 MB / 0.8034 GB, free: 2.145 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.111, allocations: 0 / 0.8034 GB, free: 2.145 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00205/1.113, allocations: 0.9863 MB / 0.8043 GB, free: 1.156 MB / 490.7 MB 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.0003347/1.113, allocations: 200.5 kB / 0.8045 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01575/1.129, allocations: 5.665 MB / 0.81 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.129, allocations: 0 / 0.81 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006031/1.135, allocations: 2.045 MB / 0.812 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/1.137, allocations: 220.7 kB / 0.8122 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005797/1.142, allocations: 3.184 MB / 0.8154 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009973/1.143, allocations: 1.477 MB / 0.8168 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001567/1.145, allocations: 298.3 kB / 0.8171 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/1.145, allocations: 91.36 kB / 0.8172 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/1.145, allocations: 0 / 0.8172 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of Templates: time 0.07788/1.223, allocations: 43.67 MB / 0.8598 GB, free: 8.199 MB / 0.5417 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe 2>&1)