Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001303/0.001303, 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.485/1.485, allocations: 230.6 MB / 252.7 MB, free: 14.24 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.001589/0.001589, allocations: 214 kB / 309.2 MB, free: 3.121 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.6284/0.6284, allocations: 107.3 MB / 473 MB, free: 29.84 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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_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.00259/0.00259, allocations: 82.81 kB / 0.6332 GB, free: 29.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1519, allocations: 80.18 MB / 0.7115 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007654/0.1595, allocations: 5.713 MB / 0.7171 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004114/0.1637, allocations: 1.888 MB / 0.719 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006376/0.1643, allocations: 15.94 kB / 0.719 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006117/0.1649, allocations: 226 kB / 0.7192 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.1668, allocations: 0.763 MB / 0.7199 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.1683, allocations: 0.6242 MB / 0.7205 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001909/0.1702, allocations: 1.44 MB / 0.722 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004392/0.1706, allocations: 216.8 kB / 0.7222 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008933/0.1715, allocations: 0.6224 MB / 0.7228 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009082/0.1724, allocations: 0.6646 MB / 0.7234 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.1726, allocations: 100 kB / 0.7235 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005507/0.1732, allocations: 247.9 kB / 0.7237 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002864/0.1735, allocations: 282.7 kB / 0.724 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005241/0.174, allocations: 0.5127 MB / 0.7245 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.1758, allocations: 1.556 MB / 0.726 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1758, allocations: 4 kB / 0.726 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1758, allocations: 4 kB / 0.726 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.1758, allocations: 0 / 0.726 GB, free: 8.617 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.008797/0.1846, allocations: 2.553 MB / 0.7285 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1847, allocations: 8.031 kB / 0.7285 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.1849, allocations: 134.8 kB / 0.7287 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005365/0.1902, allocations: 0.8186 MB / 0.7295 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.1918, allocations: 0.7248 MB / 0.7302 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.1921, allocations: 311.6 kB / 0.7305 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.1923, allocations: 79.98 kB / 0.7306 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.1947, allocations: 1.077 MB / 0.7316 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.1948, allocations: 0 / 0.7316 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.534e-05/0.1949, allocations: 39.88 kB / 0.7316 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.1949, allocations: 20 kB / 0.7317 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.1976, allocations: 1.117 MB / 0.7328 GB, free: 1.594 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.005857/0.2035, allocations: 2.615 MB / 0.7353 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/0.2056, allocations: 0.8773 MB / 0.7362 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.2073, allocations: 0.707 MB / 0.7369 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.709e-05/0.2074, allocations: 13 kB / 0.7369 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.2074, allocations: 43.56 kB / 0.7369 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=97): time 2.895e-06/0.2074, allocations: 0 / 0.7369 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=97): time 0.02715/0.2345, allocations: 6.494 MB / 0.7432 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.2346, allocations: 68.41 kB / 0.7433 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.2359, allocations: 0.9126 MB / 0.7442 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.2361, allocations: 41.7 kB / 0.7442 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004383/0.2365, allocations: 0.4975 MB / 0.7447 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003867/0.2369, allocations: 364.9 kB / 0.7451 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004102/0.2373, allocations: 198.9 kB / 0.7453 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.2375, allocations: 357.9 kB / 0.7456 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.2393, allocations: 0.717 MB / 0.7463 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.2412, allocations: 0.8501 MB / 0.7471 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02058/0.2618, allocations: 4.947 MB / 0.752 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.2618, allocations: 4 kB / 0.752 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01486/0.2766, allocations: 4.25 MB / 0.7561 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.2767, allocations: 7.938 kB / 0.7561 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.2767, allocations: 4 kB / 0.7561 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006522/0.2832, allocations: 1.8 MB / 0.7579 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.2843, allocations: 211.7 kB / 0.7581 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02321/0.3075, allocations: 9.019 MB / 0.7669 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.309, allocations: 183.2 kB / 0.7671 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.3091, allocations: 39.98 kB / 0.7671 GB, free: 14.05 MB / 0.545 GB 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.0005084/0.3096, allocations: 252.4 kB / 0.7674 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.3099, allocations: 123.2 kB / 0.7675 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/0.3239, allocations: 3.983 MB / 0.7714 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.3239, allocations: 12 kB / 0.7714 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3239, allocations: 3.938 kB / 0.7714 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/0.324, allocations: 3.984 kB / 0.7714 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/0.3399, allocations: 4.969 MB / 0.7762 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.3399, allocations: 3.938 kB / 0.7762 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007658/0.3407, allocations: 135.8 kB / 0.7764 GB, free: 4.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006339/0.347, allocations: 1.745 MB / 0.7781 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000169/0.3472, allocations: 19.94 kB / 0.7781 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01991/0.3671, allocations: 7.771 MB / 0.7857 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3671, allocations: 7.938 kB / 0.7857 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/0.3833, allocations: 4.937 MB / 0.7905 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00039/0.3837, allocations: 138.9 kB / 0.7906 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002528/0.3839, allocations: 20 kB / 0.7907 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.3851, allocations: 115.8 kB / 0.7908 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007525/0.3859, allocations: 224.6 kB / 0.791 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.663e-05/0.386, allocations: 27.98 kB / 0.791 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000969/0.3869, allocations: 0.6012 MB / 0.7916 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.3869, allocations: 0 / 0.7916 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001513/0.3884, allocations: 447.7 kB / 0.792 GB, free: 4.309 MB / 0.5606 GB 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.01742/0.4059, allocations: 5.515 MB / 0.7974 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008346/0.4142, allocations: 2.386 MB / 0.7997 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.4142, allocations: 0 / 0.7997 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005328/0.4195, allocations: 1.53 MB / 0.8012 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.4206, allocations: 85.97 kB / 0.8013 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3533/0.7739, allocations: 15.34 MB / 0.8163 GB, free: 93.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.775, allocations: 0.5094 MB / 0.8168 GB, free: 93.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007113/0.7757, allocations: 90.64 kB / 0.8169 GB, free: 93.51 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009189/0.7766, allocations: 452 kB / 0.8173 GB, free: 93.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.743e-06/0.7766, allocations: 0 / 0.8173 GB, free: 93.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08704/0.8636, allocations: 35.99 MB / 0.8525 GB, free: 72.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.95, allocations: 9.781 kB / 0.8525 GB, free: 72.01 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.667097518686205] Failed to read output from testmodel.py, exit status != 0: 15.090839062817395 15.108495422 14.929239033 Calling exit ...