Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.001271/0.001271, allocations: 104.9 kB / 16.45 MB, free: 6.449 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.403/1.403, allocations: 230.6 MB / 249.8 MB, free: 9.246 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.001537/0.001537, allocations: 222.5 kB / 306 MB, free: 4.355 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.4288/0.4288, allocations: 79.7 MB / 441.8 MB, free: 160 kB / 302.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.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",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.002408/0.002408, allocations: 83.88 kB / 0.5878 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1252, allocations: 73.26 MB / 0.6594 GB, free: 8.223 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007551/0.1327, allocations: 6.485 MB / 0.6657 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003887/0.1366, allocations: 1.962 MB / 0.6676 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005237/0.1371, allocations: 15.94 kB / 0.6676 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005159/0.1376, allocations: 230 kB / 0.6678 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.1394, allocations: 0.7796 MB / 0.6686 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.1407, allocations: 0.6385 MB / 0.6692 GB, free: 14.07 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.1423, allocations: 1.44 MB / 0.6706 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003738/0.1426, allocations: 220.4 kB / 0.6709 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007208/0.1434, allocations: 0.6146 MB / 0.6715 GB, free: 11.78 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007989/0.1442, allocations: 0.7349 MB / 0.6722 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.1443, allocations: 104 kB / 0.6723 GB, free: 10.94 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004638/0.1448, allocations: 259.8 kB / 0.6725 GB, free: 10.69 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.145, allocations: 278.8 kB / 0.6728 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005379/0.1456, allocations: 0.6368 MB / 0.6734 GB, free: 9.773 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.1472, allocations: 1.54 MB / 0.6749 GB, free: 8.227 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1472, allocations: 0 / 0.6749 GB, free: 8.227 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1472, allocations: 4 kB / 0.6749 GB, free: 8.223 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.1472, allocations: 0 / 0.6749 GB, free: 8.223 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.008663/0.1559, allocations: 2.629 MB / 0.6775 GB, free: 5.535 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1559, allocations: 8.031 kB / 0.6775 GB, free: 5.527 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.1561, allocations: 134.7 kB / 0.6776 GB, free: 5.387 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005611/0.1617, allocations: 0.8108 MB / 0.6784 GB, free: 4.574 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.1631, allocations: 0.8009 MB / 0.6792 GB, free: 3.719 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/0.1634, allocations: 256.2 kB / 0.6794 GB, free: 3.434 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.1635, allocations: 83.95 kB / 0.6795 GB, free: 3.352 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.1661, allocations: 1.085 MB / 0.6806 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.1661, allocations: 0 / 0.6806 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.1662, allocations: 32 kB / 0.6806 GB, free: 2.227 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.1662, allocations: 16 kB / 0.6806 GB, free: 2.211 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/0.169, allocations: 1.12 MB / 0.6817 GB, free: 1.09 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.006113/0.1751, allocations: 3.453 MB / 0.6851 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.1775, allocations: 1.344 MB / 0.6864 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.1792, allocations: 0.707 MB / 0.6871 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.1794, allocations: 16.98 kB / 0.6871 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.1794, allocations: 43.56 kB / 0.6871 GB, free: 11.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=97): time 2.615e-06/0.1794, allocations: 0 / 0.6871 GB, free: 11.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=97): time 0.02809/0.2075, allocations: 6.579 MB / 0.6936 GB, free: 4.629 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.2076, allocations: 60.41 kB / 0.6936 GB, free: 4.555 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.2089, allocations: 0.9126 MB / 0.6945 GB, free: 3.625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001763/0.2091, allocations: 45.7 kB / 0.6946 GB, free: 3.574 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/0.2095, allocations: 0.4975 MB / 0.695 GB, free: 3.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003947/0.2099, allocations: 360.9 kB / 0.6954 GB, free: 2.715 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000435/0.2103, allocations: 202.9 kB / 0.6956 GB, free: 2.508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.2105, allocations: 349.9 kB / 0.6959 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.2123, allocations: 0.7287 MB / 0.6966 GB, free: 1.434 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.2143, allocations: 0.8539 MB / 0.6975 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2653/0.4795, allocations: 4.933 MB / 0.7023 GB, free: 34.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.4796, allocations: 0.8438 kB / 0.7023 GB, free: 34.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01537/0.4949, allocations: 4.245 MB / 0.7064 GB, free: 34.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.495, allocations: 6.406 kB / 0.7064 GB, free: 34.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.495, allocations: 3.172 kB / 0.7064 GB, free: 34.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0073/0.5023, allocations: 1.809 MB / 0.7082 GB, free: 34.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.5035, allocations: 214.7 kB / 0.7084 GB, free: 34.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02259/0.5261, allocations: 9.334 MB / 0.7175 GB, free: 30.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.5276, allocations: 188 kB / 0.7177 GB, free: 30.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.5277, allocations: 38.81 kB / 0.7177 GB, free: 30.37 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.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 (111): * Single equations (assignments): 110 * 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.0004408/0.5281, allocations: 241.2 kB / 0.718 GB, free: 30.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.5283, allocations: 124.9 kB / 0.7181 GB, free: 30.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/0.5416, allocations: 3.989 MB / 0.722 GB, free: 29.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.5416, allocations: 10.44 kB / 0.722 GB, free: 29.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5416, allocations: 0 / 0.722 GB, free: 29.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.5416, allocations: 5.203 kB / 0.722 GB, free: 29.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/0.5562, allocations: 5.577 MB / 0.7274 GB, free: 25.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.5562, allocations: 5.453 kB / 0.7275 GB, free: 25.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.5569, allocations: 129.2 kB / 0.7276 GB, free: 25.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005797/0.5627, allocations: 1.75 MB / 0.7293 GB, free: 24.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.5628, allocations: 23.61 kB / 0.7293 GB, free: 24.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01699/0.5798, allocations: 8.083 MB / 0.7372 GB, free: 18.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5798, allocations: 0.875 kB / 0.7372 GB, free: 18.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/0.5943, allocations: 4.936 MB / 0.742 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004512/0.5947, allocations: 210.8 kB / 0.7422 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.5949, allocations: 23.92 kB / 0.7422 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.5959, allocations: 110.7 kB / 0.7424 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006465/0.5966, allocations: 220.7 kB / 0.7426 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-05/0.5967, allocations: 20 kB / 0.7426 GB, free: 13.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006545/0.5973, allocations: 0.609 MB / 0.7432 GB, free: 12.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5973, allocations: 0 / 0.7432 GB, free: 12.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001247/0.5986, allocations: 444.9 kB / 0.7436 GB, free: 12.14 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 (64): * Single equations (assignments): 63 * 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.01436/0.6129, allocations: 5.518 MB / 0.749 GB, free: 6.586 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006469/0.6194, allocations: 2.389 MB / 0.7513 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6194, allocations: 0 / 0.7513 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004433/0.6238, allocations: 1.534 MB / 0.7528 GB, free: 2.645 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007696/0.6246, allocations: 92.41 kB / 0.7529 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04051/0.6651, allocations: 15.33 MB / 0.7679 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000779/0.6659, allocations: 1.107 MB / 0.769 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004588/0.6664, allocations: 90.88 kB / 0.769 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000637/0.667, allocations: 451.3 kB / 0.7695 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/0.667, allocations: 0 / 0.7695 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07368/0.7407, allocations: 34.2 MB / 0.8029 GB, free: 15.36 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/18.35, allocations: 10.16 kB / 0.8029 GB, free: 15.35 MB / 0.545 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation_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_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.681626744000823] Failed to read output from testmodel.py, exit status != 0: 18.454763989997446 18.469504027 18.319334243 Calling exit ...