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.08504/0.08504, allocations: 12.59 MB / 28.22 MB, free: 0.7617 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.001136/0.001137, allocations: 111.4 kB / 31.84 MB, free: 3.895 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.322/1.322, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001269/0.001269, allocations: 188.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4276/0.4276, allocations: 78.51 MB / 419.3 MB, free: 11.29 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.002796/0.002796, allocations: 135.3 kB / 0.5559 GB, free: 28.55 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1146, allocations: 68.13 MB / 0.6224 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.008866/0.1235, allocations: 8.324 MB / 0.6305 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005434/0.129, allocations: 2.522 MB / 0.633 GB, free: 4.523 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.1302, allocations: 16 kB / 0.633 GB, free: 4.508 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.1313, allocations: 325.3 kB / 0.6333 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003462/0.1348, allocations: 1.243 MB / 0.6345 GB, free: 2.945 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.001636/0.1364, allocations: 0.6882 MB / 0.6352 GB, free: 2.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002845/0.1393, allocations: 2.35 MB / 0.6375 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007896/0.1401, allocations: 416.4 kB / 0.6379 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.1414, allocations: 0.891 MB / 0.6388 GB, free: 14.58 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.1431, allocations: 1.136 MB / 0.6399 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006761/0.1438, allocations: 184 kB / 0.6401 GB, free: 13.26 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009638/0.1447, allocations: 407.8 kB / 0.6404 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005179/0.1453, allocations: 466.2 kB / 0.6409 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.1463, allocations: 0.9129 MB / 0.6418 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.1488, allocations: 2.285 MB / 0.644 GB, free: 9.195 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1488, allocations: 0 / 0.644 GB, free: 9.195 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1488, allocations: 0 / 0.644 GB, free: 9.195 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.324e-05/0.1489, allocations: 0 / 0.644 GB, free: 9.195 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.01463/0.1635, allocations: 3.757 MB / 0.6477 GB, free: 5.379 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1636, allocations: 15.98 kB / 0.6477 GB, free: 5.363 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004996/0.1686, allocations: 0.7471 MB / 0.6484 GB, free: 4.613 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.171, allocations: 1.116 MB / 0.6495 GB, free: 3.445 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004665/0.1715, allocations: 432.5 kB / 0.6499 GB, free: 2.953 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002908/0.1718, allocations: 112 kB / 0.65 GB, free: 2.844 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003174/0.175, allocations: 1.428 MB / 0.6514 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.175, allocations: 3.984 kB / 0.6514 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.1752, allocations: 43.94 kB / 0.6515 GB, free: 1.352 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.1752, allocations: 24 kB / 0.6515 GB, free: 1.328 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00322/0.1784, allocations: 1.347 MB / 0.6528 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.009367/0.1878, allocations: 4.911 MB / 0.6576 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008981/0.1968, allocations: 2.893 MB / 0.6604 GB, free: 7.812 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002222/0.1991, allocations: 0.9112 MB / 0.6613 GB, free: 6.895 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.1992, allocations: 20.92 kB / 0.6613 GB, free: 6.875 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002821/0.2021, allocations: 1.062 MB / 0.6624 GB, free: 5.793 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 3.437e-06/0.2021, allocations: 3.938 kB / 0.6624 GB, free: 5.789 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.04381/0.2459, allocations: 9.789 MB / 0.6719 GB, free: 11.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.246, allocations: 115.8 kB / 0.6721 GB, free: 11.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/0.2486, allocations: 1.411 MB / 0.6734 GB, free: 10.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003295/0.2489, allocations: 57.7 kB / 0.6735 GB, free: 10.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/0.2495, allocations: 0.5885 MB / 0.6741 GB, free: 9.742 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006427/0.2501, allocations: 465.5 kB / 0.6745 GB, free: 9.281 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007594/0.2509, allocations: 335.4 kB / 0.6748 GB, free: 8.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.251, allocations: 301.1 kB / 0.6751 GB, free: 8.652 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002374/0.2534, allocations: 0.98 MB / 0.6761 GB, free: 7.672 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/0.2559, allocations: 1.174 MB / 0.6772 GB, free: 6.449 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00454/0.2604, allocations: 2.074 MB / 0.6792 GB, free: 4.336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.2604, allocations: 7.938 kB / 0.6792 GB, free: 4.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009886/0.2703, allocations: 3.707 MB / 0.6829 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.2704, allocations: 8 kB / 0.6829 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.2704, allocations: 4 kB / 0.6829 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.2809, allocations: 2.974 MB / 0.6858 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.2823, allocations: 263.6 kB / 0.686 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007734/0.29, allocations: 2.992 MB / 0.689 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/0.2927, allocations: 254.2 kB / 0.6892 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003052/0.293, allocations: 63.98 kB / 0.6893 GB, free: 10.03 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.000824/0.2938, allocations: 299 kB / 0.6895 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004888/0.2943, allocations: 158 kB / 0.6897 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/0.3112, allocations: 4.819 MB / 0.6944 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.3113, allocations: 12 kB / 0.6944 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.3113, allocations: 0 / 0.6944 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.631e-05/0.3113, allocations: 11.92 kB / 0.6944 GB, free: 4.699 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.02014/0.3315, allocations: 6.89 MB / 0.7012 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.3315, allocations: 0 / 0.7012 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009215/0.3325, allocations: 143.8 kB / 0.7013 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007973/0.3405, allocations: 2.142 MB / 0.7034 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002423/0.3407, allocations: 32 kB / 0.7034 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0273/0.368, allocations: 10.06 MB / 0.7132 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3681, allocations: 0 / 0.7132 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2808/0.6489, allocations: 5.949 MB / 0.719 GB, free: 84.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006968/0.6497, allocations: 274 kB / 0.7193 GB, free: 84.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.6499, allocations: 30.77 kB / 0.7193 GB, free: 84.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/0.6516, allocations: 135.6 kB / 0.7195 GB, free: 84.37 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008343/0.6524, allocations: 258 kB / 0.7197 GB, free: 84.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.6526, allocations: 33.97 kB / 0.7197 GB, free: 84.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001788/0.6544, allocations: 0.9521 MB / 0.7207 GB, free: 83.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6544, allocations: 0 / 0.7207 GB, free: 83.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001507/0.6559, allocations: 0.5339 MB / 0.7212 GB, free: 83.87 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.0003518/0.6562, allocations: 150.7 kB / 0.7213 GB, free: 83.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009737/0.666, allocations: 2.891 MB / 0.7242 GB, free: 82.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.666, allocations: 0 / 0.7242 GB, free: 82.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006868/0.6729, allocations: 1.921 MB / 0.726 GB, free: 82.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.6743, allocations: 133.5 kB / 0.7262 GB, free: 82.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005705/0.68, allocations: 3.014 MB / 0.7291 GB, free: 80.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007131/0.6807, allocations: 1.231 MB / 0.7303 GB, free: 79.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000562/0.6813, allocations: 143 kB / 0.7304 GB, free: 79.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/0.6817, allocations: 92.14 kB / 0.7305 GB, free: 79.91 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.6817, allocations: 0.8438 kB / 0.7305 GB, free: 79.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.04067/0.7224, allocations: 30.57 MB / 0.7604 GB, free: 59.14 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)