Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008652/0.0008652, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.173/1.173, allocations: 223.3 MB / 239.4 MB, free: 5.516 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.0008936/0.0008936, allocations: 176.5 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4027/0.4027, allocations: 78.55 MB / 420.3 MB, free: 4.246 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003078, allocations: 8 kB / 0.4888 GB, free: 5.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1049, allocations: 69.36 MB / 0.5565 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.1894/0.2943, allocations: 8.113 MB / 0.5644 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003391/0.2977, allocations: 2.613 MB / 0.567 GB, free: 33.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004498/0.2982, allocations: 18.62 kB / 0.567 GB, free: 33.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.2986, allocations: 233.6 kB / 0.5672 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.3007, allocations: 1.065 MB / 0.5682 GB, free: 33.15 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001182/0.3019, allocations: 0.6566 MB / 0.5689 GB, free: 33.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.3035, allocations: 2.189 MB / 0.571 GB, free: 32.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004764/0.304, allocations: 416.1 kB / 0.5714 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006634/0.3047, allocations: 0.7557 MB / 0.5722 GB, free: 32.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007421/0.3054, allocations: 1.015 MB / 0.5732 GB, free: 32.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.3056, allocations: 90.69 kB / 0.5732 GB, free: 32.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004463/0.306, allocations: 265.5 kB / 0.5735 GB, free: 32.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.3062, allocations: 356.2 kB / 0.5738 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004512/0.3067, allocations: 0.8379 MB / 0.5747 GB, free: 31.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.308, allocations: 2.132 MB / 0.5767 GB, free: 31.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.308, allocations: 0 / 0.5767 GB, free: 31.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.308, allocations: 0 / 0.5767 GB, free: 31.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.308, allocations: 2.781 kB / 0.5767 GB, free: 31.08 MB / 430.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.01123/0.3192, allocations: 3.601 MB / 0.5803 GB, free: 30.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3193, allocations: 18.69 kB / 0.5803 GB, free: 30.01 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002016/0.3195, allocations: 163.3 kB / 0.5804 GB, free: 29.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004053/0.3235, allocations: 0.7578 MB / 0.5812 GB, free: 29.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.3248, allocations: 1.082 MB / 0.5822 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/0.3251, allocations: 468.1 kB / 0.5827 GB, free: 29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.3253, allocations: 115.3 kB / 0.5828 GB, free: 29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.3279, allocations: 1.535 MB / 0.5843 GB, free: 28.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.3279, allocations: 3.938 kB / 0.5843 GB, free: 28.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.3281, allocations: 41.88 kB / 0.5843 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.3281, allocations: 23.16 kB / 0.5843 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/0.3308, allocations: 1.457 MB / 0.5858 GB, free: 28.32 MB / 430.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.007082/0.3379, allocations: 5.025 MB / 0.5907 GB, free: 25.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008656/0.3466, allocations: 3.59 MB / 0.5942 GB, free: 24.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.3485, allocations: 1.012 MB / 0.5952 GB, free: 23.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.3486, allocations: 19.89 kB / 0.5952 GB, free: 23.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.3486, allocations: 57.19 kB / 0.5952 GB, free: 23.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 2.826e-06/0.3486, allocations: 0 / 0.5952 GB, free: 23.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.04229/0.3909, allocations: 12.03 MB / 0.607 GB, free: 21.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.391, allocations: 143.5 kB / 0.6071 GB, free: 21.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.3928, allocations: 1.358 MB / 0.6084 GB, free: 21.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001802/0.393, allocations: 52.22 kB / 0.6085 GB, free: 21.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/0.3934, allocations: 0.6046 MB / 0.6091 GB, free: 20.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/0.3937, allocations: 479.7 kB / 0.6095 GB, free: 20.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.394, allocations: 179.8 kB / 0.6097 GB, free: 20.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.154e-05/0.394, allocations: 301.1 kB / 0.61 GB, free: 19.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/0.3961, allocations: 1.064 MB / 0.611 GB, free: 19.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/0.3983, allocations: 1.278 MB / 0.6123 GB, free: 18.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/0.4023, allocations: 2.278 MB / 0.6145 GB, free: 17.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4023, allocations: 0 / 0.6145 GB, free: 17.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.008611/0.4109, allocations: 4.201 MB / 0.6186 GB, free: 13.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.381e-05/0.411, allocations: 198.3 kB / 0.6188 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.411, allocations: 4 kB / 0.6188 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009256/0.4202, allocations: 3.406 MB / 0.6221 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.4214, allocations: 283.6 kB / 0.6224 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006253/0.4276, allocations: 3.384 MB / 0.6257 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.4296, allocations: 279.4 kB / 0.626 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.4298, allocations: 72.84 kB / 0.626 GB, free: 5.941 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.4298, allocations: 7.938 kB / 0.6261 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008147/0.4379, allocations: 3.993 MB / 0.63 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.438, allocations: 6.062 kB / 0.63 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00939/0.4474, allocations: 3.374 MB / 0.6333 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.4485, allocations: 275.6 kB / 0.6335 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006949/0.4554, allocations: 3.325 MB / 0.6368 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.4573, allocations: 262.5 kB / 0.637 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.4574, allocations: 69.03 kB / 0.6371 GB, free: 10.61 MB / 446.1 MB 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.0006171/0.4581, allocations: 372.8 kB / 0.6374 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.4583, allocations: 158 kB / 0.6376 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01715/0.4755, allocations: 5.98 MB / 0.6434 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.4755, allocations: 13.17 kB / 0.6434 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4755, allocations: 0 / 0.6434 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.4756, allocations: 7.984 kB / 0.6434 GB, free: 4.047 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01958/0.4952, allocations: 8.15 MB / 0.6514 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.4952, allocations: 4 kB / 0.6514 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007242/0.4959, allocations: 143.8 kB / 0.6515 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007898/0.5038, allocations: 2.601 MB / 0.6541 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.5039, allocations: 28 kB / 0.6541 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02604/0.53, allocations: 12.05 MB / 0.6659 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.53, allocations: 3.938 kB / 0.6659 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/0.5496, allocations: 7.283 MB / 0.673 GB, free: 5.348 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/0.5502, allocations: 282.6 kB / 0.6733 GB, free: 5.051 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.5505, allocations: 25 kB / 0.6733 GB, free: 5.027 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/0.552, allocations: 161.5 kB / 0.6734 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007348/0.5528, allocations: 261.2 kB / 0.6737 GB, free: 4.617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.925e-05/0.5529, allocations: 36.61 kB / 0.6737 GB, free: 4.582 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001151/0.554, allocations: 0.9072 MB / 0.6746 GB, free: 3.676 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.554, allocations: 0 / 0.6746 GB, free: 3.676 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001908/0.5559, allocations: 0.8622 MB / 0.6755 GB, free: 2.812 MB / 478.1 MB 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.0203/0.5763, allocations: 7.883 MB / 0.6832 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01634/0.5926, allocations: 5.568 MB / 0.6886 GB, free: 5.332 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.5927, allocations: 0 / 0.6886 GB, free: 5.332 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006519/0.5992, allocations: 2.312 MB / 0.6908 GB, free: 2.996 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.6005, allocations: 140.6 kB / 0.691 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04565/0.6462, allocations: 22.76 MB / 0.7132 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006709/0.6469, allocations: 1.23 MB / 0.7144 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006854/0.6476, allocations: 153.3 kB / 0.7146 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007109/0.6483, allocations: 0.5979 MB / 0.7151 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.6483, allocations: 0 / 0.7151 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0647/0.713, allocations: 46.85 MB / 0.7609 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/0.7133, allocations: 205 kB / 0.7611 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/3.428, allocations: 0 / 0.7611 GB, free: 10.48 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1)