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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009152/0.0009152, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 221.5 MB / 229.6 MB, free: 7.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009592/0.0009592, allocations: 95.08 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4486/0.4486, allocations: 78.95 MB / 410.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.962e-05, allocations: 4 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1253, allocations: 69.52 MB / 0.5425 GB, free: 5.828 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.365/0.4903, allocations: 110.2 MB / 0.6502 GB, free: 3.711 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.4906, allocations: 95.34 kB / 0.6503 GB, free: 3.621 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1074/0.598, allocations: 39.64 MB / 0.689 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5981, allocations: 0 / 0.689 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001446/0.5982, allocations: 31.94 kB / 0.689 GB, free: 11.96 MB / 0.4948 GB 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.006241/0.6045, allocations: 2.045 MB / 0.691 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.6045, allocations: 12.03 kB / 0.691 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004488/0.609, allocations: 0.7198 MB / 0.6917 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/0.6117, allocations: 1.03 MB / 0.6927 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005342/0.6123, allocations: 422.3 kB / 0.6931 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00044/0.6128, allocations: 67.91 kB / 0.6932 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002452/0.6152, allocations: 1.074 MB / 0.6943 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.6177, allocations: 1.088 MB / 0.6953 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.6177, allocations: 0 / 0.6953 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.6179, allocations: 3.938 kB / 0.6953 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.6179, allocations: 28 kB / 0.6954 GB, free: 5.285 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.0114/0.6293, allocations: 4.862 MB / 0.7001 GB, free: 216 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008042/0.6374, allocations: 3.179 MB / 0.7032 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.6388, allocations: 0.6983 MB / 0.7039 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/0.6391, allocations: 21.22 kB / 0.7039 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.6391, allocations: 47.88 kB / 0.704 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=127): time 4.328e-06/0.6391, allocations: 0 / 0.704 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=127): time 0.01587/0.655, allocations: 4.95 MB / 0.7088 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.6552, allocations: 141.8 kB / 0.7089 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.6575, allocations: 1.081 MB / 0.71 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003026/0.6578, allocations: 25.7 kB / 0.71 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005196/0.6583, allocations: 0.6355 MB / 0.7106 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006893/0.659, allocations: 441.3 kB / 0.711 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.6592, allocations: 1.125 kB / 0.711 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6593, allocations: 357.9 kB / 0.7114 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.6604, allocations: 0.5533 MB / 0.7119 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.6615, allocations: 0.721 MB / 0.7126 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.6626, allocations: 0.6194 MB / 0.7132 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.6626, allocations: 0 / 0.7132 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003786/0.6664, allocations: 2.026 MB / 0.7152 GB, free: 444 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004882/0.6669, allocations: 1.432 MB / 0.7166 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.667, allocations: 4 kB / 0.7166 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007865/0.6748, allocations: 2.514 MB / 0.7191 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/0.6756, allocations: 155.8 kB / 0.7192 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00517/0.6808, allocations: 2.787 MB / 0.7219 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/0.6828, allocations: 208.3 kB / 0.7221 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.6829, allocations: 48.98 kB / 0.7222 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.683, allocations: 8 kB / 0.7222 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003242/0.6862, allocations: 1.834 MB / 0.724 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.6862, allocations: 4 kB / 0.724 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007851/0.6941, allocations: 2.499 MB / 0.7264 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008263/0.695, allocations: 155.8 kB / 0.7266 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005198/0.7002, allocations: 2.767 MB / 0.7293 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.7021, allocations: 198.9 kB / 0.7295 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.7022, allocations: 44.69 kB / 0.7295 GB, free: 1.59 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: eXNI.ECOMP0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (eXNI.booleanConstant.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {34 45} Notification: Performance of prepare postOptimizeDAE: time 0.0003661/0.7026, allocations: 122.8 kB / 0.7296 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01428/0.7169, allocations: 4.941 MB / 0.7345 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006787/0.7176, allocations: 166 kB / 0.7346 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/0.7323, allocations: 5.082 MB / 0.7396 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.7323, allocations: 16.66 kB / 0.7396 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.7324, allocations: 0 / 0.7396 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.419e-05/0.7324, allocations: 11.97 kB / 0.7396 GB, free: 7.211 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.01775/0.7502, allocations: 7.113 MB / 0.7466 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.7502, allocations: 4 kB / 0.7466 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000846/0.7511, allocations: 143.8 kB / 0.7467 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006117/0.7572, allocations: 2.045 MB / 0.7487 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001783/0.7574, allocations: 12.55 kB / 0.7487 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01757/0.775, allocations: 9.239 MB / 0.7577 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.775, allocations: 0 / 0.7577 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.269/1.044, allocations: 6.066 MB / 0.7636 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008013/1.045, allocations: 281.9 kB / 0.7639 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006067/1.046, allocations: 0.7188 kB / 0.7639 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/1.048, allocations: 148.1 kB / 0.7641 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008737/1.048, allocations: 262.6 kB / 0.7643 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.049, allocations: 33.16 kB / 0.7643 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001251/1.05, allocations: 0.8242 MB / 0.7651 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/1.05, allocations: 0 / 0.7651 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002039/1.052, allocations: 0.7111 MB / 0.7658 GB, free: 135.2 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01472/1.067, allocations: 6.801 MB / 0.7725 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01083/1.077, allocations: 3.979 MB / 0.7764 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.078, allocations: 0 / 0.7764 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004873/1.082, allocations: 1.935 MB / 0.7783 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/1.083, allocations: 110.7 kB / 0.7784 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005261/1.089, allocations: 2.704 MB / 0.781 GB, free: 133 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/1.089, allocations: 1.263 MB / 0.7822 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009214/1.09, allocations: 210.1 kB / 0.7824 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005993/1.091, allocations: 0.5677 MB / 0.783 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of SimCode: time 6.52e-07/1.091, allocations: 1.219 kB / 0.783 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.553/5.644, allocations: 43.81 MB / 0.8258 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001009/5.644, allocations: 121.5 kB / 0.8259 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.523/9.167, allocations: 3.344 kB / 0.8259 GB, free: 130.3 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1)