Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.07721/0.07721, allocations: 12.36 MB / 31.19 MB, free: 16 kB / 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.001162/0.001162, allocations: 113 kB / 37.24 MB, free: 1.238 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.365/1.365, allocations: 207.6 MB / 250.8 MB, free: 7.605 MB / 190.1 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.00154/0.00154, allocations: 208.4 kB / 306.1 MB, free: 0.7305 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.3175/0.3175, allocations: 79.73 MB / 440.9 MB, free: 10.48 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.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",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.003954/0.003954, allocations: 151.8 kB / 0.5875 GB, free: 5.426 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3176, allocations: 71.95 MB / 0.6578 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.008188/0.3258, allocations: 6.469 MB / 0.6641 GB, free: 7.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003659/0.3294, allocations: 1.838 MB / 0.6659 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004627/0.3299, allocations: 8 kB / 0.6659 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005204/0.3304, allocations: 230 kB / 0.6662 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.3321, allocations: 0.7763 MB / 0.6669 GB, free: 4.551 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.3334, allocations: 0.6072 MB / 0.6675 GB, free: 3.949 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00166/0.3351, allocations: 1.405 MB / 0.6689 GB, free: 2.539 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.3355, allocations: 224.8 kB / 0.6691 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007319/0.3362, allocations: 0.599 MB / 0.6697 GB, free: 1.707 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008574/0.3371, allocations: 0.7272 MB / 0.6704 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.3372, allocations: 104 kB / 0.6705 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004593/0.3377, allocations: 243.8 kB / 0.6707 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.3379, allocations: 278.8 kB / 0.671 GB, free: 372 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005135/0.3384, allocations: 0.6097 MB / 0.6716 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.34, allocations: 1.519 MB / 0.6731 GB, free: 14.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.34, allocations: 0 / 0.6731 GB, free: 14.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.34, allocations: 0 / 0.6731 GB, free: 14.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.3401, allocations: 4 kB / 0.6731 GB, free: 14.23 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007566/0.3476, allocations: 2.499 MB / 0.6755 GB, free: 11.69 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3477, allocations: 12.03 kB / 0.6755 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.3478, allocations: 126.8 kB / 0.6756 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00466/0.3525, allocations: 0.7874 MB / 0.6764 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.3537, allocations: 0.7127 MB / 0.6771 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003193/0.354, allocations: 307.6 kB / 0.6774 GB, free: 9.648 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.3542, allocations: 80 kB / 0.6775 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.3564, allocations: 1.073 MB / 0.6785 GB, free: 8.492 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.3564, allocations: 0 / 0.6785 GB, free: 8.492 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.653e-05/0.3565, allocations: 35.94 kB / 0.6786 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.3565, allocations: 20 kB / 0.6786 GB, free: 8.438 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.3589, allocations: 1.117 MB / 0.6797 GB, free: 7.316 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.005594/0.3645, allocations: 3.378 MB / 0.683 GB, free: 3.797 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.3664, allocations: 0.8648 MB / 0.6838 GB, free: 2.926 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.3679, allocations: 0.6992 MB / 0.6845 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.368, allocations: 24.98 kB / 0.6845 GB, free: 2.199 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.368, allocations: 43.55 kB / 0.6846 GB, free: 2.148 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 2.104e-06/0.368, allocations: 0 / 0.6846 GB, free: 2.148 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.02449/0.3925, allocations: 6.642 MB / 0.691 GB, free: 11.49 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.3926, allocations: 60.41 kB / 0.6911 GB, free: 11.42 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.3937, allocations: 0.8838 MB / 0.692 GB, free: 10.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.3938, allocations: 45.7 kB / 0.692 GB, free: 10.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003978/0.3942, allocations: 0.5012 MB / 0.6925 GB, free: 9.957 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003684/0.3946, allocations: 352.9 kB / 0.6928 GB, free: 9.609 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003665/0.395, allocations: 198.9 kB / 0.693 GB, free: 9.406 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3951, allocations: 349.9 kB / 0.6934 GB, free: 9.059 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.3967, allocations: 0.7131 MB / 0.6941 GB, free: 8.348 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.3984, allocations: 0.8384 MB / 0.6949 GB, free: 7.477 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01779/0.4162, allocations: 4.783 MB / 0.6995 GB, free: 2.66 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.4162, allocations: 0 / 0.6995 GB, free: 2.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0133/0.4295, allocations: 4.227 MB / 0.7037 GB, free: 14.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.4295, allocations: 8 kB / 0.7037 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4296, allocations: 0 / 0.7037 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005974/0.4355, allocations: 1.866 MB / 0.7055 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000964/0.4365, allocations: 211.6 kB / 0.7057 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02071/0.4572, allocations: 8.988 MB / 0.7145 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.4585, allocations: 179.3 kB / 0.7147 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.563e-05/0.4586, allocations: 39.98 kB / 0.7147 GB, free: 3.008 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0004454/0.4591, allocations: 249.4 kB / 0.7149 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.4593, allocations: 131.1 kB / 0.7151 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.4719, allocations: 3.975 MB / 0.7189 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.4719, allocations: 8 kB / 0.7189 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4719, allocations: 3.938 kB / 0.7189 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.4719, allocations: 7.922 kB / 0.719 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.4864, allocations: 5.554 MB / 0.7244 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4864, allocations: 0 / 0.7244 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006427/0.487, allocations: 131.8 kB / 0.7245 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00564/0.4926, allocations: 1.741 MB / 0.7262 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-05/0.4927, allocations: 16 kB / 0.7262 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/0.5103, allocations: 7.973 MB / 0.734 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5103, allocations: 7.922 kB / 0.734 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/0.5247, allocations: 4.933 MB / 0.7388 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/0.525, allocations: 139 kB / 0.739 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.5251, allocations: 16 kB / 0.739 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009263/0.5261, allocations: 107.9 kB / 0.7391 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006462/0.5267, allocations: 236.4 kB / 0.7393 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.5268, allocations: 20 kB / 0.7393 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000738/0.5275, allocations: 0.5965 MB / 0.7399 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5275, allocations: 0 / 0.7399 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00109/0.5286, allocations: 435.6 kB / 0.7403 GB, free: 8.438 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.0145/0.5431, allocations: 5.508 MB / 0.7457 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006544/0.5497, allocations: 2.362 MB / 0.748 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5497, allocations: 0 / 0.748 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004485/0.5541, allocations: 1.526 MB / 0.7495 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006849/0.5548, allocations: 92.41 kB / 0.7496 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03643/0.5913, allocations: 15.09 MB / 0.7643 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007052/0.592, allocations: 1.084 MB / 0.7654 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003422/0.5923, allocations: 86.69 kB / 0.7655 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005813/0.5929, allocations: 451.3 kB / 0.7659 GB, free: 13.96 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.5929, allocations: 0 / 0.7659 GB, free: 13.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07307/0.666, allocations: 34.43 MB / 0.7995 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/17.72, allocations: 15.41 kB / 0.7995 GB, free: 11.52 MB / 0.5762 GB " [Timeout remaining time 642] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_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_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.828915411002527] Failed to read output from testmodel.py, exit status != 0: 17.85926547899726 17.873770193 17.53080434 Calling exit ...