Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.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.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE",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.007477/0.007477, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.376/1.376, allocations: 222.9 MB / 239.4 MB, free: 4.5 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.001321/0.001321, allocations: 184.5 kB / 289.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.525/0.525, allocations: 91.92 MB / 431.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 78.31 kB / 0.5722 GB, free: 33.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1191, allocations: 71.29 MB / 0.6419 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.006974/0.1261, allocations: 7.04 MB / 0.6487 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004001/0.1301, allocations: 2.247 MB / 0.6509 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005027/0.1307, allocations: 12 kB / 0.6509 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005652/0.1313, allocations: 273.7 kB / 0.6512 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.1334, allocations: 1.099 MB / 0.6523 GB, free: 9.383 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.1345, allocations: 0.5703 MB / 0.6528 GB, free: 8.82 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00166/0.1362, allocations: 1.764 MB / 0.6546 GB, free: 7.051 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004156/0.1366, allocations: 324.3 kB / 0.6549 GB, free: 6.711 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007069/0.1374, allocations: 0.7276 MB / 0.6556 GB, free: 5.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009437/0.1383, allocations: 0.9453 MB / 0.6565 GB, free: 5.031 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.1385, allocations: 140 kB / 0.6566 GB, free: 4.895 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005478/0.1391, allocations: 319.8 kB / 0.6569 GB, free: 4.582 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002812/0.1394, allocations: 366.5 kB / 0.6573 GB, free: 4.223 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006099/0.14, allocations: 0.7497 MB / 0.658 GB, free: 3.469 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.1417, allocations: 1.848 MB / 0.6598 GB, free: 1.613 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1418, allocations: 0 / 0.6598 GB, free: 1.613 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1418, allocations: 3.938 kB / 0.6598 GB, free: 1.609 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.1418, allocations: 4 kB / 0.6598 GB, free: 1.605 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.01158/0.1534, allocations: 3.311 MB / 0.6631 GB, free: 14.24 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1534, allocations: 8.031 kB / 0.6631 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/0.1536, allocations: 138.9 kB / 0.6632 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004518/0.1581, allocations: 0.7288 MB / 0.6639 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.1597, allocations: 0.9273 MB / 0.6648 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004004/0.1602, allocations: 353.3 kB / 0.6652 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.1604, allocations: 95.92 kB / 0.6652 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.1628, allocations: 1.223 MB / 0.6664 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.1629, allocations: 0 / 0.6664 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.163, allocations: 35.94 kB / 0.6665 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.163, allocations: 16 kB / 0.6665 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/0.1655, allocations: 1.171 MB / 0.6676 GB, free: 9.418 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.007446/0.173, allocations: 4.112 MB / 0.6717 GB, free: 5.113 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007853/0.1809, allocations: 2.668 MB / 0.6743 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.1827, allocations: 0.8367 MB / 0.6751 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.1829, allocations: 20.97 kB / 0.6751 GB, free: 1.453 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.1829, allocations: 47.56 kB / 0.6751 GB, free: 1.398 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 3.717e-06/0.1829, allocations: 0 / 0.6751 GB, free: 1.398 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.04463/0.2276, allocations: 10.11 MB / 0.685 GB, free: 7.254 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.2277, allocations: 94.09 kB / 0.6851 GB, free: 7.145 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/0.2297, allocations: 1.117 MB / 0.6862 GB, free: 6.016 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003122/0.23, allocations: 45.7 kB / 0.6862 GB, free: 5.965 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004893/0.2305, allocations: 0.498 MB / 0.6867 GB, free: 5.461 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006711/0.2312, allocations: 408.5 kB / 0.6871 GB, free: 5.059 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009001/0.2321, allocations: 283.5 kB / 0.6874 GB, free: 4.777 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2322, allocations: 301.1 kB / 0.6877 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.2343, allocations: 0.8628 MB / 0.6885 GB, free: 3.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/0.2365, allocations: 1.045 MB / 0.6895 GB, free: 2.523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003987/0.2405, allocations: 1.878 MB / 0.6914 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.2405, allocations: 0 / 0.6914 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00914/0.2497, allocations: 3.383 MB / 0.6947 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.2497, allocations: 9.094 kB / 0.6947 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.2497, allocations: 11.92 kB / 0.6947 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009656/0.2594, allocations: 2.592 MB / 0.6972 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.2607, allocations: 235.7 kB / 0.6974 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006684/0.2674, allocations: 2.645 MB / 0.7 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/0.2695, allocations: 207 kB / 0.7002 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/0.2698, allocations: 51.98 kB / 0.7003 GB, free: 7.434 MB / 0.4981 GB 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 (144): * Single equations (assignments): 143 * 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 {(29,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007365/0.2705, allocations: 266.6 kB / 0.7005 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005116/0.271, allocations: 143.1 kB / 0.7007 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01604/0.2871, allocations: 4.562 MB / 0.7051 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.2871, allocations: 12 kB / 0.7051 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.2872, allocations: 0 / 0.7051 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.037e-05/0.2872, allocations: 15.86 kB / 0.7051 GB, free: 2.41 MB / 0.4981 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.01917/0.3064, allocations: 6.35 MB / 0.7113 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.3064, allocations: 8 kB / 0.7114 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.3072, allocations: 107.8 kB / 0.7115 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007769/0.315, allocations: 2.138 MB / 0.7135 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/0.3152, allocations: 20 kB / 0.7136 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02638/0.3416, allocations: 10.06 MB / 0.7234 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.3416, allocations: 3.938 kB / 0.7234 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0184/0.36, allocations: 5.657 MB / 0.7289 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/0.3606, allocations: 243.9 kB / 0.7291 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003654/0.361, allocations: 23.94 kB / 0.7292 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/0.3625, allocations: 103.9 kB / 0.7293 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008159/0.3633, allocations: 241.1 kB / 0.7295 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.3635, allocations: 31.98 kB / 0.7295 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00113/0.3646, allocations: 0.7406 MB / 0.7303 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3646, allocations: 0 / 0.7303 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001471/0.3661, allocations: 479.6 kB / 0.7307 GB, free: 7.891 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAE.w,gENSAE.delta,gENSAE.Epq,gENSAE.PSIkd,gENSAE.PSIppq,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 (65): * Single equations (assignments): 64 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01802/0.3841, allocations: 6.254 MB / 0.7368 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008521/0.3927, allocations: 2.595 MB / 0.7394 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.3927, allocations: 0 / 0.7394 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006105/0.3989, allocations: 1.831 MB / 0.7411 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.4004, allocations: 104.6 kB / 0.7412 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04723/0.4476, allocations: 18.19 MB / 0.759 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/0.4484, allocations: 1.127 MB / 0.7601 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005074/0.449, allocations: 112.3 kB / 0.7602 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007561/0.4497, allocations: 487.3 kB / 0.7607 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/0.4497, allocations: 0 / 0.7607 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3469/0.7966, allocations: 37.58 MB / 0.7974 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.14, allocations: 10.34 kB / 0.7974 GB, free: 105.4 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE_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_Machines_PSSE_GENSAE.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)