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/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07929/0.07929, allocations: 12.6 MB / 28.9 MB, free: 0.625 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 115.4 kB / 32.51 MB, free: 3.562 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 241.1 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 196.5 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.442/0.442, allocations: 78.52 MB / 420 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004042/0.004042, allocations: 137 kB / 0.5566 GB, free: 28.53 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1094, allocations: 68.14 MB / 0.6231 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.01007/0.1194, allocations: 8.335 MB / 0.6312 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004771/0.1242, allocations: 2.537 MB / 0.6337 GB, free: 4.492 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004627/0.1247, allocations: 12 kB / 0.6337 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007423/0.1254, allocations: 321.3 kB / 0.634 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.1281, allocations: 1.244 MB / 0.6352 GB, free: 2.918 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.1296, allocations: 0.6975 MB / 0.6359 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002657/0.1322, allocations: 2.35 MB / 0.6382 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004841/0.1327, allocations: 288.4 kB / 0.6385 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.1337, allocations: 0.8988 MB / 0.6394 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.1351, allocations: 1.136 MB / 0.6405 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002734/0.1354, allocations: 180 kB / 0.6406 GB, free: 13.35 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000698/0.1361, allocations: 407.7 kB / 0.641 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004384/0.1365, allocations: 462.2 kB / 0.6415 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008758/0.1374, allocations: 0.9168 MB / 0.6424 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002588/0.14, allocations: 2.299 MB / 0.6446 GB, free: 9.266 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.14, allocations: 0 / 0.6446 GB, free: 9.266 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.14, allocations: 0 / 0.6446 GB, free: 9.266 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.14, allocations: 3.938 kB / 0.6446 GB, free: 9.262 MB / 462.1 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.01428/0.1543, allocations: 3.818 MB / 0.6484 GB, free: 5.383 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1543, allocations: 15.98 kB / 0.6484 GB, free: 5.367 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004907/0.1592, allocations: 0.7521 MB / 0.6491 GB, free: 4.613 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.1612, allocations: 1.121 MB / 0.6502 GB, free: 3.441 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005234/0.1617, allocations: 428.7 kB / 0.6506 GB, free: 2.953 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/0.162, allocations: 119.9 kB / 0.6507 GB, free: 2.836 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/0.1651, allocations: 1.424 MB / 0.6521 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.1652, allocations: 0 / 0.6521 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.1653, allocations: 40 kB / 0.6521 GB, free: 1.355 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.1653, allocations: 27.94 kB / 0.6522 GB, free: 1.328 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003276/0.1686, allocations: 1.343 MB / 0.6535 GB, free: 15.98 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.009017/0.1776, allocations: 4.92 MB / 0.6583 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009251/0.1869, allocations: 2.795 MB / 0.661 GB, free: 7.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/0.1889, allocations: 0.8214 MB / 0.6618 GB, free: 7.082 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.189, allocations: 24.92 kB / 0.6618 GB, free: 7.059 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002365/0.1913, allocations: 1.062 MB / 0.6629 GB, free: 5.977 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 2.375e-06/0.1913, allocations: 0 / 0.6629 GB, free: 5.977 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.04455/0.2359, allocations: 9.755 MB / 0.6724 GB, free: 12.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.236, allocations: 119.8 kB / 0.6725 GB, free: 12.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.2384, allocations: 1.415 MB / 0.6739 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002305/0.2386, allocations: 53.7 kB / 0.674 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005461/0.2392, allocations: 0.6009 MB / 0.6745 GB, free: 9.949 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005569/0.2397, allocations: 487.8 kB / 0.675 GB, free: 9.469 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006516/0.2404, allocations: 331.5 kB / 0.6753 GB, free: 9.141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.2405, allocations: 309.1 kB / 0.6756 GB, free: 8.836 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.2429, allocations: 0.976 MB / 0.6766 GB, free: 7.859 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002562/0.2455, allocations: 1.17 MB / 0.6777 GB, free: 6.641 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004761/0.2502, allocations: 2.077 MB / 0.6797 GB, free: 4.523 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.2502, allocations: 4 kB / 0.6797 GB, free: 4.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01036/0.2606, allocations: 3.665 MB / 0.6833 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.2606, allocations: 8 kB / 0.6833 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.2606, allocations: 4 kB / 0.6833 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/0.2716, allocations: 2.974 MB / 0.6862 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.273, allocations: 267.6 kB / 0.6865 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007949/0.2809, allocations: 2.989 MB / 0.6894 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/0.2833, allocations: 254.8 kB / 0.6897 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.2835, allocations: 67.92 kB / 0.6897 GB, free: 10.26 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.0006644/0.2841, allocations: 303 kB / 0.69 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.2844, allocations: 166.9 kB / 0.6902 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01795/0.3024, allocations: 4.783 MB / 0.6948 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/0.3024, allocations: 15.98 kB / 0.6949 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3024, allocations: 0 / 0.6949 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/0.3024, allocations: 11.86 kB / 0.6949 GB, free: 4.949 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02089/0.3233, allocations: 6.851 MB / 0.7016 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.3233, allocations: 4 kB / 0.7016 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008407/0.3242, allocations: 135.8 kB / 0.7017 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008258/0.3324, allocations: 2.142 MB / 0.7038 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.3326, allocations: 27.98 kB / 0.7038 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02829/0.3609, allocations: 10.08 MB / 0.7137 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3609, allocations: 3.938 kB / 0.7137 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.257/0.6179, allocations: 5.913 MB / 0.7194 GB, free: 83.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000522/0.6184, allocations: 281.1 kB / 0.7197 GB, free: 83.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.6186, allocations: 23.53 kB / 0.7197 GB, free: 83.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/0.6202, allocations: 139.2 kB / 0.7199 GB, free: 83.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008537/0.6211, allocations: 262.2 kB / 0.7201 GB, free: 83.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.6212, allocations: 35.72 kB / 0.7201 GB, free: 83.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001472/0.6227, allocations: 0.9567 MB / 0.7211 GB, free: 83.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6227, allocations: 0 / 0.7211 GB, free: 83.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001327/0.624, allocations: 0.528 MB / 0.7216 GB, free: 83.67 MB / 0.5137 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003034/0.6243, allocations: 157.3 kB / 0.7217 GB, free: 83.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008926/0.6332, allocations: 2.727 MB / 0.7244 GB, free: 82.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6332, allocations: 1.156 kB / 0.7244 GB, free: 82.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006029/0.6392, allocations: 1.844 MB / 0.7262 GB, free: 82.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009759/0.6402, allocations: 134.8 kB / 0.7263 GB, free: 82.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/0.6451, allocations: 3.06 MB / 0.7293 GB, free: 80.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.6458, allocations: 1.233 MB / 0.7305 GB, free: 79.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004497/0.6462, allocations: 140.2 kB / 0.7307 GB, free: 79.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.6466, allocations: 97.38 kB / 0.7307 GB, free: 79.78 MB / 0.5137 GB Notification: Performance of SimCode: time 6.72e-07/0.6466, allocations: 0 / 0.7307 GB, free: 79.78 MB / 0.5137 GB Notification: Performance of Templates: time 0.03618/0.6828, allocations: 30.75 MB / 0.7608 GB, free: 59.12 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)