Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.0007821/0.0007821, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8958/0.8958, allocations: 177.1 MB / 199.4 MB, free: 5.91 MB / 186.7 MB " [Timeout remaining time 179] 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.001007/0.001007, allocations: 160.4 kB / 256 MB, free: 13.32 MB / 250.7 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.2645/0.2645, allocations: 80.25 MB / 392.6 MB, free: 2.422 MB / 314.7 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.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.5548 GB, free: 12.7 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.495e-05, allocations: 5.375 kB / 0.5548 GB, free: 12.7 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004107/0.004122, allocations: 5.105 MB / 0.5598 GB, free: 7.559 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.006378, allocations: 1.704 MB / 0.5614 GB, free: 5.852 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002806/0.006658, allocations: 11.94 kB / 0.5615 GB, free: 5.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.006991, allocations: 202.3 kB / 0.5617 GB, free: 5.641 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.008043, allocations: 0.7438 MB / 0.5624 GB, free: 4.895 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.00871, allocations: 0.5479 MB / 0.5629 GB, free: 4.352 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008256/0.009535, allocations: 1.287 MB / 0.5642 GB, free: 3.059 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.009775, allocations: 179.6 kB / 0.5643 GB, free: 2.871 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005426/0.01032, allocations: 0.7363 MB / 0.5651 GB, free: 2.133 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006561/0.01097, allocations: 0.5179 MB / 0.5656 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.175e-05/0.01106, allocations: 88 kB / 0.5657 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.01131, allocations: 231.7 kB / 0.5659 GB, free: 1.301 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.01144, allocations: 250.8 kB / 0.5661 GB, free: 1.055 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.01164, allocations: 366.7 kB / 0.5665 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008949/0.01254, allocations: 1.405 MB / 0.5678 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.01254, allocations: 0 / 0.5678 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01254, allocations: 0 / 0.5678 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.01255, allocations: 0 / 0.5678 GB, free: 15.29 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.003658/0.01621, allocations: 2.311 MB / 0.5701 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.01625, allocations: 8.031 kB / 0.5701 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.01635, allocations: 122.5 kB / 0.5702 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/0.01864, allocations: 0.7641 MB / 0.571 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.01937, allocations: 0.6452 MB / 0.5716 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.01956, allocations: 307.6 kB / 0.5719 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-05/0.01965, allocations: 67.95 kB / 0.5719 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.02108, allocations: 0.9637 MB / 0.5729 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.0211, allocations: 0 / 0.5729 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/0.02115, allocations: 28 kB / 0.5729 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.02116, allocations: 19.94 kB / 0.5729 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.02239, allocations: 0.9721 MB / 0.5739 GB, free: 8.945 MB / 0.4948 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.002919/0.02531, allocations: 2.343 MB / 0.5762 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.02642, allocations: 0.776 MB / 0.5769 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007934/0.02721, allocations: 0.6241 MB / 0.5775 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.276e-05/0.02729, allocations: 16.59 kB / 0.5776 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.02732, allocations: 43.16 kB / 0.5776 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=82): time 2.034e-06/0.02732, allocations: 0 / 0.5776 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.01359/0.0409, allocations: 6.662 MB / 0.5841 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.04095, allocations: 60.06 kB / 0.5842 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/0.04164, allocations: 0.8026 MB / 0.5849 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.0417, allocations: 41.64 kB / 0.585 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.04193, allocations: 441 kB / 0.5854 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.04211, allocations: 305.3 kB / 0.5857 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.04233, allocations: 178.9 kB / 0.5859 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.04242, allocations: 349.9 kB / 0.5862 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.04353, allocations: 0.6506 MB / 0.5868 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009142/0.04444, allocations: 0.7756 MB / 0.5876 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009225/0.05367, allocations: 4.609 MB / 0.5921 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.05368, allocations: 0 / 0.5921 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.007132/0.06081, allocations: 4.087 MB / 0.5961 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.06083, allocations: 6.812 kB / 0.5961 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.06084, allocations: 11.94 kB / 0.5961 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003212/0.06405, allocations: 1.783 MB / 0.5978 GB, free: 180 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.06443, allocations: 163.8 kB / 0.598 GB, free: 16 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2237/0.2881, allocations: 9.02 MB / 0.6068 GB, free: 88.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008018/0.2889, allocations: 157.8 kB / 0.607 GB, free: 88.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.289, allocations: 35.38 kB / 0.607 GB, free: 88.71 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order31.delta:VARIABLE(flow=false start = order31.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003199/0.2893, allocations: 235.8 kB / 0.6072 GB, free: 88.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2894, allocations: 103.2 kB / 0.6073 GB, free: 88.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006686/0.2961, allocations: 3.797 MB / 0.611 GB, free: 87.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.2961, allocations: 7.438 kB / 0.611 GB, free: 87.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.2961, allocations: 1.125 kB / 0.611 GB, free: 87.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.2961, allocations: 4.359 kB / 0.611 GB, free: 87.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008356/0.3045, allocations: 4.725 MB / 0.6157 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3045, allocations: 4 kB / 0.6157 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.3048, allocations: 96 kB / 0.6157 GB, free: 86.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003527/0.3083, allocations: 1.74 MB / 0.6174 GB, free: 86.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.3084, allocations: 15.53 kB / 0.6175 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/0.3198, allocations: 7.762 MB / 0.625 GB, free: 82.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3198, allocations: 1.828 kB / 0.625 GB, free: 82.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008235/0.328, allocations: 4.695 MB / 0.6296 GB, free: 81.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.3283, allocations: 120.6 kB / 0.6297 GB, free: 80.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.382e-05/0.3283, allocations: 11.5 kB / 0.6298 GB, free: 80.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/0.3288, allocations: 93 kB / 0.6298 GB, free: 80.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003855/0.3292, allocations: 209.5 kB / 0.63 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.3292, allocations: 22.42 kB / 0.6301 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005055/0.3297, allocations: 0.5409 MB / 0.6306 GB, free: 80.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.1e-08/0.3297, allocations: 0 / 0.6306 GB, free: 80.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009781/0.3307, allocations: 411.5 kB / 0.631 GB, free: 80.61 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00821/0.3389, allocations: 5.255 MB / 0.6361 GB, free: 78.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003623/0.3426, allocations: 2.221 MB / 0.6383 GB, free: 78.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3426, allocations: 0 / 0.6383 GB, free: 78.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002218/0.3448, allocations: 1.439 MB / 0.6397 GB, free: 77.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.3452, allocations: 79.53 kB / 0.6398 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/0.3631, allocations: 14.08 MB / 0.6535 GB, free: 64.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.3633, allocations: 450.2 kB / 0.6539 GB, free: 63.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.3635, allocations: 77.92 kB / 0.654 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/0.3637, allocations: 368.4 kB / 0.6544 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of SimCode: time 1.242e-06/0.3637, allocations: 0 / 0.6544 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03815/0.4019, allocations: 33.35 MB / 0.6869 GB, free: 30.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.888/9.29, allocations: 9.375 kB / 0.687 GB, free: 30.35 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.148639526218176] Failed to read output from testmodel.py, exit status != 0: 9.391818860545754 9.400138094 9.386298627 Calling exit ...