Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",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.00102/0.00102, allocations: 92 kB / 15.06 MB, free: 1.098 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.438/1.438, allocations: 223.2 MB / 239 MB, free: 5.461 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.001145/0.001145, allocations: 172.5 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4942/0.4942, allocations: 79.47 MB / 420.8 MB, free: 3.918 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003981, allocations: 12 kB / 0.4892 GB, free: 5.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4825, allocations: 69.5 MB / 0.5571 GB, free: 37.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.008261/0.4908, allocations: 7.889 MB / 0.5648 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006228/0.4971, allocations: 2.596 MB / 0.5673 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.4987, allocations: 15.12 kB / 0.5674 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008473/0.4995, allocations: 219 kB / 0.5676 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.5022, allocations: 0.8212 MB / 0.5684 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.5039, allocations: 0.6754 MB / 0.569 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002254/0.5062, allocations: 1.988 MB / 0.571 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005945/0.5068, allocations: 376.8 kB / 0.5713 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000752/0.5075, allocations: 0.7349 MB / 0.572 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009609/0.5085, allocations: 0.9971 MB / 0.573 GB, free: 33.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.5087, allocations: 92.53 kB / 0.5731 GB, free: 33.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00072/0.5094, allocations: 355.5 kB / 0.5734 GB, free: 33.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003523/0.5098, allocations: 354.4 kB / 0.5738 GB, free: 33.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.5101, allocations: 299.2 kB / 0.5741 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.5116, allocations: 1.801 MB / 0.5758 GB, free: 32.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5116, allocations: 2.812 kB / 0.5758 GB, free: 32.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.5116, allocations: 0.75 kB / 0.5758 GB, free: 32.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.5117, allocations: 3.938 kB / 0.5758 GB, free: 32.53 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.009897/0.5216, allocations: 3.417 MB / 0.5792 GB, free: 31.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.5216, allocations: 7.875 kB / 0.5792 GB, free: 31.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002385/0.5219, allocations: 164.7 kB / 0.5793 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004038/0.5259, allocations: 0.7695 MB / 0.5801 GB, free: 30.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.5275, allocations: 1.068 MB / 0.5811 GB, free: 30.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003637/0.5278, allocations: 480.4 kB / 0.5816 GB, free: 29.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.528, allocations: 115.6 kB / 0.5817 GB, free: 29.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.5306, allocations: 1.546 MB / 0.5832 GB, free: 29.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.5306, allocations: 0 / 0.5832 GB, free: 29.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.5307, allocations: 40.56 kB / 0.5832 GB, free: 29.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.5307, allocations: 27.62 kB / 0.5833 GB, free: 29.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00252/0.5333, allocations: 1.434 MB / 0.5847 GB, free: 28.71 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.007878/0.5412, allocations: 5.327 MB / 0.5899 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007979/0.5492, allocations: 3.497 MB / 0.5933 GB, free: 24.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/0.5512, allocations: 1.01 MB / 0.5943 GB, free: 23.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005119/0.5517, allocations: 0.7341 MB / 0.595 GB, free: 23.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002395/0.5541, allocations: 1.158 MB / 0.5961 GB, free: 22.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=131): time 3.376e-06/0.5542, allocations: 0 / 0.5961 GB, free: 22.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.04261/0.5968, allocations: 11.8 MB / 0.6076 GB, free: 20.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.5969, allocations: 117.8 kB / 0.6078 GB, free: 20.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.5998, allocations: 1.424 MB / 0.6092 GB, free: 19.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004513/0.6002, allocations: 53.03 kB / 0.6092 GB, free: 19.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005537/0.6008, allocations: 0.6196 MB / 0.6098 GB, free: 19.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006095/0.6014, allocations: 492.2 kB / 0.6103 GB, free: 19.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.6016, allocations: 43.41 kB / 0.6103 GB, free: 19.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6017, allocations: 379.9 kB / 0.6107 GB, free: 18.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002386/0.6041, allocations: 1.085 MB / 0.6117 GB, free: 18.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002406/0.6065, allocations: 1.299 MB / 0.613 GB, free: 17.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/0.6089, allocations: 1.161 MB / 0.6141 GB, free: 16.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.6089, allocations: 1.062 kB / 0.6141 GB, free: 16.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01075/0.6196, allocations: 4.927 MB / 0.619 GB, free: 12.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.6197, allocations: 8 kB / 0.619 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.792e-05/0.6197, allocations: 4 kB / 0.619 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00809/0.6278, allocations: 3.052 MB / 0.6219 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.6295, allocations: 343.5 kB / 0.6223 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005522/0.635, allocations: 3.01 MB / 0.6252 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/0.6377, allocations: 290.3 kB / 0.6255 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/0.6379, allocations: 69.19 kB / 0.6256 GB, free: 6.172 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0009687/0.6389, allocations: 321.3 kB / 0.6259 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.6393, allocations: 165.9 kB / 0.626 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0152/0.6545, allocations: 5.999 MB / 0.6319 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-05/0.6546, allocations: 12 kB / 0.6319 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.041e-05/0.6546, allocations: 4 kB / 0.6319 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.724e-05/0.6547, allocations: 3.984 kB / 0.6319 GB, free: 15.65 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.02124/0.6759, allocations: 8.145 MB / 0.6399 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/0.676, allocations: 0 / 0.6399 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009188/0.6769, allocations: 148.6 kB / 0.64 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00755/0.6845, allocations: 2.571 MB / 0.6425 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002972/0.6849, allocations: 24.61 kB / 0.6425 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0267/0.7116, allocations: 11.94 MB / 0.6542 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.7116, allocations: 0 / 0.6542 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01915/0.7308, allocations: 7.223 MB / 0.6612 GB, free: 1.148 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009218/0.7318, allocations: 286.6 kB / 0.6615 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009084/0.7327, allocations: 24 kB / 0.6615 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002305/0.7351, allocations: 171.9 kB / 0.6617 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001195/0.7363, allocations: 269.7 kB / 0.662 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002482/0.7366, allocations: 36 kB / 0.662 GB, free: 368 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002424/0.739, allocations: 0.9405 MB / 0.6629 GB, free: 15.42 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.739, allocations: 0 / 0.6629 GB, free: 15.42 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002681/0.7417, allocations: 0.562 MB / 0.6635 GB, free: 14.86 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.TransducerDelay.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 (85): * Single equations (assignments): 83 * 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 3,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01981/0.7615, allocations: 7.831 MB / 0.6711 GB, free: 6.984 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009894/0.7715, allocations: 3.269 MB / 0.6743 GB, free: 3.711 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.7715, allocations: 1.875 kB / 0.6743 GB, free: 3.711 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007063/0.7786, allocations: 2.309 MB / 0.6766 GB, free: 1.379 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.7811, allocations: 145.3 kB / 0.6767 GB, free: 1.234 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03303/0.8142, allocations: 14.44 MB / 0.6908 GB, free: 2.148 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.8153, allocations: 1.251 MB / 0.692 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008621/0.8162, allocations: 142 kB / 0.6922 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/0.8173, allocations: 0.636 MB / 0.6928 GB, free: 92 kB / 494.1 MB Notification: Performance of SimCode: time 4.248e-06/0.8173, allocations: 4 kB / 0.6928 GB, free: 88 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06913/0.8865, allocations: 41.29 MB / 0.7331 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/0.8867, allocations: 205 kB / 0.7333 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.35/4.236, allocations: 7.938 kB / 0.7333 GB, free: 6.859 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1) Environment - environmentSimulation: