Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 252.6 MB, free: 8.293 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 228 kB / 309.2 MB, free: 3.125 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4383/0.4383, allocations: 79.74 MB / 445.4 MB, free: 14.83 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002414/0.002414, allocations: 85.38 kB / 0.5929 GB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1412, allocations: 73.3 MB / 0.6645 GB, free: 4.547 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.008034/0.1493, allocations: 7.088 MB / 0.6714 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004421/0.1537, allocations: 2.297 MB / 0.6737 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000458/0.1541, allocations: 8 kB / 0.6737 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005756/0.1547, allocations: 277.7 kB / 0.6739 GB, free: 10.84 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002593/0.1573, allocations: 1.193 MB / 0.6751 GB, free: 9.652 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.1585, allocations: 0.5759 MB / 0.6757 GB, free: 9.082 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.1607, allocations: 1.905 MB / 0.6775 GB, free: 7.168 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003844/0.1611, allocations: 228.4 kB / 0.6777 GB, free: 6.922 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008931/0.162, allocations: 0.7588 MB / 0.6785 GB, free: 6.16 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.1632, allocations: 0.9687 MB / 0.6794 GB, free: 5.188 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.1634, allocations: 144 kB / 0.6796 GB, free: 5.047 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005815/0.1639, allocations: 319.8 kB / 0.6799 GB, free: 4.734 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003337/0.1643, allocations: 382.4 kB / 0.6802 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006578/0.1649, allocations: 0.7419 MB / 0.681 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.167, allocations: 1.875 MB / 0.6828 GB, free: 1.73 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.167, allocations: 0 / 0.6828 GB, free: 1.73 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.167, allocations: 0 / 0.6828 GB, free: 1.73 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.562e-05/0.167, allocations: 0 / 0.6828 GB, free: 1.73 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.0129/0.1799, allocations: 3.451 MB / 0.6862 GB, free: 14.24 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.1799, allocations: 15.98 kB / 0.6862 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001909/0.1801, allocations: 130.9 kB / 0.6863 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004428/0.1846, allocations: 0.7327 MB / 0.687 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.1862, allocations: 0.8552 MB / 0.6879 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004664/0.1867, allocations: 468 kB / 0.6883 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.1869, allocations: 91.94 kB / 0.6884 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/0.1894, allocations: 1.219 MB / 0.6896 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1895, allocations: 4 kB / 0.6896 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-05/0.1896, allocations: 32 kB / 0.6896 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.1896, allocations: 20 kB / 0.6896 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.1921, allocations: 1.163 MB / 0.6908 GB, free: 9.379 MB / 494.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.008189/0.2003, allocations: 4.069 MB / 0.6947 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007852/0.2082, allocations: 2.133 MB / 0.6968 GB, free: 2.973 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.2099, allocations: 0.7425 MB / 0.6976 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.2101, allocations: 24.97 kB / 0.6976 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.2101, allocations: 47.56 kB / 0.6976 GB, free: 2.141 MB / 494.1 MB Notification: Performance of pre-optimization done (n=108): time 3.206e-06/0.2101, allocations: 0 / 0.6976 GB, free: 2.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=108): time 0.319/0.5291, allocations: 9.977 MB / 0.7074 GB, free: 34.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.5292, allocations: 89.64 kB / 0.7075 GB, free: 34.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.5311, allocations: 1.117 MB / 0.7085 GB, free: 34.13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002444/0.5313, allocations: 46.83 kB / 0.7086 GB, free: 34.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.5317, allocations: 0.5031 MB / 0.7091 GB, free: 33.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004226/0.5321, allocations: 414.9 kB / 0.7095 GB, free: 33.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005693/0.5327, allocations: 282.1 kB / 0.7097 GB, free: 33.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.5327, allocations: 307.5 kB / 0.71 GB, free: 33.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.5347, allocations: 0.8587 MB / 0.7109 GB, free: 33.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.5367, allocations: 1.046 MB / 0.7119 GB, free: 33.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003796/0.5405, allocations: 1.878 MB / 0.7137 GB, free: 32.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.5405, allocations: 1.688 kB / 0.7137 GB, free: 32.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008427/0.5489, allocations: 3.339 MB / 0.717 GB, free: 31.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.549, allocations: 9.125 kB / 0.717 GB, free: 31.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.549, allocations: 3.938 kB / 0.717 GB, free: 31.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008969/0.5579, allocations: 2.603 MB / 0.7195 GB, free: 30.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.5592, allocations: 236.6 kB / 0.7198 GB, free: 30.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006094/0.5653, allocations: 2.645 MB / 0.7224 GB, free: 29.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.5673, allocations: 206.5 kB / 0.7226 GB, free: 29.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.5674, allocations: 54.27 kB / 0.7226 GB, free: 29.08 MB / 494.1 MB 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.0004922/0.5679, allocations: 260.4 kB / 0.7229 GB, free: 28.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.5682, allocations: 137.1 kB / 0.723 GB, free: 28.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/0.5823, allocations: 4.536 MB / 0.7274 GB, free: 26.49 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.5823, allocations: 9.969 kB / 0.7274 GB, free: 26.49 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.5823, allocations: 1.5 kB / 0.7274 GB, free: 26.49 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.5823, allocations: 3.984 kB / 0.7274 GB, free: 26.49 MB / 494.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.01527/0.5976, allocations: 6.278 MB / 0.7336 GB, free: 22.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.5976, allocations: 0 / 0.7336 GB, free: 22.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/0.5982, allocations: 110.5 kB / 0.7337 GB, free: 22.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006363/0.6045, allocations: 2.135 MB / 0.7357 GB, free: 21.72 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.6047, allocations: 23.98 kB / 0.7358 GB, free: 21.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02128/0.6259, allocations: 9.961 MB / 0.7455 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6259, allocations: 4 kB / 0.7455 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/0.6408, allocations: 5.628 MB / 0.751 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004912/0.6412, allocations: 170.8 kB / 0.7512 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.6415, allocations: 20 kB / 0.7512 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.6428, allocations: 103.9 kB / 0.7513 GB, free: 5.684 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006699/0.6434, allocations: 249 kB / 0.7515 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-05/0.6435, allocations: 28 kB / 0.7515 GB, free: 5.414 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007831/0.6443, allocations: 0.7406 MB / 0.7523 GB, free: 4.668 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6443, allocations: 0 / 0.7523 GB, free: 4.668 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001272/0.6456, allocations: 491.5 kB / 0.7527 GB, free: 4.188 MB / 494.1 MB 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.01632/0.6619, allocations: 6.213 MB / 0.7588 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008352/0.6702, allocations: 2.451 MB / 0.7612 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6702, allocations: 0 / 0.7612 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005989/0.6762, allocations: 1.737 MB / 0.7629 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.6775, allocations: 111.4 kB / 0.763 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04741/0.7249, allocations: 18.12 MB / 0.7807 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008012/0.7257, allocations: 1.123 MB / 0.7818 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004976/0.7262, allocations: 108.3 kB / 0.7819 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006955/0.7269, allocations: 495.3 kB / 0.7824 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of SimCode: time 1.222e-06/0.7269, allocations: 0 / 0.7824 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0861/0.813, allocations: 39.18 MB / 0.8206 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.78, allocations: 0 / 0.8206 GB, free: 14.59 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Machines_PSSE_GENSAE.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.23489882799913] Failed to read output from testmodel.py, exit status != 0: 15.916801732997556 15.933252108 15.763089903 Calling exit ...