Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0784/0.0784, allocations: 12.36 MB / 28.71 MB, free: 0.6016 MB / 19.63 MB " [Timeout remaining time 180] 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.001332/0.001332, allocations: 115.2 kB / 34.42 MB, free: 1.676 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 207.6 MB / 247.6 MB, free: 8.812 MB / 190.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.001603/0.001603, allocations: 212.3 kB / 302.5 MB, free: 2.352 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.331/0.331, allocations: 79.74 MB / 436.9 MB, free: 11.71 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.00396/0.00396, allocations: 145.7 kB / 0.5819 GB, free: 7.941 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3734, allocations: 71.92 MB / 0.6521 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.008096/0.3815, allocations: 6.242 MB / 0.6582 GB, free: 8.621 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004525/0.386, allocations: 1.83 MB / 0.66 GB, free: 6.785 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005169/0.3865, allocations: 8 kB / 0.66 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006225/0.3871, allocations: 246 kB / 0.6603 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.3891, allocations: 0.8698 MB / 0.6611 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.3906, allocations: 0.6311 MB / 0.6617 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002076/0.3927, allocations: 1.646 MB / 0.6633 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003716/0.393, allocations: 199.5 kB / 0.6635 GB, free: 3.176 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008122/0.3939, allocations: 0.6303 MB / 0.6641 GB, free: 2.543 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000935/0.3948, allocations: 0.8091 MB / 0.6649 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.395, allocations: 120 kB / 0.665 GB, free: 1.613 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000458/0.3954, allocations: 239.9 kB / 0.6653 GB, free: 1.379 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002734/0.3957, allocations: 306.8 kB / 0.6656 GB, free: 1.078 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005725/0.3963, allocations: 0.6409 MB / 0.6662 GB, free: 444 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.398, allocations: 1.566 MB / 0.6677 GB, free: 14.87 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.398, allocations: 7.938 kB / 0.6677 GB, free: 14.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.398, allocations: 0 / 0.6677 GB, free: 14.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.3981, allocations: 0 / 0.6677 GB, free: 14.86 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.009205/0.4073, allocations: 2.66 MB / 0.6703 GB, free: 12.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.4073, allocations: 15.98 kB / 0.6703 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001863/0.4075, allocations: 122.5 kB / 0.6705 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0044/0.4119, allocations: 0.6899 MB / 0.6711 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.4134, allocations: 0.8196 MB / 0.6719 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004542/0.4138, allocations: 341.3 kB / 0.6723 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.414, allocations: 79.95 kB / 0.6723 GB, free: 9.965 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/0.4165, allocations: 1.141 MB / 0.6734 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.4165, allocations: 0 / 0.6734 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.4166, allocations: 28 kB / 0.6735 GB, free: 8.785 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.4166, allocations: 19.98 kB / 0.6735 GB, free: 8.766 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/0.4192, allocations: 1.081 MB / 0.6745 GB, free: 7.684 MB / 462.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.00728/0.4265, allocations: 3.591 MB / 0.6781 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008039/0.4346, allocations: 2.436 MB / 0.6804 GB, free: 1.359 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.4362, allocations: 0.6995 MB / 0.6811 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.4364, allocations: 13 kB / 0.6811 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.4364, allocations: 43.56 kB / 0.6812 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 3.216e-06/0.4364, allocations: 3.938 kB / 0.6812 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.04245/0.4789, allocations: 9.364 MB / 0.6903 GB, free: 7.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.801e-05/0.479, allocations: 86.11 kB / 0.6904 GB, free: 7.078 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.4807, allocations: 0.9087 MB / 0.6913 GB, free: 6.148 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003136/0.481, allocations: 41.7 kB / 0.6913 GB, free: 6.102 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004165/0.4815, allocations: 477.1 kB / 0.6918 GB, free: 5.629 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004708/0.4819, allocations: 356.8 kB / 0.6921 GB, free: 5.277 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/0.4823, allocations: 174.9 kB / 0.6923 GB, free: 5.098 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4825, allocations: 349.9 kB / 0.6926 GB, free: 4.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.4842, allocations: 0.6701 MB / 0.6933 GB, free: 4.082 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.4859, allocations: 0.8276 MB / 0.6941 GB, free: 3.203 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00342/0.4893, allocations: 1.528 MB / 0.6956 GB, free: 1.625 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.4894, allocations: 7.938 kB / 0.6956 GB, free: 1.617 MB / 478.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.0164/0.5058, allocations: 4.501 MB / 0.7 GB, free: 13.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.5058, allocations: 8 kB / 0.7 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.5058, allocations: 4.312 kB / 0.7 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008364/0.5142, allocations: 2.349 MB / 0.7023 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/0.5149, allocations: 139.8 kB / 0.7024 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03085/0.5458, allocations: 11.34 MB / 0.7135 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.5474, allocations: 159.3 kB / 0.7136 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.5476, allocations: 39.98 kB / 0.7137 GB, free: 14.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (83): * Single equations (assignments): 82 * 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 {(27,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0004959/0.5481, allocations: 233.7 kB / 0.7139 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.5483, allocations: 123.2 kB / 0.714 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/0.5646, allocations: 4.397 MB / 0.7183 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.5646, allocations: 8 kB / 0.7183 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5647, allocations: 0 / 0.7183 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/0.5647, allocations: 15.91 kB / 0.7183 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01871/0.5834, allocations: 6.035 MB / 0.7242 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.5834, allocations: 0 / 0.7242 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/0.584, allocations: 95.84 kB / 0.7243 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008014/0.592, allocations: 2.158 MB / 0.7264 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/0.5922, allocations: 20 kB / 0.7265 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02712/0.6193, allocations: 9.956 MB / 0.7362 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6193, allocations: 0 / 0.7362 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0183/0.6376, allocations: 5.469 MB / 0.7415 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004558/0.638, allocations: 224 kB / 0.7417 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.6382, allocations: 24.12 kB / 0.7418 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.6394, allocations: 107.8 kB / 0.7419 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007655/0.6402, allocations: 237.1 kB / 0.7421 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.224e-05/0.6402, allocations: 28 kB / 0.7421 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000866/0.6411, allocations: 0.6226 MB / 0.7427 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6411, allocations: 0 / 0.7427 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001363/0.6425, allocations: 463.6 kB / 0.7432 GB, free: 368 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,gENCLS1.delta,gENCLS1.omega,gENCLS1.eq,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 (55): * Single equations (assignments): 54 * 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 {(27,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01847/0.6609, allocations: 6.039 MB / 0.7491 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008253/0.6692, allocations: 2.478 MB / 0.7515 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6692, allocations: 0 / 0.7515 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005992/0.6752, allocations: 1.694 MB / 0.7531 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009975/0.6762, allocations: 104.2 kB / 0.7532 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04458/0.7208, allocations: 16.17 MB / 0.769 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007641/0.7215, allocations: 1.091 MB / 0.7701 GB, free: 4.445 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004219/0.722, allocations: 86.97 kB / 0.7702 GB, free: 4.355 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006361/0.7226, allocations: 431.2 kB / 0.7706 GB, free: 3.938 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.7226, allocations: 0 / 0.7706 GB, free: 3.938 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08084/0.8034, allocations: 38.9 MB / 0.8086 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.2, allocations: 0.875 kB / 0.8086 GB, free: 13.05 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.54632909600332] Failed to read output from testmodel.py, exit status != 0: 14.310310835993732 14.333627305 13.931348386 Calling exit ...