Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.conf.json 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 4.0.0+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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 105.1 kB / 16.41 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 240.1 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 188.5 kB / 290.4 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5502/0.5502, allocations: 91.9 MB / 432.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 75.94 kB / 0.5734 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1885, allocations: 71.29 MB / 0.643 GB, free: 3.551 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.01087/0.1995, allocations: 8.313 MB / 0.6511 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006834/0.2064, allocations: 2.595 MB / 0.6537 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.2083, allocations: 12 kB / 0.6537 GB, free: 8.578 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.2097, allocations: 305.3 kB / 0.654 GB, free: 8.277 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003918/0.2137, allocations: 0.9924 MB / 0.6549 GB, free: 7.281 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.216, allocations: 0.8133 MB / 0.6557 GB, free: 6.473 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0037/0.2197, allocations: 2.161 MB / 0.6579 GB, free: 4.309 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009354/0.2207, allocations: 465.2 kB / 0.6583 GB, free: 3.824 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.2223, allocations: 0.8637 MB / 0.6591 GB, free: 2.957 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.2243, allocations: 1.12 MB / 0.6602 GB, free: 1.832 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007776/0.2251, allocations: 184 kB / 0.6604 GB, free: 1.652 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.2265, allocations: 359.8 kB / 0.6608 GB, free: 1.301 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008839/0.2274, allocations: 454.2 kB / 0.6612 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001958/0.2293, allocations: 0.9129 MB / 0.6621 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003179/0.2325, allocations: 2.258 MB / 0.6643 GB, free: 13.67 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2325, allocations: 7.938 kB / 0.6643 GB, free: 13.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.2325, allocations: 0 / 0.6643 GB, free: 13.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.523e-05/0.2326, allocations: 0 / 0.6643 GB, free: 13.66 MB / 478.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.01295/0.2455, allocations: 3.539 MB / 0.6677 GB, free: 10.06 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/0.2456, allocations: 12.03 kB / 0.6678 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004559/0.2502, allocations: 0.7549 MB / 0.6685 GB, free: 9.293 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.2522, allocations: 1.085 MB / 0.6696 GB, free: 8.156 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004493/0.2526, allocations: 454.4 kB / 0.67 GB, free: 7.641 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.2529, allocations: 108 kB / 0.6701 GB, free: 7.535 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002827/0.2557, allocations: 1.455 MB / 0.6715 GB, free: 6.059 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.2558, allocations: 4 kB / 0.6715 GB, free: 6.055 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.2559, allocations: 40 kB / 0.6716 GB, free: 6.016 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.2559, allocations: 24 kB / 0.6716 GB, free: 5.992 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002878/0.2588, allocations: 1.362 MB / 0.6729 GB, free: 4.629 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.008625/0.2674, allocations: 4.914 MB / 0.6777 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008359/0.2758, allocations: 3.004 MB / 0.6806 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/0.2778, allocations: 0.9235 MB / 0.6815 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.278, allocations: 28.91 kB / 0.6816 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.278, allocations: 51.55 kB / 0.6816 GB, free: 11.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=128): time 3.687e-06/0.278, allocations: 0 / 0.6816 GB, free: 11.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=128): time 0.03947/0.3175, allocations: 9.802 MB / 0.6912 GB, free: 1.461 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.3177, allocations: 149.4 kB / 0.6913 GB, free: 1.285 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/0.3203, allocations: 1.356 MB / 0.6927 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005439/0.3209, allocations: 57.7 kB / 0.6927 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005843/0.3215, allocations: 0.5963 MB / 0.6933 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007051/0.3222, allocations: 477.2 kB / 0.6937 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00069/0.3229, allocations: 339.5 kB / 0.6941 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.323, allocations: 301.1 kB / 0.6944 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/0.3252, allocations: 0.9964 MB / 0.6953 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/0.3274, allocations: 1.194 MB / 0.6965 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004134/0.3315, allocations: 2.101 MB / 0.6985 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.3316, allocations: 3.984 kB / 0.6986 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.00943/0.341, allocations: 3.789 MB / 0.7023 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.3411, allocations: 8 kB / 0.7023 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.3411, allocations: 4 kB / 0.7023 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009947/0.351, allocations: 3.024 MB / 0.7052 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.3525, allocations: 279.6 kB / 0.7055 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007105/0.3596, allocations: 3.056 MB / 0.7085 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/0.3622, allocations: 242.2 kB / 0.7087 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.3624, allocations: 63.97 kB / 0.7088 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002525/0.3649, allocations: 1.187 MB / 0.7099 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002129/0.3671, allocations: 1.187 MB / 0.7111 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004047/0.3711, allocations: 2.078 MB / 0.7131 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.705e-06/0.3711, allocations: 4 kB / 0.7131 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.009327/0.3805, allocations: 3.766 MB / 0.7168 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.3806, allocations: 8 kB / 0.7168 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.3806, allocations: 4 kB / 0.7168 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/0.3906, allocations: 3.009 MB / 0.7197 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.3923, allocations: 283.6 kB / 0.72 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007194/0.3995, allocations: 3.024 MB / 0.723 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/0.4022, allocations: 218.6 kB / 0.7232 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.4024, allocations: 59.98 kB / 0.7232 GB, free: 304 kB / 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.0005685/0.403, allocations: 269 kB / 0.7235 GB, free: 28 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004962/0.4035, allocations: 162 kB / 0.7236 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/0.4192, allocations: 4.914 MB / 0.7284 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/0.4193, allocations: 12 kB / 0.7284 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.4193, allocations: 0 / 0.7284 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/0.4194, allocations: 11.97 kB / 0.7285 GB, free: 10.9 MB / 0.5294 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.02114/0.4405, allocations: 7.07 MB / 0.7354 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.4406, allocations: 0 / 0.7354 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009604/0.4416, allocations: 143.8 kB / 0.7355 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00763/0.4492, allocations: 2.224 MB / 0.7377 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002935/0.4496, allocations: 31.98 kB / 0.7377 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02707/0.4766, allocations: 11.86 MB / 0.7493 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.4767, allocations: 7.938 kB / 0.7493 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01862/0.4953, allocations: 6.12 MB / 0.7553 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007153/0.4961, allocations: 266.7 kB / 0.7555 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/0.4964, allocations: 31.94 kB / 0.7556 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/0.4979, allocations: 119.9 kB / 0.7557 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008466/0.4988, allocations: 257.4 kB / 0.7559 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.204e-05/0.4989, allocations: 35.94 kB / 0.7559 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001269/0.5001, allocations: 0.9111 MB / 0.7568 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5002, allocations: 4 kB / 0.7568 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002346/0.5025, allocations: 0.8583 MB / 0.7577 GB, free: 12.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003952/0.5029, allocations: 153.5 kB / 0.7578 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01532/0.5182, allocations: 4.982 MB / 0.7627 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.5183, allocations: 0.875 kB / 0.7627 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006405/0.5247, allocations: 2.054 MB / 0.7647 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.5263, allocations: 142.4 kB / 0.7648 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006444/0.5328, allocations: 3.199 MB / 0.768 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007968/0.5336, allocations: 1.23 MB / 0.7692 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/0.5341, allocations: 91.42 kB / 0.7692 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of SimCode: time 1.382e-06/0.5341, allocations: 3.938 kB / 0.7692 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of Templates: time 0.3638/0.898, allocations: 28.68 MB / 0.7973 GB, free: 104.8 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1)