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.007153/0.007153, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.352/1.352, allocations: 222.9 MB / 239.4 MB, free: 4.52 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.001332/0.001332, allocations: 192.5 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5052/0.5052, allocations: 91.9 MB / 431.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 80.66 kB / 0.5723 GB, free: 33.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1119, allocations: 71.28 MB / 0.6419 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.008348/0.1203, allocations: 8.628 MB / 0.6503 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004832/0.1252, allocations: 2.696 MB / 0.6529 GB, free: 8.672 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007984/0.126, allocations: 15.94 kB / 0.653 GB, free: 8.656 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006884/0.1267, allocations: 317.2 kB / 0.6533 GB, free: 8.344 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.1291, allocations: 1.067 MB / 0.6543 GB, free: 7.273 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.1307, allocations: 0.8528 MB / 0.6551 GB, free: 6.426 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002218/0.133, allocations: 2.236 MB / 0.6573 GB, free: 4.184 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006453/0.1336, allocations: 481.9 kB / 0.6578 GB, free: 3.684 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009972/0.1346, allocations: 0.887 MB / 0.6586 GB, free: 2.793 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.1358, allocations: 1.144 MB / 0.6598 GB, free: 1.645 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.1361, allocations: 196 kB / 0.6599 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007723/0.1369, allocations: 471.7 kB / 0.6604 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003732/0.1373, allocations: 478 kB / 0.6609 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007635/0.138, allocations: 0.9478 MB / 0.6618 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.1406, allocations: 2.467 MB / 0.6642 GB, free: 13.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1406, allocations: 0 / 0.6642 GB, free: 13.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1406, allocations: 0 / 0.6642 GB, free: 13.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.105e-05/0.1406, allocations: 0 / 0.6642 GB, free: 13.09 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.01228/0.1529, allocations: 3.693 MB / 0.6678 GB, free: 9.336 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.153, allocations: 8.031 kB / 0.6678 GB, free: 9.328 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002139/0.1532, allocations: 164.4 kB / 0.668 GB, free: 9.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004657/0.1578, allocations: 0.7715 MB / 0.6687 GB, free: 8.387 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.1597, allocations: 1.142 MB / 0.6698 GB, free: 7.195 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004392/0.1602, allocations: 462.3 kB / 0.6703 GB, free: 6.668 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/0.1604, allocations: 123.9 kB / 0.6704 GB, free: 6.547 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003039/0.1635, allocations: 1.472 MB / 0.6718 GB, free: 5.027 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.1635, allocations: 4 kB / 0.6718 GB, free: 5.023 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.1637, allocations: 40 kB / 0.6719 GB, free: 4.984 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.1637, allocations: 24 kB / 0.6719 GB, free: 4.961 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002914/0.1666, allocations: 1.355 MB / 0.6732 GB, free: 3.605 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.008431/0.175, allocations: 5.226 MB / 0.6783 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008374/0.1834, allocations: 2.941 MB / 0.6812 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/0.1854, allocations: 0.9238 MB / 0.6821 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005534/0.1859, allocations: 0.7336 MB / 0.6828 GB, free: 9.234 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002194/0.1881, allocations: 1.079 MB / 0.6839 GB, free: 8.133 MB / 494.1 MB Notification: Performance of pre-optimization done (n=131): time 2.855e-06/0.1882, allocations: 0 / 0.6839 GB, free: 8.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=131): time 0.04096/0.2291, allocations: 9.872 MB / 0.6935 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.2292, allocations: 124.1 kB / 0.6936 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.2313, allocations: 1.426 MB / 0.695 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002941/0.2316, allocations: 53.7 kB / 0.6951 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004673/0.2321, allocations: 0.6402 MB / 0.6957 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005807/0.2326, allocations: 0.4919 MB / 0.6962 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006501/0.2333, allocations: 375.5 kB / 0.6965 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.2334, allocations: 301.1 kB / 0.6968 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.2356, allocations: 1.003 MB / 0.6978 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/0.2381, allocations: 1.231 MB / 0.699 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004536/0.2426, allocations: 2.153 MB / 0.7011 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.2426, allocations: 0 / 0.7011 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01803/0.2607, allocations: 5.52 MB / 0.7065 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.2607, allocations: 4 kB / 0.7065 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.423e-05/0.2608, allocations: 8 kB / 0.7065 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00996/0.2707, allocations: 2.667 MB / 0.7091 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.2725, allocations: 335.5 kB / 0.7094 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006679/0.2792, allocations: 2.699 MB / 0.7121 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/0.2818, allocations: 254.7 kB / 0.7123 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003416/0.2821, allocations: 71.97 kB / 0.7124 GB, free: 10.63 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,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 (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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0008771/0.283, allocations: 309.5 kB / 0.7127 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004953/0.2835, allocations: 178.8 kB / 0.7128 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/0.3006, allocations: 4.938 MB / 0.7177 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/0.3006, allocations: 16 kB / 0.7177 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.3006, allocations: 0 / 0.7177 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.625e-05/0.3007, allocations: 7.969 kB / 0.7177 GB, free: 5.156 MB / 0.5137 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.02097/0.3217, allocations: 7.096 MB / 0.7246 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.3217, allocations: 0 / 0.7246 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009622/0.3227, allocations: 143.8 kB / 0.7248 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008125/0.3308, allocations: 2.205 MB / 0.7269 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003179/0.3312, allocations: 31.98 kB / 0.7269 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02983/0.361, allocations: 11.8 MB / 0.7385 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3611, allocations: 4.031 kB / 0.7385 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01989/0.381, allocations: 6.106 MB / 0.7444 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000579/0.3816, allocations: 287.5 kB / 0.7447 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004253/0.382, allocations: 28 kB / 0.7447 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/0.3837, allocations: 127.9 kB / 0.7448 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008308/0.3846, allocations: 269.4 kB / 0.7451 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.3847, allocations: 32 kB / 0.7451 GB, free: 8.555 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001439/0.3862, allocations: 0.96 MB / 0.7461 GB, free: 7.598 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3862, allocations: 0 / 0.7461 GB, free: 7.598 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001654/0.3878, allocations: 0.5581 MB / 0.7466 GB, free: 7.039 MB / 0.545 GB 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 (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,3), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01987/0.4077, allocations: 6.721 MB / 0.7532 GB, free: 280 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009718/0.4175, allocations: 2.951 MB / 0.7561 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.4175, allocations: 0 / 0.7561 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007256/0.4248, allocations: 2.074 MB / 0.7581 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.427, allocations: 152.3 kB / 0.7582 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.288/0.715, allocations: 19.38 MB / 0.7772 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008948/0.716, allocations: 1.249 MB / 0.7784 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006629/0.7166, allocations: 145.5 kB / 0.7785 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008188/0.7175, allocations: 0.6405 MB / 0.7791 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.7175, allocations: 0 / 0.7791 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07035/0.7878, allocations: 45.64 MB / 0.8237 GB, free: 79.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.02, allocations: 0 / 0.8237 GB, free: 79.96 MB / 0.5606 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)