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.001135/0.001135, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.359/1.359, allocations: 223.2 MB / 238.9 MB, free: 5.664 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.00135/0.00135, allocations: 173.1 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4613/0.4613, allocations: 79.46 MB / 420.7 MB, free: 4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.0004592, allocations: 19.98 kB / 0.4891 GB, free: 5.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4004, allocations: 69.51 MB / 0.557 GB, free: 37.87 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.0071/0.4075, allocations: 7.529 MB / 0.5643 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005724/0.4133, allocations: 2.644 MB / 0.5669 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.4148, allocations: 15.16 kB / 0.5669 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007132/0.4155, allocations: 216.5 kB / 0.5671 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.4178, allocations: 0.8989 MB / 0.568 GB, free: 36.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.4194, allocations: 0.6841 MB / 0.5687 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.4215, allocations: 1.379 MB / 0.57 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005328/0.422, allocations: 376.4 kB / 0.5704 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008653/0.4229, allocations: 0.7319 MB / 0.5711 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009431/0.4238, allocations: 0.9789 MB / 0.572 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.424, allocations: 90.41 kB / 0.5721 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006831/0.4247, allocations: 334.8 kB / 0.5724 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.425, allocations: 352.4 kB / 0.5728 GB, free: 33.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.4252, allocations: 303.1 kB / 0.5731 GB, free: 33.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.4266, allocations: 1.763 MB / 0.5748 GB, free: 33.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4266, allocations: 0.7812 kB / 0.5748 GB, free: 33.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4266, allocations: 0 / 0.5748 GB, free: 33.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.402e-05/0.4267, allocations: 0.7188 kB / 0.5748 GB, free: 33.12 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.0113/0.438, allocations: 3.419 MB / 0.5781 GB, free: 31.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.438, allocations: 8.656 kB / 0.5781 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003427/0.4384, allocations: 165 kB / 0.5783 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004551/0.4429, allocations: 0.7686 MB / 0.5791 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.4448, allocations: 1.072 MB / 0.5801 GB, free: 30.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003812/0.4452, allocations: 476.7 kB / 0.5806 GB, free: 30.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.4454, allocations: 121.6 kB / 0.5807 GB, free: 30.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002679/0.4481, allocations: 1.533 MB / 0.5822 GB, free: 29.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.4481, allocations: 3.938 kB / 0.5822 GB, free: 29.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.4482, allocations: 40.31 kB / 0.5822 GB, free: 29.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.4483, allocations: 30.64 kB / 0.5822 GB, free: 29.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.4509, allocations: 1.433 MB / 0.5836 GB, free: 29.29 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.008984/0.4599, allocations: 5.444 MB / 0.589 GB, free: 26.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009171/0.4691, allocations: 3.505 MB / 0.5924 GB, free: 24.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005646/0.4697, allocations: 0.7349 MB / 0.5931 GB, free: 23.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002646/0.4724, allocations: 1.159 MB / 0.5942 GB, free: 23.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=131): time 3.988e-06/0.4724, allocations: 0 / 0.5942 GB, free: 23.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.04508/0.5175, allocations: 11.8 MB / 0.6058 GB, free: 21.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.5176, allocations: 125.4 kB / 0.6059 GB, free: 21.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/0.5199, allocations: 1.421 MB / 0.6073 GB, free: 20.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003804/0.5203, allocations: 55.98 kB / 0.6073 GB, free: 20.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/0.5208, allocations: 0.6202 MB / 0.6079 GB, free: 20.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004965/0.5213, allocations: 483.5 kB / 0.6084 GB, free: 19.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.5214, allocations: 44.5 kB / 0.6084 GB, free: 19.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5216, allocations: 380.4 kB / 0.6088 GB, free: 19.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002323/0.5239, allocations: 1.08 MB / 0.6098 GB, free: 19.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/0.5264, allocations: 1.294 MB / 0.6111 GB, free: 18.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002518/0.529, allocations: 1.17 MB / 0.6122 GB, free: 18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.996e-06/0.529, allocations: 2.219 kB / 0.6122 GB, free: 18 MB / 430.1 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01212/0.5411, allocations: 4.922 MB / 0.6171 GB, free: 14.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.5412, allocations: 7.953 kB / 0.6171 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/0.5412, allocations: 8 kB / 0.6171 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009186/0.5504, allocations: 3.051 MB / 0.62 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.552, allocations: 339.5 kB / 0.6204 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006052/0.5581, allocations: 3.01 MB / 0.6233 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/0.5606, allocations: 294 kB / 0.6236 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/0.5609, allocations: 71.97 kB / 0.6237 GB, free: 7.984 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.0006403/0.5615, allocations: 313.4 kB / 0.624 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/0.5618, allocations: 165.9 kB / 0.6241 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/0.5782, allocations: 5.998 MB / 0.63 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.5783, allocations: 16.69 kB / 0.63 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.5783, allocations: 0 / 0.63 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-05/0.5783, allocations: 11.97 kB / 0.63 GB, free: 1.457 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 postOpt removeSimpleEquations (simulation): time 0.02097/0.5993, allocations: 8.187 MB / 0.638 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-05/0.5994, allocations: 4 kB / 0.638 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009887/0.6004, allocations: 156.8 kB / 0.6382 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0084/0.6088, allocations: 2.564 MB / 0.6407 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002912/0.6091, allocations: 31.98 kB / 0.6407 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02895/0.6381, allocations: 12.54 MB / 0.6529 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.6381, allocations: 4.031 kB / 0.6529 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02106/0.6592, allocations: 7.246 MB / 0.66 GB, free: 2.254 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009351/0.6602, allocations: 282.6 kB / 0.6603 GB, free: 1.957 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005334/0.6607, allocations: 32 kB / 0.6603 GB, free: 1.926 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/0.6625, allocations: 167.9 kB / 0.6605 GB, free: 1.762 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008153/0.6634, allocations: 265.3 kB / 0.6607 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.6635, allocations: 42.77 kB / 0.6608 GB, free: 1.461 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001361/0.6648, allocations: 0.9327 MB / 0.6617 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6649, allocations: 0 / 0.6617 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001678/0.6665, allocations: 0.5659 MB / 0.6622 GB, free: 15.96 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.02056/0.6871, allocations: 8.003 MB / 0.67 GB, free: 7.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009552/0.6967, allocations: 3.259 MB / 0.6732 GB, free: 4.648 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.6967, allocations: 0 / 0.6732 GB, free: 4.648 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006683/0.7034, allocations: 2.309 MB / 0.6755 GB, free: 2.316 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.7046, allocations: 128 kB / 0.6756 GB, free: 2.191 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008058/0.7126, allocations: 6.905 MB / 0.6823 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007982/0.7135, allocations: 1.286 MB / 0.6836 GB, free: 9.906 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006314/0.7141, allocations: 137.7 kB / 0.6837 GB, free: 9.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008064/0.7149, allocations: 0.6399 MB / 0.6844 GB, free: 9.129 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/0.715, allocations: 0 / 0.6844 GB, free: 9.129 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06172/0.7767, allocations: 39.58 MB / 0.723 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/0.7769, allocations: 198.6 kB / 0.7232 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.136/3.913, allocations: 0 / 0.7232 GB, free: 1.617 MB / 0.5137 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: