Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENTPJ.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.001634/0.001634, allocations: 111 kB / 16.46 MB, free: 6.453 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.469/1.469, allocations: 230.6 MB / 249.8 MB, free: 9.203 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.001544/0.001544, allocations: 216.9 kB / 306 MB, free: 4.277 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5781/0.5781, allocations: 107.2 MB / 469.2 MB, free: 6.32 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.GENTPJ,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENTPJ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENTPJ,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENTPJ",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.002619/0.002619, allocations: 83.88 kB / 0.628 GB, free: 7.793 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4779/0.4806, allocations: 80.11 MB / 0.7062 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENTPJ): time 0.01182/0.4924, allocations: 7.439 MB / 0.7135 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008466/0.5008, allocations: 2.409 MB / 0.7159 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.5025, allocations: 9.688 kB / 0.7159 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.5038, allocations: 284.7 kB / 0.7161 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005071/0.5089, allocations: 1.041 MB / 0.7171 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.5118, allocations: 0.6877 MB / 0.7178 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004203/0.516, allocations: 1.917 MB / 0.7197 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008459/0.5169, allocations: 272.5 kB / 0.72 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.5188, allocations: 0.7911 MB / 0.7207 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0025/0.5213, allocations: 1.022 MB / 0.7217 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005881/0.5219, allocations: 151.8 kB / 0.7219 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.5234, allocations: 394.8 kB / 0.7222 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007551/0.5242, allocations: 390.5 kB / 0.7226 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001879/0.5261, allocations: 0.7968 MB / 0.7234 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004791/0.5309, allocations: 1.991 MB / 0.7253 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.5309, allocations: 0 / 0.7253 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5309, allocations: 3.938 kB / 0.7253 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.229e-05/0.531, allocations: 1.125 kB / 0.7253 GB, free: 8.809 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.02493/0.5559, allocations: 3.372 MB / 0.7286 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.5559, allocations: 9.656 kB / 0.7286 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000629/0.5566, allocations: 139.4 kB / 0.7288 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.567, allocations: 0.7505 MB / 0.7295 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/0.5708, allocations: 0.9696 MB / 0.7305 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008344/0.5716, allocations: 360.2 kB / 0.7308 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007162/0.5723, allocations: 97.84 kB / 0.7309 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006021/0.5783, allocations: 1.268 MB / 0.7321 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/0.5784, allocations: 0 / 0.7321 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003055/0.5787, allocations: 35.62 kB / 0.7322 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/0.5787, allocations: 20.12 kB / 0.7322 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005784/0.5845, allocations: 1.247 MB / 0.7334 GB, free: 4.59 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 preOpt removeSimpleEquations (simulation): time 0.01679/0.6013, allocations: 4.287 MB / 0.7376 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009203/0.6105, allocations: 2.626 MB / 0.7402 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002402/0.6129, allocations: 0.7868 MB / 0.7409 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.6131, allocations: 24.84 kB / 0.7409 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.6132, allocations: 48.62 kB / 0.741 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=117): time 2.965e-06/0.6132, allocations: 0 / 0.741 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=117): time 0.052/0.6652, allocations: 10.77 MB / 0.7515 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.3e-05/0.6653, allocations: 93.59 kB / 0.7516 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002733/0.668, allocations: 1.181 MB / 0.7528 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004448/0.6684, allocations: 49.7 kB / 0.7528 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006514/0.6691, allocations: 0.5021 MB / 0.7533 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009654/0.6701, allocations: 452.1 kB / 0.7537 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00126/0.6713, allocations: 331.4 kB / 0.754 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6715, allocations: 301.1 kB / 0.7543 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002644/0.6741, allocations: 0.9643 MB / 0.7553 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002751/0.6769, allocations: 1.155 MB / 0.7564 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004986/0.6819, allocations: 2.054 MB / 0.7584 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.6819, allocations: 7.938 kB / 0.7584 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01216/0.694, allocations: 3.825 MB / 0.7621 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.6941, allocations: 8 kB / 0.7621 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.6941, allocations: 0 / 0.7621 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01626/0.7103, allocations: 3.224 MB / 0.7653 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.7118, allocations: 247.6 kB / 0.7655 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009936/0.7217, allocations: 3.673 MB / 0.7691 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002872/0.7246, allocations: 218.9 kB / 0.7693 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003823/0.725, allocations: 71.97 kB / 0.7694 GB, free: 7.344 MB / 0.5294 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 (146): * Single equations (assignments): 144 * 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 {(32,30), (3,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0009883/0.726, allocations: 267.2 kB / 0.7697 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/0.7266, allocations: 147 kB / 0.7698 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/0.743, allocations: 4.455 MB / 0.7741 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.743, allocations: 12 kB / 0.7742 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.743, allocations: 0 / 0.7742 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.482e-05/0.7431, allocations: 7.984 kB / 0.7742 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/0.7577, allocations: 4.862 MB / 0.7789 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.7577, allocations: 0 / 0.7789 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007744/0.7584, allocations: 111.9 kB / 0.779 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01026/0.7687, allocations: 2.364 MB / 0.7813 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000339/0.769, allocations: 23.98 kB / 0.7813 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007483/0.7765, allocations: 2.595 MB / 0.7839 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.7765, allocations: 0 / 0.7839 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/0.7903, allocations: 4.271 MB / 0.7881 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007488/0.7911, allocations: 252 kB / 0.7883 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000569/0.7916, allocations: 24 kB / 0.7883 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/0.7936, allocations: 119.8 kB / 0.7884 GB, free: 3.617 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005128/0.7941, allocations: 148.9 kB / 0.7886 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/0.7943, allocations: 31.98 kB / 0.7886 GB, free: 3.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001525/0.7958, allocations: 0.7845 MB / 0.7894 GB, free: 2.652 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7958, allocations: 0 / 0.7894 GB, free: 2.652 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001757/0.7976, allocations: 451.6 kB / 0.7898 GB, free: 2.211 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENTPJ.w,gENTPJ.delta,gENTPJ.Epd,gENTPJ.Epq,gENTPJ.PSIppd,gENTPJ.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 (68): * Single equations (assignments): 67 * 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 {(28,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01399/0.8115, allocations: 4.867 MB / 0.7946 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0111/0.8226, allocations: 2.719 MB / 0.7972 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.8226, allocations: 0 / 0.7972 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006999/0.8296, allocations: 1.469 MB / 0.7986 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/0.8317, allocations: 116.7 kB / 0.7988 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05479/0.8865, allocations: 17.67 MB / 0.816 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009814/0.8875, allocations: 1.121 MB / 0.8171 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006313/0.8881, allocations: 104.9 kB / 0.8172 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009611/0.8891, allocations: 0.4993 MB / 0.8177 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of SimCode: time 1.103e-06/0.8891, allocations: 4 kB / 0.8177 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08636/0.9755, allocations: 35.36 MB / 0.8522 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.69, allocations: 3.984 kB / 0.8522 GB, free: 2.105 MB / 0.6075 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENTPJ.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENTPJ.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENTPJ.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENTPJ.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENTPJ_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_GENTPJ.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENTPJ.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.312251810915768] Failed to read output from testmodel.py, exit status != 0: 15.807860158151016 15.834448397 15.298621293 Calling exit ...