Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.001341/0.001341, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.503/1.503, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001611/0.001611, allocations: 204.5 kB / 309.2 MB, free: 3.152 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6381/0.6381, allocations: 107.3 MB / 473 MB, free: 29.68 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_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.002528/0.002528, allocations: 83.73 kB / 0.6332 GB, free: 29.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1369, allocations: 80.17 MB / 0.7115 GB, free: 7.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007155/0.1441, allocations: 5.676 MB / 0.7171 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004139/0.1482, allocations: 1.872 MB / 0.7189 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006143/0.1488, allocations: 15.94 kB / 0.7189 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006248/0.1494, allocations: 222 kB / 0.7191 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.1514, allocations: 0.7514 MB / 0.7199 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.1529, allocations: 0.6202 MB / 0.7205 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001933/0.1548, allocations: 1.413 MB / 0.7218 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004552/0.1552, allocations: 216.7 kB / 0.7221 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008415/0.1561, allocations: 0.6068 MB / 0.7226 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00087/0.157, allocations: 0.6763 MB / 0.7233 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.1572, allocations: 100 kB / 0.7234 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005807/0.1577, allocations: 239.9 kB / 0.7236 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.158, allocations: 278.8 kB / 0.7239 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005144/0.1585, allocations: 0.5049 MB / 0.7244 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.1608, allocations: 1.544 MB / 0.7259 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1608, allocations: 0 / 0.7259 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1608, allocations: 0 / 0.7259 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.296e-05/0.1608, allocations: 0 / 0.7259 GB, free: 8.781 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.008608/0.1694, allocations: 2.534 MB / 0.7284 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1695, allocations: 12.03 kB / 0.7284 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/0.1697, allocations: 126.7 kB / 0.7285 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005483/0.1751, allocations: 0.8225 MB / 0.7293 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.1769, allocations: 0.713 MB / 0.73 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003603/0.1773, allocations: 311.5 kB / 0.7303 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.1774, allocations: 80 kB / 0.7304 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/0.1799, allocations: 1.077 MB / 0.7314 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.1799, allocations: 3.984 kB / 0.7314 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.1802, allocations: 32 kB / 0.7315 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.1802, allocations: 16 kB / 0.7315 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002732/0.1829, allocations: 1.116 MB / 0.7326 GB, free: 1.797 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.006043/0.1889, allocations: 2.592 MB / 0.7351 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.1911, allocations: 0.8695 MB / 0.7359 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.1928, allocations: 0.7031 MB / 0.7366 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-05/0.1929, allocations: 12.98 kB / 0.7366 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.1929, allocations: 43.56 kB / 0.7367 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 3.337e-06/0.1929, allocations: 0 / 0.7367 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.02838/0.2213, allocations: 6.638 MB / 0.7432 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.2214, allocations: 64.41 kB / 0.7432 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.2227, allocations: 0.9001 MB / 0.7441 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002232/0.223, allocations: 41.7 kB / 0.7442 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004696/0.2234, allocations: 0.4975 MB / 0.7446 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005482/0.224, allocations: 356.9 kB / 0.745 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000505/0.2245, allocations: 198.9 kB / 0.7452 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.2247, allocations: 353.9 kB / 0.7455 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.2265, allocations: 0.7092 MB / 0.7462 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/0.2285, allocations: 0.8423 MB / 0.747 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02001/0.2485, allocations: 4.897 MB / 0.7518 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.2485, allocations: 0 / 0.7518 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01478/0.2633, allocations: 4.227 MB / 0.7559 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.2633, allocations: 8 kB / 0.7559 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2633, allocations: 0 / 0.7559 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006691/0.27, allocations: 1.866 MB / 0.7578 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.2711, allocations: 207.6 kB / 0.758 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02305/0.2942, allocations: 8.797 MB / 0.7665 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.2958, allocations: 175.2 kB / 0.7667 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/0.296, allocations: 35.98 kB / 0.7668 GB, free: 14.45 MB / 0.545 GB 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.0005997/0.2966, allocations: 255.8 kB / 0.767 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.2969, allocations: 127.2 kB / 0.7671 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/0.311, allocations: 3.975 MB / 0.771 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.311, allocations: 12 kB / 0.771 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.311, allocations: 7.922 kB / 0.771 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/0.3111, allocations: 3.984 kB / 0.771 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/0.3273, allocations: 4.969 MB / 0.7759 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.3273, allocations: 0 / 0.7759 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000807/0.3281, allocations: 135.8 kB / 0.776 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006527/0.3347, allocations: 1.738 MB / 0.7777 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002392/0.3349, allocations: 16 kB / 0.7777 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02105/0.356, allocations: 7.782 MB / 0.7853 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.356, allocations: 0 / 0.7853 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01739/0.3734, allocations: 4.945 MB / 0.7901 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005474/0.3739, allocations: 135 kB / 0.7903 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004655/0.3744, allocations: 16 kB / 0.7903 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/0.3759, allocations: 111.9 kB / 0.7904 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009631/0.3768, allocations: 232.5 kB / 0.7906 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002022/0.377, allocations: 24 kB / 0.7906 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001157/0.3782, allocations: 0.6008 MB / 0.7912 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3782, allocations: 4 kB / 0.7912 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001868/0.3801, allocations: 435.6 kB / 0.7916 GB, free: 4.719 MB / 0.5606 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.01731/0.3974, allocations: 5.515 MB / 0.797 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007789/0.4052, allocations: 2.362 MB / 0.7993 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4052, allocations: 0 / 0.7993 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005473/0.4106, allocations: 1.514 MB / 0.8008 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.4116, allocations: 88.42 kB / 0.8009 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3551/0.7667, allocations: 15.14 MB / 0.8157 GB, free: 93.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006574/0.7674, allocations: 0.4955 MB / 0.8162 GB, free: 93.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004816/0.7679, allocations: 91.11 kB / 0.8163 GB, free: 93.58 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005813/0.7684, allocations: 447 kB / 0.8167 GB, free: 93.57 MB / 0.5762 GB Notification: Performance of SimCode: time 1.293e-06/0.7684, allocations: 0 / 0.8167 GB, free: 93.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07864/0.8471, allocations: 35.52 MB / 0.8514 GB, free: 73.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.97, allocations: 19.02 kB / 0.8514 GB, free: 73.02 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.78400200465694] Failed to read output from testmodel.py, exit status != 0: 15.101883627008647 15.112938213 14.949725801 Calling exit ...