Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.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.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07798/0.07798, allocations: 12.6 MB / 28.91 MB, free: 0.6055 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.001047/0.001047, allocations: 111.5 kB / 32.51 MB, free: 3.543 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.273/1.273, 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.001365/0.001366, allocations: 191.2 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.4253/0.4253, allocations: 78.5 MB / 420 MB, free: 11.24 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.002597/0.002597, allocations: 135.1 kB / 0.5565 GB, free: 28.61 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1102, allocations: 68.13 MB / 0.6231 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.008898/0.1191, allocations: 8.359 MB / 0.6312 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004904/0.124, allocations: 2.557 MB / 0.6337 GB, free: 4.527 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.1252, allocations: 16 kB / 0.6338 GB, free: 4.512 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008664/0.1261, allocations: 305.3 kB / 0.634 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003263/0.1293, allocations: 1.257 MB / 0.6353 GB, free: 2.957 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 eXNI.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.131, allocations: 0.7286 MB / 0.636 GB, free: 2.234 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002727/0.1337, allocations: 2.311 MB / 0.6382 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007017/0.1344, allocations: 465.2 kB / 0.6387 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.1356, allocations: 0.8793 MB / 0.6395 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.137, allocations: 1.128 MB / 0.6406 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004301/0.1375, allocations: 184 kB / 0.6408 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007801/0.1382, allocations: 363.8 kB / 0.6412 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005466/0.1388, allocations: 466.2 kB / 0.6416 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009522/0.1398, allocations: 0.909 MB / 0.6425 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.1421, allocations: 2.285 MB / 0.6447 GB, free: 9.215 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1421, allocations: 4 kB / 0.6447 GB, free: 9.211 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1422, allocations: 0 / 0.6447 GB, free: 9.211 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.031e-05/0.1422, allocations: 0 / 0.6447 GB, free: 9.211 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.01476/0.157, allocations: 3.835 MB / 0.6485 GB, free: 5.316 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.157, allocations: 11.98 kB / 0.6485 GB, free: 5.305 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004922/0.162, allocations: 0.7471 MB / 0.6492 GB, free: 4.555 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.164, allocations: 1.085 MB / 0.6503 GB, free: 3.418 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004776/0.1645, allocations: 458.4 kB / 0.6507 GB, free: 2.895 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002587/0.1648, allocations: 119.9 kB / 0.6508 GB, free: 2.777 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003194/0.168, allocations: 1.447 MB / 0.6522 GB, free: 1.312 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.168, allocations: 3.938 kB / 0.6523 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.1681, allocations: 44 kB / 0.6523 GB, free: 1.266 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.1682, allocations: 24 kB / 0.6523 GB, free: 1.242 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00317/0.1713, allocations: 1.351 MB / 0.6536 GB, free: 15.89 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.009217/0.1806, allocations: 4.926 MB / 0.6584 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00924/0.1898, allocations: 2.995 MB / 0.6614 GB, free: 7.605 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/0.1919, allocations: 0.9191 MB / 0.6623 GB, free: 6.676 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.192, allocations: 20.98 kB / 0.6623 GB, free: 6.656 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.1921, allocations: 55.48 kB / 0.6623 GB, free: 6.594 MB / 478.1 MB Notification: Performance of pre-optimization done (n=128): time 3.757e-06/0.1921, allocations: 7.938 kB / 0.6623 GB, free: 6.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=128): time 0.04447/0.2366, allocations: 9.803 MB / 0.6719 GB, free: 12.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.2367, allocations: 141.5 kB / 0.6721 GB, free: 12.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/0.239, allocations: 1.364 MB / 0.6734 GB, free: 11.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002515/0.2392, allocations: 49.7 kB / 0.6734 GB, free: 11.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005184/0.2397, allocations: 0.6079 MB / 0.674 GB, free: 10.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005626/0.2403, allocations: 465.3 kB / 0.6745 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007313/0.2411, allocations: 347.4 kB / 0.6748 GB, free: 9.707 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.2412, allocations: 305.1 kB / 0.6751 GB, free: 9.406 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002393/0.2436, allocations: 0.9847 MB / 0.6761 GB, free: 8.418 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002611/0.2462, allocations: 1.206 MB / 0.6772 GB, free: 7.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004972/0.2512, allocations: 2.097 MB / 0.6793 GB, free: 5.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.2512, allocations: 4 kB / 0.6793 GB, free: 5.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.01048/0.2617, allocations: 3.789 MB / 0.683 GB, free: 1.215 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2617, allocations: 8 kB / 0.683 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2617, allocations: 0 / 0.683 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/0.2725, allocations: 3.02 MB / 0.6859 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.2739, allocations: 287.6 kB / 0.6862 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007513/0.2814, allocations: 3.052 MB / 0.6892 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.2838, allocations: 234.3 kB / 0.6894 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002806/0.2841, allocations: 67.98 kB / 0.6895 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002872/0.287, allocations: 1.193 MB / 0.6907 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002448/0.2895, allocations: 1.179 MB / 0.6918 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004519/0.294, allocations: 2.078 MB / 0.6938 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.054e-06/0.294, allocations: 4 kB / 0.6938 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.01017/0.3042, allocations: 3.754 MB / 0.6975 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3042, allocations: 7.938 kB / 0.6975 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3043, allocations: 4 kB / 0.6975 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01091/0.3152, allocations: 3.009 MB / 0.7005 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.3167, allocations: 283.6 kB / 0.7007 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007864/0.3246, allocations: 3.015 MB / 0.7037 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.3269, allocations: 218.6 kB / 0.7039 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/0.3271, allocations: 63.98 kB / 0.7039 GB, free: 11.59 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 162 * 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,46)} Notification: Performance of prepare postOptimizeDAE: time 0.000446/0.3276, allocations: 256 kB / 0.7042 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004494/0.3281, allocations: 166 kB / 0.7043 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01738/0.3454, allocations: 4.91 MB / 0.7091 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/0.3455, allocations: 7.969 kB / 0.7091 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3455, allocations: 4 kB / 0.7091 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005426/0.3461, allocations: 266.8 kB / 0.7094 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004347/0.3465, allocations: 28 kB / 0.7094 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/0.3483, allocations: 123.8 kB / 0.7095 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001419/0.3497, allocations: 0.5512 MB / 0.7101 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009218/0.3589, allocations: 2.855 MB / 0.7129 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2604/0.6194, allocations: 2.948 MB / 0.7157 GB, free: 84.11 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002051/0.6215, allocations: 0.7541 MB / 0.7165 GB, free: 84.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001785/0.6233, allocations: 0.9081 MB / 0.7174 GB, free: 84 MB / 0.5137 GB Notification: Performance of Backend: time 9.12e-07/0.6233, allocations: 3.5 kB / 0.7174 GB, free: 84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01688/0.6402, allocations: 4.375 MB / 0.7216 GB, free: 83.11 MB / 0.5137 GB Notification: Performance of SimCode: time 0.005412/0.6456, allocations: 3.718 MB / 0.7253 GB, free: 81.05 MB / 0.5137 GB Notification: Performance of Templates: time 0.05054/0.6962, allocations: 39.15 MB / 0.7635 GB, free: 55.96 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1)